Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mysql compilation

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I tried to compile a sample program to connect to mysql. Bu t I am getting compile time error messages like this.


c:\mysql\include\mysql_com.h(115) : error C2061: syntax error : identifier 'SOCKET'
c:\mysql\include\mysql_com.h(160) : error C2371: 'Vio' : redefinition; different basic types
c:\mysql\include\mysql_com.h(109) : see declaration of 'Vio'
c:\mysql\include\mysql_com.h(160) : error C2143: syntax error : missing ';' before '*'
c:\mysql\include\mysql_com.h(160) : error C2059: syntax error : ')'
c:\mysql\include\mysql.h(141) : error C2061: syntax error : identifier 'NET'
c:\mysql\include\mysql.h(163) : error C2059: syntax error : '}'
c:\mysql\include\mysql.h(176) : error C2061: syntax error : identifier 'MYSQL'
c:\mysql\include\mysql.h(229) : fatal error C1003: error count exceeds 100; stopping compilation
Error executing cl.exe.

mysql_connect.exe - 102 error(s), 0 warning(s)

Do i need to include any other file also.
Kindly help me

Regards
Rafeeq C E
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top