Hi,
In a tool that I'm porting (autogen), I've run into a problem that
points to a libtool failure. I'm wondering whether these errors are
common and perhaps have a common solution.
libtool generates a link command that contains two copies of a
library in another directory. This causes the linker to complain
about multiply defined symbols.
/bin/sh ../libtool --mode=link cc -DREGEX_HEADER='<regex.h>' -o
libopts.la -rpath /sw/lib -version-info 12:0:3 autoopts.lo boolean.lo
enumeration.lo makeshell.lo numeric.lo pgusage.lo putshell.lo save.lo
stack.lo streqvcmp.lo usage.lo version.lo
../snprintfv/snprintfv/libsnprintfvc.la pathfind.lo
rm -fr .libs/libopts.la .libs/libopts.* .libs/libopts.*
../libtool: parse error: condition expected: xno = [3183]
cc -dynamiclib -flat_namespace -undefined suppress -o
.libs/libopts.9.3.0.dylib autoopts.lo boolean.lo enumeration.lo
makeshell.lo numeric.lo pgusage.lo putshell.lo save.lo stack.lo
streqvcmp.lo usage.lo version.lo pathfind.lo -all_load
../snprintfv/snprintfv/.libs/libsnprintfvc.al
../snprintfv/snprintfv/.libs/libsnprintfvc.al -lc -install_name
/sw/lib/libopts.9.dylib -compatibility_version 13 -current_version
13.0
ld: multiple definitions of symbol _filcat
../snprintfv/snprintfv/.libs/libsnprintfvc.al(filament.lo) definition
of _filcat in section (__TEXT,__text)
../snprintfv/snprintfv/.libs/libsnprintfvc.al(filament.lo) definition
of _filcat in section (__TEXT,__text)
... and lots more ...
I appreciate any advice,
-dave
--
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.