Opened 15 years ago
Last modified 14 years ago
#22266 closed defect
error when compiling xchat on snow leopard — at Initial Version
Reported by: | jarthel@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | xchat |
Description
I have installed xcode 3.2.1 and macports 1.8.1.
Here's the error that I got:
Making all in fe-gtk source='about.c' object='about.o' libtool=no \
depfile='.deps/about.Po' tmpdepfile='.deps/about.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -I../../intl -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -no-cpp-precomp -I/opt/local/include -I/opt/local/include/glib-1.2 -I/opt/local/include/gtk-1.2 -I/opt/local/lib/glib/include -O2 -Wall -arch -g x86_64 -c
test -f 'about.c' || echo './'
about.c
source='ascii.c' object='ascii.o' libtool=no \
depfile='.deps/ascii.Po' tmpdepfile='.deps/ascii.TPo' \ depmode=gcc3 /bin/sh ../../depcomp \ /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -I../../intl -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -no-cpp-precomp -I/opt/local/include -I/opt/local/include/glib-1.2 -I/opt/local/include/gtk-1.2 -I/opt/local/lib/glib/include -O2 -Wall -arch -g x86_64 -c
test -f 'ascii.c' || echo './'
ascii.c
gcc-4.2: Invalid arch name : -g gcc-4.2: Invalid arch name : -g make[3]: * [about.o] Error 1 make[3]: * Waiting for unfinished jobs.... make[3]: * [ascii.o] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2