You can try adding -fno-strict-aliasing to your CFLAGS.

----- Original Message -----
From: no-re...@cfengine.com
To: help-cfengine@cfengine.org
At:  5/01  7:18:43

Forum: CFEngine Help
Subject: Compile tokyocabinet AIX 7.1
Author: jonesy1234
Link to topic: https://cfengine.com/forum/read.php?3,25772,25772#msg-25772

I'm having issue compling tokyocabinet on AIX. Please could someone take a look 
at the following output and maybe point me in the right direction? I've tried 
to do a dynamic and static build.


root@:/home/jonesst/tokyo/tokyocabinet-1.4.47 # oslevel -s
7100-01-03-1207
root@:/home/jonesst/tokyo/tokyocabinet-1.4.47 # rpm -qa | grep cc
libgcc-4.6.3-2
gcc-4.6.3-2
gcc-cpp-4.6.3-2
root@:/home/jonesst/tokyo/tokyocabinet-1.4.47 # which gcc
/usr/bin/gcc
root@htu412:/home/jonesst/tokyo/tokyocabinet-1.4.47 # ./configure
#================================================================
# Configuring Tokyo Cabinet version 1.4.47.
#================================================================
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
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... yes
checking for main in -lc... yes
checking for main in -lm... yes
checking for main in -lpthread... yes
checking for main in -lrt... yes
checking for main in -lz... yes
checking for main in -lbz2... yes
checking for main in -ltokyocabinet... no
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tokyocabinet.pc
#================================================================
# Ready to make.
#================================================================
root@htu412:/home/jonesst/tokyo/tokyocabinet-1.4.47 # make
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tcutil.c
tcutil.c: In function 'tcatof':
tcutil.c:5223:3: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
tcutil.c: At top level:
tcutil.c:9613:1: warning: missing braces around initializer [-Wmissing-braces]
tcutil.c:9613:1: warning: (near initialization for 'tcglobalonce.__on_word') 
[-Wmissing-braces]
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tchdb.c
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tcbdb.c
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tcfdb.c
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tctdb.c
tctdb.c: In function 'tctdbatof':
tctdb.c:4045:3: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tcadb.c
tcadb.c: In function 'tcadbmisc':
tcadb.c:3070:21: warning: variable 'vsiz' set but not used 
[-Wunused-but-set-variable]
tcadb.c:3070:15: warning: variable 'ksiz' set but not used 
[-Wunused-but-set-variable]
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 myconf.c
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 md5.c
        ar -rv libtokyocabinet.a tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o 
tcadb.o myconf.o md5.o
ar: Creating an archive file libtokyocabinet.a.
a - tcutil.o
a - tchdb.o
a - tcbdb.o
a - tcfdb.o
a - tctdb.o
a - tcadb.o
a - myconf.o
a - md5.o
        if uname -a | egrep -i 'SunOS' > /dev/null ;  then  gcc -DSYSV -D_AIX 
-D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 
-D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC 
-fsigned-char -O2 -shared -Wl,-G,-h,libtokyocabinet.so.9 -o 
libtokyocabinet.so.9.10.0  tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o tcadb.o 
myconf.o md5.o -L/opt/freeware/lib 
-Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -L. 
-L/usr/local/lib -L/root/lib -L/usr/local/lib -lbz2 -lz -lrt -lpthread -lm -lc  
;  else  gcc -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 
-D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O 
-I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char -O2 -shared 
-Wl,-soname,libtokyocabinet.so.9 -o libtokyocabinet.so.9.10.0  tcutil.o tchdb.o 
tcbdb.o tcfdb.o tctdb.o tcadb.o myconf.o md5.o -L/opt/freeware/lib 
-Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -L. 
-L/usr/local/
 lib -L/root/lib -L/usr/local/lib -lbz2 -lz -lrt -lpthread -lm -lc  ;  fi
ld: 0706-005 Cannot find or open file: libtokyocabinet.so.9
        ld:open(): A file or directory in the path name does not exist.
collect2: ld returned 255 exit status
make: 1254-004 The error code from the last command is 1.


Stop.




Now a static build


root@htu412:/home/jonesst/tokyo/tokyocabinet-1.4.47 # ./configure 
--disable-shared --enable-static
#================================================================
# Configuring Tokyo Cabinet version 1.4.47 (static) (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
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... yes
checking for main in -lc... yes
checking for main in -lm... yes
checking for main in -lpthread... yes
checking for main in -lrt... yes
checking for main in -lz... yes
checking for main in -lbz2... yes
checking for main in -ltokyocabinet... no
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tokyocabinet.pc
#================================================================
# Ready to make.
#================================================================
root@htu412:/home/jonesst/tokyo/tokyocabinet-1.4.47 # make clean
        rm -rf libtokyocabinet.a tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o 
tcadb.o myconf.o md5.o tcutest tcumttest tcucodec tchtest tchmttest tchmgr 
tcbtest tcbmttest tcbmgr tcftest tcfmttest tcfmgr tcttest tctmttest tctmgr 
tcatest tcamttest tcamgr tcawmgr.cgi  *.o a.out tokyocabinet_all.c check.in 
check.out gmon.out *.vlog words.tsv  casket casket-* casket.* *.tch *.tcb *.tcf 
*.tct *.idx.* *.wal *~ hoge moge tako ika
root@htu412:/home/jonesst/tokyo/tokyocabinet-1.4.47 # make
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tcutil.c
tcutil.c: In function 'tcatof':
tcutil.c:5223:3: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
tcutil.c: At top level:
tcutil.c:9613:1: warning: missing braces around initializer [-Wmissing-braces]
tcutil.c:9613:1: warning: (near initialization for 'tcglobalonce.__on_word') 
[-Wmissing-braces]
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tchdb.c
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tcbdb.c
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tcfdb.c
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tctdb.c
tctdb.c: In function 'tctdbatof':
tctdb.c:4045:3: warning: dereferencing type-punned pointer will break 
strict-aliasing rules [-Wstrict-aliasing]
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tcadb.c
tcadb.c: In function 'tcadbmisc':
tcadb.c:3070:21: warning: variable 'vsiz' set but not used 
[-Wunused-but-set-variable]
tcadb.c:3070:15: warning: variable 'ksiz' set but not used 
[-Wunused-but-set-variable]
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 myconf.c
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 md5.c
        ar -rv libtokyocabinet.a tcutil.o tchdb.o tcbdb.o tcfdb.o tctdb.o 
tcadb.o myconf.o md5.o
ar: Creating an archive file libtokyocabinet.a.
a - tcutil.o
a - tchdb.o
a - tcbdb.o
a - tcfdb.o
a - tctdb.o
a - tcadb.o
a - myconf.o
a - md5.o
        gcc -c -I. -I/usr/local/include -I/root/include -I/usr/local/include 
-DNDEBUG -D_GNU_SOURCE=1 -D_REENTRANT -D__EXTENSIONS__ -D_MYBIGEND  
-D_TC_PREFIX="\"/usr/local\"" -D_TC_INCLUDEDIR="\"/usr/local/include\""  
-D_TC_LIBDIR="\"/usr/local/lib\"" -D_TC_BINDIR="\"/usr/local/bin\"" 
-D_TC_LIBEXECDIR="\"/usr/local/libexec\""  
-D_TC_APPINC="\"-I/usr/local/include\"" -D_TC_APPLIBS="\"-L/usr/local/lib 
-ltokyocabinet -lbz2 -lz -lrt -lpthread -lm -lc \"" -DSYSV -D_AIX -D_AIX32 
-D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 -D_AIX61 -D_AIX71 -D_ALL_SOURCE 
-DFUNCPROTO=15 -O -I/opt/freeware/include -std=c99 -Wall -fPIC -fsigned-char 
-O2 tcutest.c
tcutest.c: In function 'iputchar':
tcutest.c:128:3: warning: value computed is not used [-Wunused-value]
        
LD_RUN_PATH=/lib:/usr/lib:/usr/local/lib:/root/lib:/usr/local/lib:/usr/local/lib:.
 gcc -DSYSV -D_AIX -D_AIX32 -D_AIX41 -D_AIX43 -D_AIX51 -D_AIX52 -D_AIX53 
-D_AIX61 -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O -I/opt/freeware/include 
-std=c99 -Wall -fPIC -fsigned-char -O2 -o tcutest  -L/opt/freeware/lib 
-Wl,-blibpath:/opt/freeware/lib:/usr/lib:/lib -Wl,-bmaxdata:0x80000000 -L. 
-L/usr/local/lib -L/root/lib -L/usr/local/lib -static -ltokyocabinet -lbz2 -lz 
-lrt -lpthread -lm -lc
ld: 0711-224 WARNING: Duplicate symbol: .open
ld: 0711-224 WARNING: Duplicate symbol: .openx
ld: 0711-224 WARNING: Duplicate symbol: .sigwaitinfo
ld: 0711-224 WARNING: Duplicate symbol: .sigtimedwait
ld: 0711-224 WARNING: Duplicate symbol: .sigwait
ld: 0711-224 WARNING: Duplicate symbol: .thread_wait
ld: 0711-224 WARNING: Duplicate symbol: .tz_cache_getenv
ld: 0711-224 WARNING: Duplicate symbol: .tz_cache_invalidate
ld: 0711-224 WARNING: Duplicate symbol: .is_posix_tz
ld: 0711-224 WARNING: Duplicate symbol: .is_posix_tz_env
ld: 0711-224 WARNING: Duplicate symbol: .send
ld: 0711-224 WARNING: Duplicate symbol: .nrecvmsg
ld: 0711-224 WARNING: Duplicate symbol: .nrecvfrom
ld: 0711-224 WARNING: Duplicate symbol: .recvmsg
ld: 0711-224 WARNING: Duplicate symbol: .recvfrom
ld: 0711-224 WARNING: Duplicate symbol: .recv
ld: 0711-224 WARNING: Duplicate symbol: .nsendmsg
ld: 0711-224 WARNING: Duplicate symbol: .sendmsg
ld: 0711-224 WARNING: Duplicate symbol: .sendto
ld: 0711-224 WARNING: Duplicate symbol: .naccept
ld: 0711-224 WARNING: Duplicate symbol: .accept
ld: 0711-224 WARNING: Duplicate symbol: .fast_forward_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .forward_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .forw_pos_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_forw_pos_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_backward_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .backward_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .back_pos_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_back_pos_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_forward_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .forward_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .forw_pos_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_forw_pos_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_backward_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .backward_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .back_pos_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_back_pos_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_forw_pos_xfrm_sb
ld: 0711-224 WARNING: Duplicate symbol: .forw_pos_xfrm_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_forward_xfrm_sb
ld: 0711-224 WARNING: Duplicate symbol: .forward_xfrm_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_forw_pos_xfrm_std
ld: 0711-224 WARNING: Duplicate symbol: .forw_pos_xfrm_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_forward_xfrm_std
ld: 0711-224 WARNING: Duplicate symbol: .forward_xfrm_std
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: getpass_auto
ld: 0711-317 ERROR: Undefined symbol: crypt_r
ld: 0711-317 ERROR: Undefined symbol: max_history_size
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.
root@htu412:/home/jonesst/tokyo/tokyocabinet-1.4.47 #




Any help would be great.

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

Reply via email to