Hi folks, I'm getting multiply defined warnings and errors on 10.2 with linc1. I don't know how to deal with these. Thanks, Robert.

/bin/sh ../libtool --mode=link gcc -O3 -funroll-loops -fstrict-aliasing -L/sw/lib -o liblinc.la -rpath /sw/lib -L/sw/lib -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -version-info 1:0:0 linc.lo linc-connection.lo linc-protocols.lo linc-server.lo linc-source.lo
rm -fr .libs/liblinc.la .libs/liblinc.* .libs/liblinc.*
gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/liblinc.1.0.0.dylib linc.lo linc-connection.lo linc-protocols.lo linc-server.lo linc-source.lo -L/sw/lib -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv -lc -install_name /sw/lib/liblinc.1.dylib -compatibility_version 2 -current_version 2.0
ld: warning -dylib_install_name /sw/lib/liblinc.1.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/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
(cd .libs && rm -f liblinc.1.dylib && ln -s liblinc.1.0.0.dylib liblinc.1.dylib)
(cd .libs && rm -f liblinc.dylib && ln -s liblinc.1.0.0.dylib liblinc.dylib)
ar cru .libs/liblinc.a linc.o linc-connection.o linc-protocols.o linc-server.o linc-source.o
ranlib .libs/liblinc.a
creating liblinc.la
(cd .libs && rm -f liblinc.la && ln -s ../liblinc.la liblinc.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED -D_GNU_SOURCE -no-cpp-precomp -I/sw/include -O3 -funroll-loops -fstrict-aliasing -c cleanup.c
cleanup.c: In function `open_socket':
cleanup.c:104: warning: passing arg 2 of `connect' from incompatible pointer type
/bin/sh ../libtool --mode=link gcc -O3 -funroll-loops -fstrict-aliasing -L/sw/lib -o linc-cleanup-sockets -L/sw/lib -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv cleanup.o
gcc -O3 -funroll-loops -fstrict-aliasing -o linc-cleanup-sockets cleanup.o -L/sw/lib -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
ld: warning prebinding disabled because dependent library: /sw/lib/libgobject-2.0.0.dylib is not prebound
ld: warning multiple definitions of symbol _locale_charset
/sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
/sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _locale_charset used from dynamic library /sw/lib/libiconv.dylib(localcharset.o) not from earlier dynamic library /sw/lib/libintl.1.dylib(localcharset.lo)
Making all in docs
*** Scanning header files ***
if grep -l '^..*$' ./linc.types > /dev/null ; then \
CC="/bin/sh ../libtool --mode=compile gcc" LD="/bin/sh ../libtool --mode=link gcc" CFLAGS="" LDFLAGS="" gtkdoc-scanobj --module=linc --output-dir=. ; \
else \
cd . ; \
for i in linc.args linc.hierarchy linc.signals ; do \
test -f $i || touch $i ; \
done \
fi
cd . && \
gtkdoc-scan --module=linc --source-dir=.. --ignore-headers="config.h acconfig.h linc-private.h"
touch scan-build.stamp
*** Rebuilding template files ***
cd . && gtkdoc-mktmpl --module=linc
=============================================================================
WARNING: 24 unused declarations.
These can be found in linc-unused.txt.
They should be added to linc-sections.txt in the appropriate place.
=============================================================================
touch tmpl-build.stamp
*** Building SGML ***
cd . && \
gtkdoc-mkdb --module=linc --source-dir=.. --main-sgml-file=linc-docs.sgml
56% symbol docs coverage (15 symbols documented, 12 not documented)
See linc-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn't include intro sections.
touch sgml-build.stamp
*** Building HTML ***
test -d ./html || mkdir ./html
cd ./html && gtkdoc-mkhtml linc ../linc-docs.sgml
/sw/bin/openjade:../sgml/linc-types.sgml:63:19:E: ID "LINCPROTOCOLINFO" already defined
/sw/bin/openjade:../sgml/linc-protocol.sgml:123:19: ID "LINCPROTOCOLINFO" first defined here
make[2]: *** [html-build.stamp] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of make failed, exit code 2
Removing build lock...
dpkg -r fink-buildlock-linc1-0.5.5-12
(Reading database ... 96808 files and directories currently installed.)
Removing fink-buildlock-linc1-0.5.5-12 ...
Failed: phase compiling: linc1-0.5.5-12 failed


Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, you can try e-mailing
the maintainer:

        None <fink-devel@lists.sourceforge.net>


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to