Hi,

I'm trying to get zeroc-ice compiled on HPPA but I don't have access
to a HPPA machine.

Version 3.3.0-7 failed. I got the libc6 package for hppa and it seems
that it still uses LinuxThreads:

http://buildd.debian.org/fetch.cgi?pkg=zeroc-ice;ver=3.3.0-7;arch=hppa;stamp=1219514779

Version 3.3.0-8 removed all calls related to pthread monotonic clocks
and got further:

http://buildd.debian.org/fetch.cgi?pkg=zeroc-ice;ver=3.3.0-8;arch=hppa;stamp=1219692046

Now it seems that some code generators (namely slice2cpp) were wrongly
generated.  Although they seem to be built without any error they fail
to generate files:

...
> make[3]: Entering directory `/build/buildd/zeroc-ice-3.3.0/cpp/src/slice2cpp'
> c++ -c -I. -I../../include  -ftemplate-depth-128 -Wall -D_REENTRANT 
> -I/usr/include/nptl -D_REENTRANT -DHAVE_ENDIAN_H -DHAVE_LIMITS_H -fPIC -g  
> Gen.cpp
> c++ -c -I. -I../../include  -ftemplate-depth-128 -Wall -D_REENTRANT 
> -I/usr/include/nptl -D_REENTRANT -DHAVE_ENDIAN_H -DHAVE_LIMITS_H -fPIC -g  
> Main.cpp
> rm -f ../../bin/slice2cpp
> c++ -g  -ftemplate-depth-128 -Wall -D_REENTRANT -I/usr/include/nptl 
> -D_REENTRANT -DHAVE_ENDIAN_H -DHAVE_LIMITS_H -fPIC -g  -L../../lib  -o 
> ../../bin/slice2cpp Gen.o Main.o -lSlice -lIceUtil -L/usr/lib/nptl -lpthread 

...
> rm -f ../../include/Ice/LocalException.h LocalException.cpp
> ../../bin/slice2cpp --ice --include-dir Ice --dll-export ICE_API 
> -I../../../slice ../../../slice/Ice/LocalException.ice
> mv LocalException.h ../../include/Ice

>From this point we should have LocalException.cpp in cpp/src/Ice and 
LocalException.h in cpp/include/Ice. LD_LIBRARY_PATH should be set
by the Makefile to .../cpp/lib.  The slice2cpp command does not fail, 
but it doesn't work either.

Please, would you be so kind to tell me:

- The contents of the LocalException.h file generated? 
- The result of LD_LIBRARY_PATH=cpp/lib ldd ./cpp/bin/slice2cpp
- The result of LD_LIBRARY_PATH=cpp/lib ./cpp/bin/slice2cpp --help

Any hint on what may be wrong would also be greatly appreciated.

I've seen in the build logs of db that PIC code is compiled with
-fPIC -DPIC. Is really necessary to define PIC?

Regards,
F. Moya <[EMAIL PROTECTED]>

Reply via email to