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

(usagi-users 02011) Re: compile error in userland applications!



edit Makefile

*#*kbuild_2_4_nostdinc := -nostdinc $(shell $(CC) -print-search-dirs | sed -ne's/install: \(.*\)/-I \1include/gp')
*#*export kbuild_2_4_nostdinc


ok .. again make dep;make clean ; make bzImage;..etc


hxjanardhan wrote:

dear sir,
we are using Redhat 8.0 with snapshot 20021111 and we are getting the following errors when we do a 'make' in the userland applications.


[root@ipv6router usagi]# make
for subdir in libinet6 libnetlink libnet-tools; do              \
       make -C $subdir;                \
done
make[1]: Entering directory `/usr/src/usagi/usagi/libinet6'
make -C include_glibc23 includes
make: Entering an unknown directory
make: *** include_glibc23: No such file or directory.  Stop.
make: Leaving an unknown directory
make[1]: *** [include_glibc23_includes] Error 2

make[1]: Entering directory `/usr/src/usagi/usagi/comsat'
gcc -I../libinet6/include -g -O2 -D_USAGI -DINET6     -c -o comsat.o comsat.c
gcc  comsat.o -L../libinet6 -linet6  -o comsat
/usr/bin/ld: cannot find -linet6
collect2: ld returned 1 exit status
make[1]: *** [comsat] Error 1

gcc finger.o lprint.o net.o sprint.o util.o display.o -L../libinet6 -linet6 -o
finger
/usr/bin/ld: cannot find -linet6
collect2: ld returned 1 exit status
make[1]: *** [finger] Error 1


gcc cmds.o cmdtab.o domacro.o ftp.o glob.o main.o ruserpass.o -L../libinet6 -li
net6 -lreadline -ltermcap -o ftp
/usr/bin/ld: cannot find -linet6
collect2: ld returned 1 exit status
make[1]: *** [ftp] Error 1


gcc inetd.o servtab.o builtins.o sig.o setproctitle.o doalloc.o mysleep.o -L../
libinet6 -linet6 -o inetd
/usr/bin/ld: cannot find -linet6
collect2: ld returned 1 exit status
make[1]: *** [inetd] Error 1


gcc iptunnel.o ../libnet-tools/libnet-tools.a -L../libinet6 -linet6 -o iptun
nel
/usr/bin/ld: cannot find -linet6
collect2: ld returned 1 exit status
make[1]: *** [iptunnel] Error 1


make[1]: Entering directory `/usr/src/usagi/usagi/writed'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/usr/src/usagi/usagi/writed'
make: *** [apps] Error 2

Since we are newbies, we would appreciate a step-by-step solution.
thanking you in anticipation
yours truly
Hemachander