mysql 3.23.40-Solaris8-Gcc3.0 error compiling with gemini

2001-07-30 Thread Faine, Mark

I'm trying to intall mysql 3.23.40 on Solaris 8 ( GCC 3.0 ) but I'm having a
little difficulty. Whenever it gets to the gemini directory it errors out
with the following:

/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../incl -I../msgs-O3
-DDBUG_OFF -O6  -DHAVE_CURSES_H -I/export/home6/temp/mysql-3.23.40/include
-DHAVE_RWLOCK_T -c tmdoundo.c
../ctstset
ctstset: Compile tstset.cc -- tstset.[c|s] -- tstset.o
tstset.s: Assembler messages:
tstset.s:43: Error: Unknown segment type
tstset.s:43: Error: Rest of line ignored. First ignored character is `'.
tstset.s:63: Error: Unknown segment type
tstset.s:63: Error: Rest of line ignored. First ignored character is `'.
-rw-r--r--   1 root other   2252 Jul 27 13:39 tstset.c
-rwxr-xr-x   1 root other  32426 Jul 27 13:39 tstset.cc
-rw-r--r--   1 root other897 Jul 30 08:42 tstset.s
rm -f libdb.a
ar cru libdb.a bkcheck.o bkcrashtest.o bkio.o bkiolk.o bkiotop.o bklog.o
bkopen.o bkrec.o bkrepl.o bksubs.o bmapw.o bmbuf.o cx.o cxaux.o cxblock.o
cxcompact.o cxdo.o cxfil.o cxgen.o cxkill.o cxky.o cxkyut.o cxmove.o cxnxt.o
cxtag.o cxundo.o cxvsi.o db.o dbarea.o dbblob.o dbclose.o dbindex.o dblang.o
dblksch.o dbobject.o dbopen.o dbquiet.o dbrecord.o dbtable.o dbuser.o
dbwdog.o geminifromkey.o geminikey.o keysvc.o keyut.o ky.o kyut.o latctl.o
lkmu.o lkrecd.o om.o omundo.o rec.o recformt.o recget.o recput.o rlai.o
rlaiovl.o rlaoff.o rlcl.o rlmem.o rlnote.o rlrej.o rlrw.o rlset.o rltl.o
rm.o rmdoundo.o semadm.o semmgr.o seqdundo.o seqgen.o shm.o shmatt.o shmcr.o
shmdel.o shmpid.o shmptoq.o shmsiz.o stm.o tm.o tmdoundo.o tstset.o 
ar: tstset.o: No such file or directory
make[4]: *** [libdb.a] Error 1
make[4]: Leaving directory `/export/home6/temp/mysql-3.23.40/gemini/db'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home6/temp/mysql-3.23.40/gemini'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/export/home6/temp/mysql-3.23.40/gemini'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home6/temp/mysql-3.23.40'
make: *** [all-recursive-am] Error 2




My config looks like this:

./configure \
--enable-static \
--disable-shared \
--with-raid \
--with-libwrap \
--without-debug \
--with-mysqld-ldflags=-all-static \
--without-docs \
--without-bench \
--with-charset=latin1 \
--with-berkeley-db \
--with-innodb  \
--with-gemini


Anyone know how to fix this?

Thanks,
-Mark


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: mysql 3.23.40-Solaris8-Gcc3.0 error compiling with gemini

2001-07-30 Thread Sinisa Milivojevic

Faine, Mark writes:
 I'm trying to intall mysql 3.23.40 on Solaris 8 ( GCC 3.0 ) but I'm having a
 little difficulty. Whenever it gets to the gemini directory it errors out
 with the following:
 
 /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../incl -I../msgs-O3
 -DDBUG_OFF -O6  -DHAVE_CURSES_H -I/export/home6/temp/mysql-3.23.40/include
 -DHAVE_RWLOCK_T -c tmdoundo.c
 ../ctstset
 ctstset: Compile tstset.cc -- tstset.[c|s] -- tstset.o
 tstset.s: Assembler messages:
 tstset.s:43: Error: Unknown segment type
 tstset.s:43: Error: Rest of line ignored. First ignored character is `'.
 tstset.s:63: Error: Unknown segment type
 tstset.s:63: Error: Rest of line ignored. First ignored character is `'.
 -rw-r--r--   1 root other   2252 Jul 27 13:39 tstset.c
 -rwxr-xr-x   1 root other  32426 Jul 27 13:39 tstset.cc
 -rw-r--r--   1 root other897 Jul 30 08:42 tstset.s
 
 Thanks,
 -Mark

You could try disabling assembler, which is MySQL default on SPARC and
x86.

If that does not help, inform GCC people and try using InnoDB instead.

-- 
Regards,
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Mr. Sinisa Milivojevic [EMAIL PROTECTED]
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
   ___/   www.mysql.com

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php