Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » SQL_mySQL reference problems
SQL_mySQL reference problems [message #1505] Tue, 07 March 2006 14:21 Go to previous message
aplatypus is currently offline  aplatypus
Messages: 11
Registered: March 2006
Location: Newcastle, Australia
Promising Member
Hi all ... Mad

I've noted the other posts relating to the SQL_MYSQL reference programe. I have link errors under windows (mysql v5). The errors seem pretty basic for a "reference application".

There are two other points.

  • The {Setup} / {Automatic Setup} for MYSQL doesn't show the mysql path in te text box.
  • Also I see a duplicate linkage/reference for "__main()". This looks like another linking issue, against mingw this time.


The critical bits of the output are below.

I began this thread to record, (a) how to 'fix' these issues; and (b) To encourage the "reference" samples can be clean builds from user feedback.

Cheers,

Will

Quote:

__[ output ]_____________________
:
:
----- SQL_MySql ( MT MAIN GCC DEBUG DEBUG_FULL BLITZ WIN32 ) (5 / 5)
Linking...
(option '-O 2' ignored)
___main: duplicate
-> used: libmingw32.a:gccmain.o:1
-> discarded: libgcc.a:__main.o:1
14 undefined symbol(s):
_mysql_affected_rows@4 (referenced from c:\bin\upp\out\mysql\mingw.debug_full.mt\mysql.o:1; MySqlSession::IsOpen(void)
const; MySqlSession::IsOpen() const; sEmpNull(char const *); sEmpNull(char const*); ...)
_mysql_close@4 (referenced from c:\bin\upp\out\mysql\mingw.debug_full.mt\mysql.o:1; MySqlSession::IsOpen(void) const; M
ySqlSession::IsOpen() const; sEmpNull(char const *); sEmpNull(char const*); ...)
_mysql_error@4 (referenced from c:\bin\upp\out\mysql\mingw.debug_full.mt\mysql.o:1; MySqlSession::IsOpen(void) const; M
ySqlSession::IsOpen() const; sEmpNull(char const *); sEmpNull(char const*); ...)
_mysql_fetch_field_direct@8 (referenced from

. . . etc


Kind regards,
aplatypus
________________________________________

[Updated on: Tue, 07 March 2006 14:22]

Report message to a moderator

 
Read Message
Read Message
Read Message icon12.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Convert String to SqlVal[SOLVED]
Next Topic: SqlArray and checkboxes
Goto Forum:
  


Current Time: Wed May 15 17:45:03 CEST 2024

Total time taken to generate the page: 0.02802 seconds