MySQLTalk.org Forum Index MySQLTalk.org
MYSQL discussions groups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compiling MyODBC on NT

 
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> MySQL ODBC
View previous topic :: View next topic  
Author Message
Joseph Shomphe
Guest





PostPosted: Tue Jul 20, 1999 2:43 pm    Post subject: Compiling MyODBC on NT Reply with quote





Hi, Im having a bit of trouble compiling on NT.

Im coming from a gcc background, so please bear with me....

Ive downloaded the source, and it seems to be in Microsoft Dev Studio
format (projects, not workspaces). When I try to compile the source in
the myodbc subfolder, I get many undefined symbols. I searched the
archive and found notes posted on making lib.lib dependent on dbug. I
did this, and then got about a millon error all saying that _strstr is
already defined in LIBCMTD.lib (error LNK 2005).


Does anyone have a WORKSPACE (with all the correct settings, etc) that
can be downloaded that can compile on NT with Visual C++ 5.0 (Pro.)?

Is there something Im doing wrong?


Thanks for the help

[email]-jshomphe (AT) skidmore (DOT) edu[/email]

PS sorry for the crosspost to both win23 and myodbc
Back to top
Mike McCauley
Guest





PostPosted: Wed Jul 21, 1999 7:46 pm    Post subject: Re: Compiling MyODBC on NT Reply with quote



Hi Joseph,

I had the same problem and wondered the same thing.

I had to add the strings, zlip, mysys etc projects into the myodbc workspace,
then add them as dependencies. Then it worked ok and built myodbc.dll with no
errors.

Im not sure if that was the right thing to do, but it worked.

Cheers.

On Jul 20, 10:43am, Joseph Shomphe wrote:
Quote:
Subject: Compiling MyODBC on NT


Hi, Im having a bit of trouble compiling on NT.

Im coming from a gcc background, so please bear with me....

Ive downloaded the source, and it seems to be in Microsoft Dev Studio
format (projects, not workspaces). When I try to compile the source in
the myodbc subfolder, I get many undefined symbols. I searched the
archive and found notes posted on making lib.lib dependent on dbug. I
did this, and then got about a millon error all saying that _strstr is
already defined in LIBCMTD.lib (error LNK 2005).


Does anyone have a WORKSPACE (with all the correct settings, etc) that
can be downloaded that can compile on NT with Visual C++ 5.0 (Pro.)?

Is there something Im doing wrong?


Thanks for the help

[email]-jshomphe (AT) skidmore (DOT) edu[/email]

PS sorry for the crosspost to both win23 and myodbc

---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail [email]myodbc-thread456 (AT) lists (DOT) mysql.com[/email]

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail [email]myodbc-unsubscribe (AT) lists (DOT) mysql.com[/email] instead.


-- End of excerpt from Joseph Shomphe



--
Mike McCauley [email]mikem (AT) open (DOT) com.au[/email]
Open System Consultants Pty. Ltd Unix, Perl, Motif, C++, WWW
24 Bateman St Hampton, VIC 3188 Australia http://www.open.com.au
Phone +61 3 9598-0985 Fax +61 3 9598-0955

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody

Back to top
Display posts from previous:   
Post new topic   Reply to topic    MySQLTalk.org Forum Index -> MySQL ODBC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.