List:General Discussion« Previous MessageNext Message »
From:Stephan Hendl Date:October 11 2002 5:25am
Subject:mysql-3.23.52 on hpux 11 with innodb
View as plain text  
Hallo,

does anybody build a runtime version of mysql-3.23.52 with innodb  on an hp/ux 11.0, 64
bit runtime os?

Using hp's ansi c and aCC the innodb-sourcen gives an error like:

cc -DHAVE_CONFIG_H -I. -I../.././innobase/os -I.. -I../../include -I../include 
-D_REENTRANT  -O -DDBUG_OFF -O -DDBUG_OFF -D_REENTRANT  -DHAVE_BROKEN_PREAD
-DDONT_USE_FINITE -DHAVE_BROKEN_GETPASS -DNO_FCNTL_NONBLOCK
-DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT  -DDEBUG_OFF
-DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -c os0thread.c
cpp: "../include/univ.i", line 59: warning 2001: Redefinition of macro
UNIV_MUST_NOT_INLINE.
cc: "os0thread.c", line 59: error 1529: Cannot select field of non-structure.
cc: "os0thread.c", line 59: error 1527: Incompatible types in cast: Must cast from scalar
to scalar or to void type.

Compiling with gcc (3.2 from porting centre) the hpux linker has a problem like

gcc -O3 -DDBUG_OFF -felide-constructors -fno-exceptions -fno-rtti -O3
-fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW -DHAVE_BROKEN_PREAD
-DDONT_USE_FINITE -D_INCLUDE_LONGLONG -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS
-DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -o mysql mysql.o readline.o sql_string.o
completion_hash.o ../readline/libreadline.a -lcurses ../libmysql/.libs/libmysqlclient.a
-lcrypt -lnsl -lm -Wl,--defsym -Wl,__cxa_pure_virtual=0 -lcrypt -lnsl -lm
/usr/ccs/bin/ld: Unrecognized argument: --defsym
/usr/ccs/bin/ld: Usage:  /usr/ccs/bin/ld [options] [flags] files
collect2: ld returned 1 exit status


Thanks for helping me!

Stephan



Thread
mysql-3.23.52 on hpux 11 with innodbStephan Hendl11 Oct