Hello 

Does anybody know how to get MySQL build on HPPA architecture?

bye,

    -christian-

-- 
Real men don't take backups.
They put their source on a public FTP-server and let the world mirror it.
                                        -- Linus Torvalds



Package: mysql
Version: 3.23.39-1

Hi, trying to build mysql on hppa.  It dies in the isam directory:

willy@paer:~/mysql/mysql-3.23.39/isam$ make
/bin/sh ../libtool --mode=link gcc  -O3 -DDBUG_OFF -O2  -g  -rdynamic -o isamchk  
isamchk.o sort.o libnisam.a ../mysys/libmysys.a                       
../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm  -lpthread
gcc -O3 -DDBUG_OFF -O2 -g -rdynamic -o isamchk isamchk.o sort.o libnisam.a 
../mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lz -lcrypt 
-lnsl -lm -lpthread
../mysys/libmysys.a(my_tempnam.o): In function `my_tempnam':
/home/willy/mysql/mysql-3.23.39/mysys/my_tempnam.c:100: the use of `tempnam' is 
dangerous, better use `mkstemp'
../mysys/libmysys.a(raid.o): In function `my_raid_create':
/home/willy/mysql/mysql-3.23.39/mysys/raid.cc:130: undefined reference to `operator 
new(unsigned)'
/usr/bin/ld: raid.o(.text+0xb0): cannot find stub entry 00000014__Znwj+0
/usr/bin/ld: raid.o(.text+0xb0): cannot handle R_PARISC_PCREL17F for operator 
new(unsigned)
/home/willy/mysql/mysql-3.23.39/mysys/raid.cc:134: undefined reference to `operator 
delete(void*)'
/usr/bin/ld: raid.o(.text+0x128): cannot find stub entry 00000014__ZdlPv+0
/usr/bin/ld: raid.o(.text+0x128): cannot handle R_PARISC_PCREL17F for operator 
delete(void*)
../mysys/libmysys.a(raid.o): In function `my_raid_open':
/home/willy/mysql/mysql-3.23.39/mysys/raid.cc:152: undefined reference to `operator 
new(unsigned)'
/usr/bin/ld: raid.o(.text+0x19c): cannot find stub entry 00000014__Znwj+0
/usr/bin/ld: raid.o(.text+0x19c): cannot handle R_PARISC_PCREL17F for operator 
new(unsigned)
/home/willy/mysql/mysql-3.23.39/mysys/raid.cc:156: undefined reference to `operator 
delete(void*)'
/usr/bin/ld: raid.o(.text+0x210): cannot find stub entry 00000014__ZdlPv+0
/usr/bin/ld: raid.o(.text+0x210): cannot handle R_PARISC_PCREL17F for operator 
delete(void*)
../mysys/libmysys.a(raid.o): In function `my_raid_close':
/home/willy/mysql/mysql-3.23.39/mysys/raid.cc:288: undefined reference to `operator 
delete(void*)'
/usr/bin/ld: raid.o(.text+0x70c): cannot find stub entry 00000014__ZdlPv+0
/usr/bin/ld: raid.o(.text+0x70c): cannot handle R_PARISC_PCREL17F for operator 
delete(void*)
collect2: ld returned 1 exit status
make: *** [isamchk] Error 1

these symbols are all in libstdc++, so this can be cured in one of
two ways.  Either use `g++' instead of gcc to do the link step, or
explicitly add -lstdc++ to the command line:

willy@paer:~/mysql/mysql-3.23.39/isam$ g++ -O3 -DDBUG_OFF -O2 -g -rdynamic -o isamchk 
isamchk.o sort.o libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a 
../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread
../mysys/libmysys.a(my_tempnam.o): In function `my_tempnam':
/home/willy/mysql/mysql-3.23.39/mysys/my_tempnam.c:100: the use of `tempnam' is 
dangerous, better use `mkstemp'

willy@paer:~/mysql/mysql-3.23.39/isam$ gcc -O3 -DDBUG_OFF -O2 -g -rdynamic -o isamchk 
isamchk.o sort.o libnisam.a ../mysys/libmysys.a ../dbug/libdbug.a 
../strings/libmystrings.a -lpthread -lz -lcrypt -lnsl -lm -lpthread -lstdc++
../mysys/libmysys.a(my_tempnam.o): In function `my_tempnam':
/home/willy/mysql/mysql-3.23.39/mysys/my_tempnam.c:100: the use of `tempnam' is 
dangerous, better use `mkstemp'

how would you prefer to fix this?  this is using g++ 3.0, btw, since this
is the only compiler available for hppa.  you can check any changes you
make on hppa by logging into paer.debian.org.

-- 
Revolutions do not require corporate support.



---------------------------------------------------------------------
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

Reply via email to