Problems with compiling DROPS packages

Rene Wittmann Wittmaennle at gmx.de
Thu Feb 17 15:29:15 CET 2005


> > 
> > So, now if you do "gcc -c exc_img.i" it works and produces an exc_img.o
> > file, or does it fail?
> 
> Unfortunatelly it fails. But to be honest, I don't understand as the file
> it
> fails in seems to be OK...
> I put the output file also to the site:
> http://wwwcip.informatik.uni-erlangen.de/~sirewitt/compile_exc_img.o
> 
> 
> > Your exc_img.i file compiles fine for me.
> > 

Now I installed an older gcc version (2.95.2), the newer one (3.3 20030226)
fails here. (btw: on my other system gcc ver. 3.3.5 works)
So now I come further, but I'm still not finished.

Another make failed here:
LD_PRELOAD=/home/sirewitt/src/drops/l4/tool/gendep/libgendep.so
GENDEP_TARGET=time.o GENDEP_BINARY=cpp  /usr/local/bin/g++-2.95 -c 
-DLOG_TAG=\"nethub\"    -DWITHOUT_CRYPTO -DRAM_BASE=0x0    -DSYSTEM_x86_
686_l4v2 -DARCH_x86 -DCPUTYPE_686 -DL4API_l4v2 -I..
-I../../../base_lib/idl/OBJ-x86-l4v2 -I../../../../../include/x86/l4v2
-I/home/sirewitt/src/drops/drops//include/x86/l4v2
-I../../../../../include/l4v2 
-I/home/sirewitt/src/drops/drops//include/l4v2 -I../../../../../include/x86
-I/home/sirewitt/src/drops/drops//include/x86 -I../../../../../include
-I/home/sirewitt/src/drops/drops//include -nostdinc -I../
../../../../../oskit -I../../../../../../oskit/flux/c
-I/home/sirewitt/src/drops/drops//include/oskit06
-I/home/sirewitt/src/drops/drops//include/oskit06/flux/c
-I/usr/local//lib/gcc-lib/i686-pc-linux-gnu
/2.95.2.1/include -fno-rtti -fno-exceptions -Wall -gstabs+     -g -O2
-fno-strict-aliasing  -march=i686 -Wall
/home/sirewitt/src/drops/l4/pkg/nethub/server/src/time.cc -o time.o
  ... Compiling nh-server.o
LD_PRELOAD=/home/sirewitt/src/drops/l4/tool/gendep/libgendep.so
GENDEP_TARGET=nh-server.o GENDEP_BINARY=cpp  /usr/local/bin/gcc-2.95 -c 
-DLOG_TAG=\"nethub\"    -DWITHOUT_CRYPTO -DRAM_BASE=0x0    -DSYSTEM
_x86_686_l4v2 -DARCH_x86 -DCPUTYPE_686 -DL4API_l4v2 -I..
-I../../../base_lib/idl/OBJ-x86-l4v2 -I../../../../../include/x86/l4v2
-I/home/sirewitt/src/drops/drops//include/x86/l4v2 -I../../../../../include/
l4v2 -I/home/sirewitt/src/drops/drops//include/l4v2
-I../../../../../include/x86 -I/home/sirewitt/src/drops/drops//include/x86
-I../../../../../include -I/home/sirewitt/src/drops/drops//include -nostdinc

-I../../../../../../oskit -I../../../../../../oskit/flux/c
-I/home/sirewitt/src/drops/drops//include/oskit06
-I/home/sirewitt/src/drops/drops//include/oskit06/flux/c
-I/usr/local//lib/gcc-lib/i686-pc-linu
x-gnu/2.95.2.1/include -gstabs+     -g -O2 -fno-strict-aliasing  -march=i686
-Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
/home/sirewitt/src/drops/l4/pkg/nethub/base_lib/idl/OBJ-
x86-l4v2/nh-server.c -o nh-server.o
  ==> Linking nethub
LD_PRELOAD=/home/sirewitt/src/drops/l4/tool/gendep/libgendep.so
GENDEP_TARGET=nethub GENDEP_BINARY=ld  /usr/local/bin/gcc-2.95 -o nethub
../../../../../lib/x86_686/crt0.o main.o ip_forward.o ip.o ip_sec.o
 pager.o region.o sadb.o sadb_cfg.o routing.o routing_fab.o interface.o
ip_sec_fwd.o ike_connector.o time.o nh-server.o ../crypto/libdes.a
-Ttext=0x01000000  -L../../../../../lib/x86_686/l4v2
-L/home/sirewitt/src/drops/drops//lib/x86_686/l4v2
-L../../../../../lib/x86_686 -L/home/sirewitt/src/drops/drops//lib/x86_686
-L../../../../../lib -L/home/sirewitt/src/drops/drops//lib
-L../../../../../../oskit/lib -L/home/sirewitt/src/drops/drops//lib/oskit06
-T../../../../../lib/x86_686/main_stat.ld  -lcxx_start -lcxx_thread -lcxx_io
-lcxx_base -lcxx_util -lcxx_log_io -ll4sys -llogserver -lnames -lrmgr
-ll4util -nostdlib -lmc -loskit_support
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2.1/libgcc.a -Ttext=0x01000000
-Wl,-gc-sections
gcc-2.95: ../crypto/libdes.a: No such file or directory
make[5]: *** [nethub] Error 1
make[5]: Leaving directory
`/home/sirewitt/src/drops/l4/pkg/nethub/server/src/OBJ-x86_686-l4v2'
make[4]: *** [OBJ-x86_686-l4v2] Error 2
make[4]: Leaving directory
`/home/sirewitt/src/drops/l4/pkg/nethub/server/src'
make[3]: *** [src] Error 2
make[3]: Leaving directory `/home/sirewitt/src/drops/l4/pkg/nethub/server'
make[2]: *** [server] Error 2
make[2]: Leaving directory `/home/sirewitt/src/drops/l4/pkg/nethub'
make[1]: *** [nethub.bin] Error 2
make[1]: Leaving directory `/home/sirewitt/src/drops/l4/pkg'
make: *** [pkg] Error 2

So I installed the packages that provide libdes.a and copied the file to the
desired directory (maybe that's no good idea to do so, but it works).
Another little step in the right direction...

So another make:

  ==> Linking nethub
LD_PRELOAD=/home/sirewitt/src/drops/l4/tool/gendep/libgendep.so
GENDEP_TARGET=nethub GENDEP_BINARY=ld  /usr/local/bin/gcc-2.95 -o nethub
../../../../../lib/x86_686/crt0.o main.o ip_forward.o ip.o ip_sec.o pager.o
region.o sadb.o sadb_cfg.o routing.o routing_fab.o interface.o ip_sec_fwd.o
ike_connector.o time.o nh-server.o ../crypto/libdes.a -Ttext=0x01000000 
-L../../../../../lib/x86_686/l4v2
-L/home/sirewitt/src/drops/drops//lib/x86_686/l4v2
-L../../../../../lib/x86_686 -L/home/sirewitt/src/drops/drops//lib/x86_686
-L../../../../../lib -L/home/sirewitt/src/drops/drops//lib
-L../../../../../../oskit/lib -L/home/sirewitt/src/drops/drops//lib/oskit06
-T../../../../../lib/x86_686/main_stat.ld  -lcxx_start -lcxx_thread -lcxx_io
-lcxx_base -lcxx_util -lcxx_log_io -ll4sys -llogserver -lnames -lrmgr
-ll4util -nostdlib -lmc -loskit_support
/usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.2.1/libgcc.a -Ttext=0x01000000
-Wl,-gc-sections
/usr/bin/ld: cannot find -lcxx_log_io
collect2: ld returned 1 exit status
make[5]: *** [nethub] Error 1
make[5]: Leaving directory
`/home/sirewitt/src/drops/l4/pkg/nethub/server/src/OBJ-x86_686-l4v2'
make[4]: *** [OBJ-x86_686-l4v2] Error 2
make[4]: Leaving directory
`/home/sirewitt/src/drops/l4/pkg/nethub/server/src'
make[3]: *** [src] Error 2
make[3]: Leaving directory `/home/sirewitt/src/drops/l4/pkg/nethub/server'
make[2]: *** [server] Error 2
make[2]: Leaving directory `/home/sirewitt/src/drops/l4/pkg/nethub'
make[1]: *** [nethub.bin] Error 2
make[1]: Leaving directory `/home/sirewitt/src/drops/l4/pkg'
make: *** [pkg] Error 2

Any idea, what to do about that error??
(there is really no file *cxx_log*)

Rene

-- 
Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS
GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail




More information about the l4-hackers mailing list