List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 2 1999 10:15pm
Subject:Compile failed on HPUX and gcc 2.95.1
View as plain text  
>>>>> "Aaron" == Aaron Bush <abush@stripped> writes:

Aaron> I get the following error when i compile on HPUX 10.20 with gcc-2.95.1
Aaron> I used this configure line from the html manual:
Aaron> CFLAGS="-DHPUX -I/opt/dce/include -fpic"
Aaron> CXXFLAGS="-DHPUX -I/opt/dce/include -felide-constructors -fno-exceptions -fn
Aaron> o-rtti" CXX=gcc
Aaron> ./configure --with-debug --with-pthread --with-named-thread-libs='-ldce' --p
Aaron> refix=/usr/local/mysql --disable-shared

Aaron> gmake errors with this...
Aaron> =============
Aaron> ...
Aaron> Making all in mysys
Aaron> gmake[2]: Entering directory `/d3/inet/mysql/mysql-3.22.25/mysys'
Aaron> gcc -DDEFAULT_BASEDIR=\"/usr/local/mysql\" -DDATADIR="\"/usr/local/mysql/var
Aaron> \"" -DHAVE_CONFIG_H -I./../include -I../include -I..    -DHPUX -I/opt/dce/in
Aaron> clude -fpic  -g -DDBUG_ON -DSAFEMALLOC -c mf_keycache.c
Aaron> cc1: warning: -g is only supported when using GAS on this processor,
Aaron> cc1: warning: -g option disabled.
Aaron> as: error 6850: catgets_failed
Aaron> gmake[2]: *** [mf_keycache.o] Error 1
Aaron> gmake[2]: Leaving directory `/d3/inet/mysql/mysql-3.22.25/mysys'
Aaron> gmake[1]: *** [all-recursive] Error 1
Aaron> gmake[1]: Leaving directory `/d3/inet/mysql/mysql-3.22.25'
Aaron> gmake: *** [all-recursive-am] Error 2


Fix.

Install gas or remove the '-g' flag configure.in

About the 'as' error:   Are you sure you didn't get a 'disk full' or
out of memory?

Regards,
Monty
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