Forum: CFEngine Help
Subject: tokyocabinet-1.4.47 compiler error on AIX5.3
Author: cfengine2o12
Link to topic: https://cfengine.com/forum/read.php?3,27074,27074#msg-27074

$ oslevel -s
5300-12-05-1140

$ ./configure --prefix=/opt/cfengine --disable-zlib --enable-bzip 
--disable-shared --enable-static

#================================================================
# Configuring Tokyo Cabinet version 1.4.47 (static) (no-zlib) (no-shared).
#================================================================
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
;
;
;
#================================================================
# Ready to make.
#================================================================

$make
:
:
:
 gcc -c -I. -I/opt/cfengine/include -I/home/p8bw/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYNOZLIB -D_MYBIGEND  
-D_TC_PREFIX="\"/opt/cfengine\"" -D_TC_INCLUDEDIR="\"/opt/cfengine/include\""  
-D_TC_LIBDIR="\"/opt/cfengine/lib\"" -D_TC_BINDIR="\"/opt/cfengine/bin\"" 
-D_TC_LIBEXECDIR="\"/opt/cfengine/libexec\""  
-D_TC_APPINC="\"-I/opt/cfengine/include\"" -D_TC_APPLIBS="\"-L/opt/cfengine/lib 
-ltokyocabinet -lbz2 -lrt -lpthread -lm -lc \"" -g -O2 -std=c99 -Wall -fPIC 
-fsigned-char -O2 tcutest.c
        
LD_RUN_PATH=/lib:/usr/lib:/opt/cfengine/lib:/home/p8bw/lib:/usr/local/lib:/opt/cfengine/lib:.
 gcc -g -O2 -std=c99 -Wall -fPIC -fsigned-char -O2 -o tcutest  -L. 
-L/opt/cfengine/lib -L/home/p8bw/lib -L/usr/local/lib -static -ltokyocabinet 
-lbz2 -lrt -lpthread -lm -lc
ld: 0711-224 WARNING: Duplicate symbol: .sigwaitinfo
ld: 0711-224 WARNING: Duplicate symbol: .sigtimedwait
ld: 0711-224 WARNING: Duplicate symbol: .sigwait
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: encrypted_pw_passlen
ld: 0711-317 ERROR: Undefined symbol: max_history_size
ld: 0711-317 ERROR: Undefined symbol: crypt_r
ld: 0711-317 ERROR: Undefined symbol: getpass_auto
ld: 0711-317 ERROR: Undefined symbol: max_pw_passlen
ld: 0711-317 ERROR: Undefined symbol: .main
collect2: ld returned 8 exit status
make: 1254-004 The error code from the last command is 1.


Stop.
---------------------------------------------

anybody compiled tokyocabinet on AIX5.3? It is needed prior to compile cfengine 
binaries.

I used the few forums from here however didnt help much..

Thanks!

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to