The official recommendation is to run "sudo gcc_select 3" before you install anything via Fink.
On Wednesday, July 9, 2003, at 11:14 AM, Darren Creutz wrote:
Hi all,
I updated to the new gcc from apple and now I get some very strange error messages when trying to compile various packages. For example, I get:
mkdir -p /sw/src/warp-2002.03.12-11 /sw/bin/tar -xzf /sw/src/warp-2002.03.12-11.tar.gz ./configure --prefix=/sw make cc -c -g -O bang.c In file included from bang.c:19: warp.h:333: warning: conflicting types for built-in function `sprintf' In file included from bang.c:23: term.h:118:36: missing terminating ' character term.h:129:21: missing terminating ' character term.h:157:36: missing terminating ' character term.h:171:21: missing terminating ' character make: *** [bang.o] Error 1 ### execution of make failed, exit code 2 Failed: compiling warp-2002.03.12-11 failed
and:
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)
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
[student-guest54:~] ivanponyrev% locate libintl
/sw/include/libintl.h
/sw/lib/libintl.1.0.1.dylib
/sw/lib/libintl.1.dylib
/sw/lib/libintl.a
/sw/lib/libintl.dylib
/sw/lib/libintl.la
Have I completely messed myself up by using the new gcc or can I get around this? Thanks in advance.
Darren Creutz
------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
