Hi all,

 

I'm trying to build RAServer on ppc32 bit.

 

The trouble starts at linkage:

 

g++ -g -L./packaging/lib -lpthread -ldl -lcrypt -L ../cbe/packaging
-lcbe -lhcclco -lhcclserc -lhcclsert -lhccls -lhcclsm
./framework/RAServer/launcher.o ./framework/RAServer/security.o
./framework/RAServer/RAServer.o ./framework/RAServer/RACommS.o
./framework/RAServer/processManager.o ./framework/RAServer/messagePump.o
./framework/RAServer/util.o -o packaging/bin/RAServer    \

 

./packaging/lib/libhcclsm.so: undefined reference to
`__xchg_called_with_bad_pointer()'

./packaging/lib/libhcclsm.so: undefined reference to `_sysctl'

./packaging/lib/libhcclserc.so: undefined reference to
`_sysctl(__sysctl_args*)'

collect2: ld returned 1 exit status

make[1]: *** [RAServer] Error 1

make[1]: Leaving directory `/home/evgueni/tptp/work/build_1/collection'

make: *** [all] Error 2

 

For xchg I found:

/*

 * This function doesn't exist, so you'll get a linker error

 * if something tries to do an invalid xchg().

 */

extern void __xchg_called_with_bad_pointer(void);

 

SO how the linkage succeeds for it?

 

Another puzzle is _sysctl related.

My flags:

LINKFLAGS = -L$(SRC_IDIR)/packaging/lib -lpthread -ldl

EXELINKFLAGS = $(LINKFLAGS) -lcrypt

 

Basically the question is - how to hook-up right library for _sysctl?

 

My system is linux fedora7 on ppc.

 

Many thanks in advance,

Evgueni

 

 

 

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to