List:General Discussion« Previous MessageNext Message »
From:Chris Trown Date:September 2 1999 9:45pm
Subject:Re: Compile failed on HPUX and gcc 2.95.1
View as plain text  
On Thu, Sep 02, 1999 at 04:13:09PM -0400, Aaron Bush scribbled:
> I get the following error when i compile on HPUX 10.20 with gcc-2.95.1
> 
> I used this configure line from the html manual:
> CFLAGS="-DHPUX -I/opt/dce/include -fpic"
> CXXFLAGS="-DHPUX -I/opt/dce/include -felide-constructors -fno-exceptions -fn
> o-rtti" CXX=gcc
> ./configure --with-debug --with-pthread --with-named-thread-libs='-ldce' --p
> refix=/usr/local/mysql --disable-shared
> 
> gmake errors with this...
> =============
> ...
> Making all in mysys
> gmake[2]: Entering directory `/d3/inet/mysql/mysql-3.22.25/mysys'
> gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DDATADIR="\"/usr/local/mysql/var
> \"" -DHAVE_CONFIG_H -I./../include -I../include -I..    -DHPUX -I/opt/dce/in
> clude -fpic  -g -DDBUG_ON -DSAFEMALLOC -c mf_keycache.c
> cc1: warning: -g is only supported when using GAS on this processor,
> cc1: warning: -g option disabled.
> as: error 6850: catgets_failed
> gmake[2]: *** [mf_keycache.o] Error 1
> gmake[2]: Leaving directory `/d3/inet/mysql/mysql-3.22.25/mysys'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/d3/inet/mysql/mysql-3.22.25'
> gmake: *** [all-recursive-am] Error 2
> 
> 
> any ideas on this??
> 

     Just a guess, but it looks like you built gcc(If you built it yourself)
without using GNU as.  The cc1 warning gives it away.  When building gcc, one
really should use gas.  Use the "--with-gnu-as" switch when configuring gcc.
Make sure gas is in the path.

     Ugh...  Building gcc2.95.1 on a 100MHz 715 is *painfull*!"  I started at
10:30am.  It's now 14:45 and only on stage2.

Chris...


-- 
What's the point?

Computers make very fast, very accurate mistakes.
PGP fingerprint: 063FCE320681C336  78C164FC9B2F91EA
Thread
Compile failed on HPUX and gcc 2.95.1Aaron Bush3 Sep
  • Re: Compile failed on HPUX and gcc 2.95.1Chris Trown3 Sep
  • Compile failed on HPUX and gcc 2.95.1Michael Widenius3 Sep