how can a build link the same two libs in two different link cmds and one
fail but the other doesn't??

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../build -I../lib -I../rpmdb
-I../rpmio -I../popt -I../misc  -I/sw/include -I../misc  -I/sw/include 
-no-cpp-precomp -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c dump.c
/bin/sh ../libtool --mode=link cc  -no-cpp-precomp -D_GNU_SOURCE
-D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wno-char-subscripts -L/sw/lib -o dump  dump.o
../build/librpmbuild.la ../lib/librpm.la ../rpmdb/librpmdb.la
../rpmio/librpmio.la ../popt/libpopt.la  -lintl -liconv 
mkdir .libs
cc -no-cpp-precomp -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o dump
dump.o  -L/sw/lib ../build/.libs/librpmbuild.a ../lib/.libs/librpm.a
../rpmdb/.libs/librpmdb.a -ldb ../rpmio/.libs/librpmio.a -lz -lbz2
-lpthread ../popt/.libs/libpopt.a -lintl -liconv
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
/sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset
/usr/bin/ld: warning unused multiple definitions of symbol _fnmatch
../rpmio/.libs/librpmio.a(stubs.o) definition of _fnmatch in section
(__TEXT,__text)
/usr/lib/libpthread.dylib(fnmatch.o) unused definition of _fnmatch
/usr/bin/ld: warning unused multiple definitions of symbol _glob
../rpmio/.libs/librpmio.a(stubs.o) definition of _glob in section
(__TEXT,__text)
/usr/lib/libpthread.dylib(glob.o) unused definition of _glob
/usr/bin/ld: warning unused multiple definitions of symbol _globfree
../rpmio/.libs/librpmio.a(stubs.o) definition of _globfree in section
(__TEXT,__text)
/usr/lib/libpthread.dylib(glob.o) unused definition of _globfree
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../build -I../lib -I../rpmdb
-I../rpmio -I../popt -I../misc  -I/sw/include -I../misc  -I/sw/include 
-no-cpp-precomp -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c dumpdb.c
/bin/sh ../libtool --mode=link cc  -no-cpp-precomp -D_GNU_SOURCE
-D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wno-char-subscripts -L/sw/lib -o dumpdb
-multiply_defined suppress  dumpdb.o ../build/librpmbuild.la
../lib/librpm.la ../rpmdb/librpmdb.la ../rpmio/librpmio.la
../popt/libpopt.la  
cc -no-cpp-precomp -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o dumpdb
-multiply_defined suppress dumpdb.o  -L/sw/lib
../build/.libs/librpmbuild.a ../lib/.libs/librpm.a
../rpmdb/.libs/librpmdb.a -ldb ../rpmio/.libs/librpmio.a -lz -lbz2
-lpthread ../popt/.libs/libpopt.a
/usr/bin/ld: multiple definitions of symbol _fadio
../rpmdb/.libs/librpmdb.a(falloc.o) definition of _fadio in section
(__DATA,__data)
../rpmio/.libs/librpmio.a(rpmio.o) definition of _fadio in section
(__DATA,__common)
make: *** [dumpdb] Error 1


�.��^`�.,][JFH][`�.,��.��][JFH][�.��^`�.,
  Justin F. Hallett - Systems Analyst               
          Phone: (780)-408-3094
            Fax: (780)-454-3200
        E-Mail: [EMAIL PROTECTED]
 .��^`�.,][JFH][`�.,��.��][JFH][�.��^`�.,


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to