Bug #11759 linking errors on QNX
Submitted: 6 Jul 2005 8:26 Modified: 5 Mar 2013 11:59
Reporter: Ramil Kalimullin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0.9 OS:Other (QNX)
Assigned to: CPU Architecture:Any

[6 Jul 2005 8:26] Ramil Kalimullin
Description:

make[2]: Entering directory `/home/mysqldev/buildqnx2/mysql-5.0.9-beta/tools'
/bin/sh ../libtool --preserve-dup-deps --mode=link ccache qcc  -O3 -DDBUG_OFF -O1 -Wl,-E   -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_PRAGMA_IMPLEMENTATION   -o mysqltestmanager  mysqlmanager.o  ../libmysql_r/libmysqlclient_r.la -lz  -lsocket -lm  
ccache qcc -O3 -DDBUG_OFF -O1 -Wl,-E -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_PRAGMA_IMPLEMENTATION -o mysqltestmanager mysqlmanager.o  ../libmysql_r/.libs/libmysqlclient_r.a -lz -lsocket -lm
mysqlmanager.o: In function `handle_set_exec_con':
mysqlmanager.o(.text+0x371): undefined reference to `hash_search'
mysqlmanager.o(.text+0x3b5): undefined reference to `strnmov'
mysqlmanager.o(.text+0x3d9): undefined reference to `strnmov'
mysqlmanager.o(.text+0x410): undefined reference to `strnmov'
mysqlmanager.o: In function `set_exec_param':
mysqlmanager.o(.text+0x515): undefined reference to `hash_search'
mysqlmanager.o(.text+0x5b3): undefined reference to `strnmov'
mysqlmanager.o: In function `handle_start_exec':
mysqlmanager.o(.text+0x663): undefined reference to `hash_search'
mysqlmanager.o(.text+0x71a): undefined reference to `mysql_close'
mysqlmanager.o: In function `handle_stop_exec':
mysqlmanager.o(.text+0x81a): undefined reference to `hash_search'
mysqlmanager.o(.text+0x895): undefined reference to `mysql_shutdown'
etc.

Probably, something is wrong with the /libmysql_r/.libs/libmysqlclient_r.a

How to repeat:
try to build a tree on qnx
[15 Jul 2005 5:35] Jorge del Conde
I also received the following errors w/4.1.3:

clude -I../../include -I./../.. -I..    -O3 -DDBUG_OFF    -c read.c
read.c: In function `el_gets':
read.c:481: `uint' undeclared (first use in this function)
read.c:481: (Each undeclared identifier is reported only once
read.c:481: for each function it appears in.)
read.c:481: parse error before `cmdnum'
read.c:550: continue statement not within a loop
read.c:591: break statement not within loop or switch
read.c: At top level:
read.c:594: conflicting types for `term__flush'
el_term.h:115: previous declaration of `term__flush'
read.c:594: warning: data definition has no type or storage class
read.c:596: parse error before `if'
make[3]: *** [read.o] Error 1
make[3]: Leaving directory `/home/mysqldev/jorge/mysql-4.1.13/cmd-line-utils/libedit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mysqldev/jorge/mysql-4.1.13/cmd-line-utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mysqldev/jorge/mysql-4.1.13'
make: *** [all] Error 2
mysqldev@buildqnx2:~/jorge/mysql-4.1.13>
[18 Jul 2005 13:44] Joerg Bruehe
I am just fixing the compile error caused by the missing "uint" declaration.
4.1 is pushed, 5.0 waits for some merges.
[5 Mar 2013 11:59] Yngve Svendsen
Obsolete product version, and QNX is no longer a supported platform.