Hello all,
Ok, I've pointed to my Linux 2.4 source tree ( tried both 2.4.27 and 2.4.28) and I have tried gcc 3.3 and 3.4 And each time I am getting the error below....
Any suggestions??
David
=====================================
... Compiling flips-server.o LD_PRELOAD=/RESEARCH/l4test/l4/tool/gendep/libgendep.so GENDEP_TARGET=flips-server.o GENDEP_BINARY=cc1 gcc -c -D__KERNEL__ -DDDE_LINUX -DRAM_BASE=0x0 -DUSE_UCLIBC=y -DSYSTEM_x86_586_l4v2 -DARCH_x86 -DCPUTYPE_586 -DL4API_l4v2 -DCONFIG_L4_CALL_SYSCALLS -DCONFIG_L4_ABS_SYSCALLS -I../../../server/lib-linux/include -I../../../server/lib-lxdrv/include -I../../../server/include -I../../../../../include/x86/l4/dde_linux -I/RESEARCH/drops1/include/x86/l4/dde_linux -I/usr/src/linux-2.4/include -I../../../idl/OBJ-x86-l4v2 -I../../../../../include/x86/l4v2 -I/RESEARCH/drops1/include/x86/l4v2 -I../../../../../include/l4v2 -I/RESEARCH/drops1/include/l4v2 -I../../../../../include/x86 -I/RESEARCH/drops1/include/x86 -I../../../../../include -I/RESEARCH/drops1/include -nostdinc -I../../../../../include/x86/uclibc -I../../../../../include/uclibc -I../../../../../include/uclibc++ -I/RESEARCH/drops1/include/x86/uclibc -I/RESEARCH/drops1/include/uclibc -I/RESEARCH/drops1/include/uclibc++ -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -gstabs+ -g -O2 -fno-strict-aliasing -march=i586 -Wall -Wstrict-prototypes -fno-common /RESEARCH/l4test/l4/pkg/flips/idl/OBJ-x86-l4v2/flips-server.c -o flips-server.o ==> Linking flips LD_PRELOAD=/RESEARCH/l4test/l4/tool/gendep/libgendep.so GENDEP_TARGET=flips GENDEP_BINARY=ld gcc -o flips ../../../../../lib/x86_586/crt0.o server.o main.o notify.o flips-server.o -Ttext=0x01900000 -L../../../server/lib-linux/src/OBJ-x86_586-l4v2 -L../../../server/lib-ore/src/OBJ-x86_586-l4v2 -L../../../server/lib-lxdrv/src/OBJ-x86_586-l4v2 -L../../../../../lib/x86_586/l4v2 -L/RESEARCH/drops1/lib/x86_586/l4v2 -L../../../../../lib/x86_586 -L/RESEARCH/drops1/lib/x86_586 -L../../../../../lib -L/RESEARCH/drops1/lib -T../../../../../lib/x86_586/main_stat.ld -lsocket_linux.o -llinux.o -ldde_linux -lio -lomega0 -llist_alloc -ll4vfs_network_server-server -ll4vfs_select -ll4vfs_select_notify-server -lflips_l4vfs_server -static -lgeneric_ts -ll4env -ll4rm -ldm_generic -ldm_mem -lthread -lsemaphore -llogserver_capsule -lnames -ll4util_root -ll4util -lsigma0 -lroot.o -ll4env -ll4env_err -ll4rm -ldm_generic -ldm_mem -lthread -lslab -ll4sys -nostdlib -Wl,--nostdlib -luc_c -luclibc_support -u mmap_anon -lc_be_simple_mem -lc_be_mmap -lc_be_mmap_util -lc_be_l4env_start_stop -lc_be_minimal_log_io -luc_be_simple_sleep -ll4env -llogserver_capsule -ll4rm -ldm_generic -ldm_mem -lthread -lgeneric_ts -luc_c /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/libgcc.a -luc_c -ll4sys -Ttext=0x01900000 -Wl,-gc-sections -Wl,--warn-common ../../../server/lib-linux/src/OBJ-x86_586-l4v2/liblinux.o.a: In function `net_device_init':/usr/src/linux-2.4/drivers/net/setup.c:167: undefined reference to `netlink_proto_init' collect2: ld returned 1 exit status make[3]: *** [flips] Error 1 make[3]: Leaving directory `/RESEARCH/l4test/l4/pkg/flips/server/src/OBJ-x86_586-l4v2' make[2]: *** [OBJ-x86_586-l4v2] Error 2 make[2]: Leaving directory `/RESEARCH/l4test/l4/pkg/flips/server/src' make[1]: *** [src] Error 2 make[1]: Leaving directory `/RESEARCH/l4test/l4/pkg/flips/server' make: *** [server] Error 2
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hi,
On 6/8/06, David Silcott lava_patch@yahoo.com wrote:
Hello all,
Ok, I've pointed to my Linux 2.4 source tree ( tried both 2.4.27 and 2.4.28) and I have tried gcc 3.3 and 3.4 And each time I am getting the error below....
Any suggestions??
Maybe you should try a newer version, e.g. 2.4.31 (I guess it is the version of dde_linux?).
In 2.4.28 "netlink_proto_init" is declared as a static function...
Regards,
Wei
Hello Wei
Thanks alot, I'm now going past that point but now I am getting an error which I have seen before and thought that I had resolved.
It's now complaing when linking mini_http ( I can't remember which package generated this error before, but it's definitely the same error message)
Is there a particular package/module I should have checked out???
David
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
==> Linking mini_http LD_PRELOAD=/RESEARCH/l4test/l4/tool/gendep/libgendep.so GENDEP_TARGET=mini_http GENDEP_BINARY=ld gcc -o mini_http ../../../../../../lib/x86_586/crt0.o main.o -Tt ib/x86_586/l4v2 -L/RESEARCH/drops1/lib/x86_586/l4v2 -L../../../../../../lib/x86_586 -L/RESEARCH/drops1/lib/x86_586 -L../../../../../../lib -L/RESEARCH/drops1/lib _stat.ld -lc_be_socket_io -ll4vfs_net_io -lc_be_select -ll4vfs_select -ll4vfs_select_listener-server -static -ll4rm -ldm_mem -ldm_generic -lthread -lsemaphore -l capsule -ll4rm -lthread -ldm_generic -lnames -ll4util_root -ll4util -lsigma0 -lroot.o -ll4sys -nostdlib -Wl,--nostdlib -u printf -lc_be_io.o -u mmap_anon -lc_be_s dm_mem -ldm_generic -lthread -lsemaphore -ll4env -ll4env_err -lslab -llogserver_capsule -ll4rm -lthread -ldm_generic -lnames -ll4util_root -ll4util -lsigma0 -luc_ .6/libgcc.a -luc_c -u mmap_anon -lc_be_simple_mem -ll4rm -ldm_mem -ldm_generic -lc_be_time -lc_be_mmap -lc_be_mmap_util -lc_be_l4env_start_stop -lgeneric_ts -lc_b mple_sleep -ll4vfs_common_io -ll4vfs_basic_io -ll4vfs_connection -ll4vfs_basic_name_server -ll4vfs_name_server -ll4vfs_name_space_provider -ll4vfs_extendable -ll4 s -Wl,--warn-common /usr/bin/ld: cannot find -lc_be_time collect2: ld returned 1 exit status make[6]: *** [mini_http] Error 1 make[6]: Leaving directory `/RESEARCH/l4test/l4/pkg/flips/examples/mini_http/l4/OBJ-x86_586-l4v2' make[5]: *** [OBJ-x86_586-l4v2] Error 2 make[5]: Leaving directory `/RESEARCH/l4test/l4/pkg/flips/examples/mini_http/l4' make[4]: *** [l4] Error 2 make[4]: Leaving directory `/RESEARCH/l4test/l4/pkg/flips/examples/mini_http' make[3]: *** [mini_http] Error 2 make[3]: Leaving directory `/RESEARCH/l4test/l4/pkg/flips/examples' make[2]: *** [examples] Error 2 make[2]: Leaving directory `/RESEARCH/l4test/l4/pkg/flips' make[1]: *** [flips.bin] Error 2 make[1]: Leaving directory `/RESEARCH/l4test/l4/pkg' make: *** [pkg] Error 2
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hello,
It's now complaing when linking mini_http ( I can't remember which package generated this error before, but it's definitely the same error message)
Is there a particular package/module I should have checked out???
Yes. You need l4/pkg/rtc which provides libc_be_time.
Bjoern
Thanks Bjoern,
However, here I am again. This time I am getting the following message when the the make command attempts to install l4dope. I have already checked out the dope module.
.... help :(
thanks David
====================================================
... Generating simpleterm.dpi LD_PRELOAD=/RESEARCH/l4test/l4/tool/gendep/libgendep.so GENDEP_TARGET=simpleterm.dpi GENDEP_BINARY=perl ../../../../../../tool/gen_dopecode/gen_dopecode ../../../../examples/dopecmd/common/simpleterm.dpe
simpleterm.dpi
/bin/bash: ../../../../../../tool/gen_dopecode/gen_dopecode: No such file or directory make[6]: *** [simpleterm.dpi] Error 127 make[6]: Leaving directory `/RESEARCH/l4test/l4/pkg/dope/examples/dopecmd/l4/OBJ-x86_586-l4v2' make[5]: *** [OBJ-x86_586-l4v2] Error 2 make[5]: Leaving directory `/RESEARCH/l4test/l4/pkg/dope/examples/dopecmd/l4' make[4]: *** [l4] Error 2 make[4]: Leaving directory `/RESEARCH/l4test/l4/pkg/dope/examples/dopecmd' make[3]: *** [dopecmd] Error 2 make[3]: Leaving directory `/RESEARCH/l4test/l4/pkg/dope/examples' make[2]: *** [examples] Error 2 make[2]: Leaving directory `/RESEARCH/l4test/l4/pkg/dope' make[1]: *** [dope.bin] Error 2 make[1]: Leaving directory `/RESEARCH/l4test/l4/pkg' make: *** [pkg] Error 2
-
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Hi David,
However, here I am again. This time I am getting the following message when the the make command attempts to install l4dope. I have already checked out the dope module.
.... help :(
...
/bin/bash: ../../../../../../tool/gen_dopecode/gen_dopecode: No such file or directory
As indicated by this error message, l4/tool/gen_dopecode is missing. This tool is used by some DOpE clients to convert DOpE ascii commands into C code. You may simply checkout the corresponding directory.
cd l4/tool cvs up -d gen_dopecode
Then, try to continue your build by issuing 'make cont' in the l4/pkg directory.
Regards Norman
Finally!!!
Thanks a million to all for your patience and help. I've finally managed to build the environment.
Now I can attempt to port the server.
David
--- Norman Feske nf2@inf.tu-dresden.de wrote:
Hi David,
As indicated by this error message, l4/tool/gen_dopecode is missing. This tool is used by some DOpE clients to convert DOpE ascii commands into C code. You may simply checkout the corresponding directory.
cd l4/tool cvs up -d gen_dopecode
Then, try to continue your build by issuing 'make cont' in the l4/pkg directory.
Regards Norman
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
l4-hackers@os.inf.tu-dresden.de