This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cc1: error: invalid option `t'


I've installed gcc 3.4.3 via pkg-get and am trying to compile gaim-vv,
but it fails like this:

make[4]: Entering directory `/home/kevinr/gaim-vv-1.2.0/src/protocols/yahoo'
if /bin/bash ../../../libtool --silent --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I../../..  -I../../../src -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mt -I/opt/csw/include/gstreamer-0.8 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/libxml2      -ansi -pedantic -Wall -g -O -Wall -g3 -Dsun -MT crypt.lo -MD -MP -MF ".deps/crypt.Tpo" -c -o crypt.lo crypt.c; \
then mv -f ".deps/crypt.Tpo" ".deps/crypt.Plo"; else rm -f ".deps/crypt.Tpo"; exit 1; fi
cc1: error: invalid option `t'
make[4]: *** [crypt.lo] Error 1
make[4]: Leaving directory `/home/kevinr/gaim-vv-1.2.0/src/protocols/yahoo'

Since libtool is a shell script, I tried running make with
SHELL='/bin/bash -v' to see how gcc is actually invoked:

 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mt -I/opt/csw/include/gstreamer-0.8 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/libxml2 -ansi -pedantic -Wall -g -O -Wall -g3 -Dsun -MT crypt.lo -MD -MP -MF .deps/crypt.Tpo -c crypt.c  -fPIC -DPIC -o .libs/crypt.o
cc1: error: invalid option `t'

And I tried adding --verbose to CFLAGS:

Reading specs from /opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.3/specs
Configured with: ../sources/gcc-3.4.3/configure --prefix=/opt/csw/gcc3 --with-local-prefix=/opt/csw --without-gnu-as --with-as=/usr/ccs/bin/as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix --enable-shared --enable-multilib --enable-nls --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x --enable-java-awt=xlib --enable-languages=all
Thread model: posix
gcc version 3.4.3
 /opt/csw/gcc3/libexec/gcc/i386-pc-solaris2.8/3.4.3/cc1 -quiet -v -I. -I. -I../../.. -I../../../src -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/gstreamer-0.8 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/libxml2 -MD .libs/crypt.d -MF .deps/crypt.Tpo -MP -MT crypt.lo -MQ .libs/crypt.o -dD -DHAVE_CONFIG_H -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Dsun -DPIC crypt.c -quiet -dumpbase crypt.c -mt -ansi -auxbase-strip .libs/crypt.o -g -g3 -O -pedantic -Wall -Wall -ansi -version -fPIC -o /var/tmp//ccZ0BGvt.s
cc1: error: invalid option `t'
ignoring nonexistent directory "/opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.3/../../../../i386-pc-solaris2.8/include"
ignoring duplicate directory "."
ignoring duplicate directory "/opt/csw/include/glib-2.0"
ignoring duplicate directory "/opt/csw/lib/glib-2.0/include"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../..
 ../../../src
 /opt/csw/include/glib-2.0
 /opt/csw/lib/glib-2.0/include
 /opt/csw/include/gstreamer-0.8
 /opt/csw/include/libxml2
 /opt/csw/include
 /opt/csw/gcc3/include
 /opt/csw/gcc3/lib/gcc/i386-pc-solaris2.8/3.4.3/include
 /usr/include
End of search list.
GNU C version 3.4.3 (i386-pc-solaris2.8)
        compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129927
make[4]: *** [crypt.lo] Error 1
make[4]: Leaving directory `/home/kevinr/gaim-vv-1.2.0/src/protocols/yahoo'

But for the life of me I can't see what is wrong with gcc's installation
or gaim-vv's configuration.

Thanks,
-- 
Kevin Rodgers


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]