1833777 Members
2153 Online
110063 Solutions
New Discussion

Compiler problem

 
Terry Washington_1
Frequent Advisor

Compiler problem

I am attempting to help a developer that is having a problem using the C compiler (via NFS) on a remote system. The local system is a C360 and the remote system containing the compiler is a C160. Both systems are running HP-UX 11.00.She is trying to compile an hli program. There is an output file produced, but it is not executable. If she makes it executable, it works correctly. She says that she is able to do this from a different remote system (a B1000 running HP-UX 11i). The error message that she is getting is below. Does anyone have any ideas?
% cc -c -Ae -DSYS=HPUX -D_XOPEN_SOURCE -D_CLASSIC_ANSI_TYPES -D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 +DAportable -I/vobs/devp/c/inc /vobs/devp/reg/misc/chost.c
% cc -o chost chost.o -D_CLASSIC_ANSI_TYPES +DAportable -I/vobs/devp/c/inc -lm -lc -Wl,-a,archive -L /vobs/devp/c/bld/hpux/desl/opt/exec -lchli
/usr/ccs/bin/ld: Unsatisfied symbols:
__sendpath64 (first referenced in /vobs/devp/c/bld/hpux/desl/opt/exec/libchli.a(libhli.o)) (code)
3 REPLIES 3
Eugeny Brychkov
Honored Contributor

Re: Compiler problem

Just a guess... does this C160 system has 32bit OS and compiler installed and all your others you have tried have 64bit ones?
Eugeny
Judy Traynor
Valued Contributor

Re: Compiler problem

check the LD_LIBRARY_PATH variable in her environment and verify that this is set the same on all machines.
Sail With the Wind
Terry Washington_1
Frequent Advisor

Re: Compiler problem

The developers believe that they built a library on 11i are trying to use it on 11 and the sendpath64 does not exist on 11. Thanks for the input.