JMLalor@SolanoCounty.com
2003-May-01 18:20 UTC
[Samba] 'make' Building of Executables Fails
I have encountered problems when compiling SAMBA 2.2.8a on a RS/6000 7025-F50 (AIX 4.3.3.0-11), during the 'make' operation. I am using GCC 2.95.3.0, which I installed from Bull. Could someone review these results and provide some guidance for a solution? Thank you. =========================The 'configure' operation completed with the expected messages (see below), although errors were posted in config.log: * checking configure summary * configure OK * creating ./config.status * creating include/stamp-h * creating Makefile * creating include/config.h The 'make' operation began with the following settings: 2003.root@imstest:/tmp/samba/samba-2.2.8a/source> make Using FLAGS = -O -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGE_FILES -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/sbin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks" -DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb" Using FLAGS32 = -O -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -D_LARGE_FILES -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts" -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/sbin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks" -DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb" Using LIBS = ... (Content omitted)... The 'make' operation aborted with the following errors: ... Compiling lib/kanji.c lib/kanji.c:37: `strchr' undeclared here (not in a function) lib/kanji.c:38: `strrchr' undeclared here (not in a function) lib/kanji.c:39: `strstr' undeclared here (not in a function) lib/kanji.c:40: `strtok' undeclared here (not in a function) lib/kanji.c: In function `sj_strtok': lib/kanji.c:122: warning: initialization makes pointer from integer without a cast lib/kanji.c: In function `generic_multibyte_strtok': lib/kanji.c:288: warning: initialization makes pointer from integer without a cast lib/kanji.c: In function `cap_to_sj_static': lib/kanji.c:1300: warning: comparison between pointer and integer lib/kanji.c: In function `initialize_multibyte_vectors': lib/kanji.c:1699: `strchr' undeclared (first use in this function) lib/kanji.c:1699: (Each undeclared identifier is reported only once lib/kanji.c:1699: for each function it appears in.) lib/kanji.c:1700: `strrchr' undeclared (first use in this function) lib/kanji.c:1701: `strstr' undeclared (first use in this function) lib/kanji.c:1702: `strtok' undeclared (first use in this function) make: 1254-004 The error code from the last command is 1. Stop.