MySQL Forums
Forum List  »  Source, Builds, Binaries

compiling clients on SGI
Posted by: karres
Date: January 12, 2005 03:22PM

Hi,

I have a MySQL client that I am writing that compiles and works well on RedHat linux. I am trying to compile the exact same code on an SGI. "uname" says IRIX64. It is prolly rev 6.5. I have run "mysql_config" to get the local config and my compile line looks like:

gcc -Wall -I /usr/freeware/include -rpath /usr/freeware/lib32 -L/usr/freeware/lib32 -L/usr/freeware/lib -lmysqlclient -lz -lgen -lm -L/usr/freeware/ -lssl -lcrypto -o my_program my_program.c

This is giving me :

ld32: WARNING 84 : /usr/freeware/lib32/libmysqlclient.so is not used for resolving any symbol.
ld32: WARNING 84 : /usr/lib32/libgen.so is not used for resolving any symbol.
ld32: ERROR 33 : Unresolved text symbol "mysql_close" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_init" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_real_connect" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_select_db" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_error" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_real_query" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_errno" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_store_result" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_fetch_row" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_field_count" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_free_result" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: ERROR 33 : Unresolved text symbol "mysql_real_escape_string" -- 1st referenced by /var/tmp//ccfbHcfc.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
*** Error code 1 (bu21)

This is my first time compiling on an SGI. any advice would be welcome.

Dean...K...

Options: ReplyQuote


Subject
Views
Written By
Posted
compiling clients on SGI
3965
January 12, 2005 03:22PM
2567
January 12, 2005 05:20PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.