Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#2234 closed defect (duplicate)

glib2 build fails with undefined symbol wcslen

Reported by: namely_void@… Owned by: mij@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Resolved bug 2233 by installing libiconv first and then gettext and then tried glib2. Building still fails, this time with unresolved symbol. I'm using Mac OS X 10.2.8. Error log:

Making all in gobject if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -I/opt/local/include -O3 -funroll-loops -fstrict-aliasing -Wall -MT glib-genmarshal.o -MD -MP -MF ".deps/glib-genmarshal.Tpo" \

-c -o glib-genmarshal.o `test -f 'glib-genmarshal.c'
echo

'./'`glib-genmarshal.c; \ then mv -f ".deps/glib-genmarshal.Tpo" ".deps/glib-genmarshal.Po"; \ else rm -f ".deps/glib-genmarshal.Tpo"; exit 1; \ fi /bin/sh ../libtool --mode=link gcc -O3 -funroll-loops -fstrict-aliasing -Wall -L/opt/local/lib -bind_at_load -o glib-genmarshal glib-genmarshal.o ../glib/libglib-2.0.la -lintl mkdir .libs gcc -O3 -funroll-loops -fstrict-aliasing -Wall -bind_at_load -o .libs/glib-genmarshal glib-genmarshal.o -L/opt/local/lib ../glib/.libs/libglib-2.0.dylib /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc ld: warning multiple definitions of symbol _locale_charset /opt/local/lib/libiconv.dylib(localcharset.o) definition of _locale_charset /opt/local/lib/libintl.dylib(localcharset.o) definition of _locale_charset ld: Undefined symbols: _wcslen make[2]: * [glib-genmarshal] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Attachments (1)

glib2-wcslen-darwin6.patch (1.2 KB) - added by namely_void@… 20 years ago.
make glib2 build on Mac OS X 10.2.8 (darwin 6)

Download all attachments as: .zip

Change History (3)

Changed 20 years ago by namely_void@…

Attachment: glib2-wcslen-darwin6.patch added

make glib2 build on Mac OS X 10.2.8 (darwin 6)

comment:1 Changed 20 years ago by olegb@…

Owner: changed from darwinports-bugs@… to mij@…

assigning to maintainer

comment:2 Changed 20 years ago by toby@…

Resolution: duplicate
Status: newclosed

* This bug has been marked as a duplicate of 1718 *

Note: See TracTickets for help on using tickets.