I'm compiling popt as a dependency for gabber-ssl. It fails to compile. The error is:

libtool: link: warning: complete static linking is impossible in this configuration
gcc -Wall -g -O2 -o test1 test1.o -L/sw/lib ./.libs/libpopt.a /sw/lib/libintl.a -liconv
ld: table of contents for archive: /sw/lib/libintl.a is out of date; rerun ranlib(1) (can't load from it)
ld: warning prebinding disabled because dependent library: /usr/lib/system/libmathCommon.A.dylib can't be searched
make[2]: *** [test1] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Failed: compiling popt-1.7-1 failed


The full output is below:

[EMAIL PROTECTED]/crypto/finkinfo]: fink install popt
/usr/bin/sudo /sw/bin/fink install popt
Password:
Information about 1312 packages read in 17 seconds.
The following package will be installed or updated:
popt
The following additional package will be installed:
popt-shlibs
Do you want to continue? [Y/n] Y
/bin/rm -rf popt-1.7-1
/bin/mkdir -p /sw/src/popt-1.7-1
gzip -dc /sw/src/popt-1.7.tar.gz | /sw/bin/tar -xf -
./configure --prefix=/sw --mandir=/sw/share/man
checking build system type... powerpc-apple-darwin6.8
checking host system type... powerpc-apple-darwin6.8
checking target system type... powerpc-apple-darwin6.8
checking for a BSD-compatible install... /sw/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether gcc needs -traditional... no
checking for gcc option to accept ANSI C... none needed
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 for function prototypes... yes
checking for ANSI C header files... yes
checking for string.h... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic Mach-O dynamically linked shared library
checking command to parse /usr/bin/nm -p output... ok
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... unsupported
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... darwin6.8 dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking for a BSD-compatible install... /sw/bin/install -c
checking alloca.h usability... no
checking alloca.h presence... no
checking for alloca.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking mcheck.h usability... no
checking mcheck.h presence... no
checking for mcheck.h... no
checking for unistd.h... (cached) yes
checking for /usr/ucblib in LIBS... no
checking for GNU xgettext... yes
checking for strerror... yes
checking for mtrace... no
checking for getuid... yes
checking for geteuid... yes
checking for setreuid... yes
checking for msgfmt... /sw/bin/msgfmt
checking for gmsgfmt... /sw/bin/msgfmt
checking for xgettext... no
checking for msgmerge... no
checking for ranlib... (cached) ranlib
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking whether integer division by zero raises SIGFPE... no
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... ./config.rpath: ./config.rpath: No such file or directory
done
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... no
checking nl_types.h presence... no
checking for nl_types.h... no
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for feof_unlocked... no
checking for fgets_unlocked... no
checking for getc_unlocked... no
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... (cached) yes
checking for getgid... yes
checking for getuid... (cached) yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... no
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... no
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 1.28, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking how to link with libintl... -lintl
configure: creating ./config.status
config.status: creating Doxyfile
config.status: creating Makefile
config.status: creating intl/Makefile
config.status: creating po/Makefile.in
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
make
make all-recursive
Making all in intl
make[2]: Nothing to be done for `all'.
Making all in po
make[2]: Nothing to be done for `all'.
source='popt.c' object='popt.lo' libtool=yes \
depfile='.deps/popt.Plo' tmpdepfile='.deps/popt.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c -o popt.lo `test -f 'popt.c' || echo './'`popt.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c popt.c -MT popt.lo -MD -MP -MF .deps/popt.TPlo -fno-common -DPIC -o .libs/popt.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c popt.c -MT popt.lo -MD -MP -MF .deps/popt.TPlo -o popt.o >/dev/null 2>&1
mv -f .libs/popt.lo popt.lo
source='findme.c' object='findme.lo' libtool=yes \
depfile='.deps/findme.Plo' tmpdepfile='.deps/findme.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c -o findme.lo `test -f 'findme.c' || echo './'`findme.c
rm -f .libs/findme.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c findme.c -MT findme.lo -MD -MP -MF .deps/findme.TPlo -fno-common -DPIC -o .libs/findme.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c findme.c -MT findme.lo -MD -MP -MF .deps/findme.TPlo -o findme.o >/dev/null 2>&1
mv -f .libs/findme.lo findme.lo
source='poptparse.c' object='poptparse.lo' libtool=yes \
depfile='.deps/poptparse.Plo' tmpdepfile='.deps/poptparse.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c -o poptparse.lo `test -f 'poptparse.c' || echo './'`poptparse.c
rm -f .libs/poptparse.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c poptparse.c -MT poptparse.lo -MD -MP -MF .deps/poptparse.TPlo -fno-common -DPIC -o .libs/poptparse.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c poptparse.c -MT poptparse.lo -MD -MP -MF .deps/poptparse.TPlo -o poptparse.o >/dev/null 2>&1
mv -f .libs/poptparse.lo poptparse.lo
source='poptconfig.c' object='poptconfig.lo' libtool=yes \
depfile='.deps/poptconfig.Plo' tmpdepfile='.deps/poptconfig.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c -o poptconfig.lo `test -f 'poptconfig.c' || echo './'`poptconfig.c
rm -f .libs/poptconfig.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c poptconfig.c -MT poptconfig.lo -MD -MP -MF .deps/poptconfig.TPlo -fno-common -DPIC -o .libs/poptconfig.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c poptconfig.c -MT poptconfig.lo -MD -MP -MF .deps/poptconfig.TPlo -o poptconfig.o >/dev/null 2>&1
mv -f .libs/poptconfig.lo poptconfig.lo
source='popthelp.c' object='popthelp.lo' libtool=yes \
depfile='.deps/popthelp.Plo' tmpdepfile='.deps/popthelp.TPlo' \
depmode=gcc3 /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c -o popthelp.lo `test -f 'popthelp.c' || echo './'`popthelp.c
rm -f .libs/popthelp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c popthelp.c -MT popthelp.lo -MD -MP -MF .deps/popthelp.TPlo -fno-common -DPIC -o .libs/popthelp.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c popthelp.c -MT popthelp.lo -MD -MP -MF .deps/popthelp.TPlo -o popthelp.o >/dev/null 2>&1
mv -f .libs/popthelp.lo popthelp.lo
/bin/sh ./libtool --mode=link gcc -Wall -g -O2 -lintl -L/sw/lib -o libpopt.la -rpath /sw/lib popt.lo findme.lo poptparse.lo poptconfig.lo popthelp.lo
rm -fr .libs/libpopt.la .libs/libpopt.* .libs/libpopt.*
gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libpopt.0.0.0.dylib popt.lo findme.lo poptparse.lo poptconfig.lo popthelp.lo -L/sw/lib -lintl -lc -install_name /sw/lib/libpopt.0.dylib -compatibility_version 1 -current_version 1.0
ld: warning -dylib_install_name /sw/lib/libpopt.0.dylib not found in segment address table LD_SEG_ADDR_TABLE /sw/var/lib/fink/prebound/seg_addr_table
ld: warning -undefined suppress disables -prebind
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libiconv.2.dylib(localcharset.o) definition of _locale_charset
(cd .libs && rm -f libpopt.0.dylib && ln -s libpopt.0.0.0.dylib libpopt.0.dylib)
(cd .libs && rm -f libpopt.dylib && ln -s libpopt.0.0.0.dylib libpopt.dylib)
ar cru .libs/libpopt.a popt.o findme.o poptparse.o poptconfig.o popthelp.o
ranlib .libs/libpopt.a
creating libpopt.la
(cd .libs && rm -f libpopt.la && ln -s ../libpopt.la libpopt.la)
source='test1.c' object='test1.o' libtool=no \
depfile='.deps/test1.Po' tmpdepfile='.deps/test1.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/sw/include -Wall -g -O2 -c `test -f 'test1.c' || echo './'`test1.c
/bin/sh ./libtool --mode=link gcc -Wall -g -O2 -lintl -L/sw/lib -o test1 -all-static test1.o libpopt.la
libtool: link: warning: complete static linking is impossible in this configuration
gcc -Wall -g -O2 -o test1 test1.o -L/sw/lib ./.libs/libpopt.a /sw/lib/libintl.a -liconv
ld: table of contents for archive: /sw/lib/libintl.a is out of date; rerun ranlib(1) (can't load from it)
ld: warning prebinding disabled because dependent library: /usr/lib/system/libmathCommon.A.dylib can't be searched
make[2]: *** [test1] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Failed: compiling popt-1.7-1 failed
[EMAIL PROTECTED]/crypto/finkinfo]:


Here is what I have in /usr/lib/system:

[EMAIL PROTECTED]/usr/lib/system]: l
total 152k
-rwxr-xr-x 1 root wheel 27k Jul 24 2002 libmathCommon.A.dylib*
-rwxr-xr-x 1 root wheel 81k Nov 6 2002 libmathCommon.A_debug.dylib*
-rw-r--r-- 1 root wheel 38k Nov 4 2002 libmathCommon.A_profile.dylib
lrwxr-xr-x 1 root wheel 21 Feb 17 2003 libmathCommon.dylib -> libmathCommon.A.dylib*
lrwxr-xr-x 1 root wheel 27 Feb 17 2003 libmathCommon_debug.dylib -> libmathCommon.A_debug.dylib*
lrwxr-xr-x 1 root wheel 29 Feb 17 2003 libmathCommon_profile.dylib -> libmathCommon.A_profile.dylib


Any pointers on how to fix this is much appreciated.

Shawn



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to