DragonFly BSD
DragonFly bugs List (threaded) for 2004-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Buildworld problems


From: Robert Garrett <rg70@xxxxxxxxxxxxx>
Date: Fri, 06 Feb 2004 12:10:58 -0600

germain@xxxxxxxxxx wrote:

> Hi,
> 
> I'm trying to install DragonFlyBSD from a FreeBSD 4.8 system.  I cvsup'ed
> the sources checked them out. into /usr/src
> I then rm -rf /usr/include && mkdir/usr/include
>        cd /usr/src && make install includes
> 
> then did a make buildworld
> 
> it failed here:
> 
> ===> usr.sbin/crunch/crunchide
> /usr/obj/usr/src/i386/usr/src/usr.sbin/crunch/crunchide created
> for /usr/src/usr.sbin/crunch/crunchide
> rm -f .depend
> mkdep -f .depend -a    -
> Darch_i386  /usr/src/usr.sbin/crunch/crunchide/crunchide.c
> /usr/src/usr.sbin/cr unch/crunchide/exec_elf32.c
> /usr/src/usr.sbin/crunch/crunchide/exec_elf64.c /us
> r/src/usr.sbin/crunch/crunchide/exec_aout.c
> echo crunchide: /usr/lib/libc.a  >> .depend
> cc -O -pipe  -Darch_i386    -c
> /usr/src/usr.sbin/crunch/crunchide/crunchide.c
> cc -O -pipe  -Darch_i386    -c
> /usr/src/usr.sbin/crunch/crunchide/exec_elf32.c
> cc -O -pipe  -Darch_i386    -c
> /usr/src/usr.sbin/crunch/crunchide/exec_elf64.c
> cc -O -pipe  -Darch_i386    -c
> /usr/src/usr.sbin/crunch/crunchide/exec_aout.c
> cc -O -pipe  -Darch_i386     -static -o crunchide crunchide.o exec_elf32.o
> exec_elf64.o exec_aout.o
> exec_aout.o: In function `hide_aout':
> exec_aout.o(.text+0x192): undefined reference to `N_TRELOFF'
> exec_aout.o(.text+0x1b8): undefined reference to `N_DRELOFF'
> *** Error code 1
> 
> Stop in /usr/src/usr.sbin/crunch/crunchide.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 
> 
> it looks like its not going into the #ifdef __DragonFly__ and going into
> the
> #else instead for some reason
> 
> Thanks!
> Edward Germain
it is .. in the file with the ifdef __DragonFly__
add


#ifndef __DragonFly__
#define __DragonFly__
#endif


somewhere at the top.. in a relatively nice manner,
and let me know what happens..


Robert Garrett




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]