Linux mysql ÎÊÌâ
bash-2.05b# gcc -o oo oo.c -I /usr/local/mysql/include -L /usr/local/mysql/lib
/tmp/ccEQAkDG.o(.text+0x1f): In function `main':
: undefined reference to `SQLAllocHandle'
/tmp/ccEQAkDG.o(.text+0x58): In function `main':
: undefined reference to `SQLSetEnvAttr'
/tmp/ccEQAkDG.o(.text+0x88): In function `main':
: undefined reference to `SQLFreeHandle'
/tmp/ccEQAkDG.o(.text+0xa1): In function `main':
: undefined reference to `SQLAllocHandle'
/tmp/ccEQAkDG.o(.text+0xd4): In function `main':
: undefined reference to `SQLFreeHandle'
/tmp/ccEQAkDG.o(.text+0xea): In function `main':
: undefined reference to `SQLSetConnectAttr'
/tmp/ccEQAkDG.o(.text+0x10d): In function `main':
: undefined reference to `SQLConnect'
/tmp/ccEQAkDG.o(.text+0x154): In function `main':
: undefined reference to `SQLGetDiagRec'
/tmp/ccEQAkDG.o(.text+0x17e): In function `main':
: undefined reference to `SQLFreeHandle'
/tmp/ccEQAkDG.o(.text+0x1aa): In function `main':
: undefined reference to `SQLAllocHandle'
/tmp/ccEQAkDG.o(.text+0x1f1): In function `main':
: undefined reference to `SQLGetDiagRec'
/tmp/ccEQAkDG.o(.text+0x21b): In function `main':
: undefined reference to `SQLFreeHandle'
/tmp/ccEQAkDG.o(.text+0x245): In function `main':
Ïà¹ØÎÊ´ð£º
±àÒëÆ÷£ºC-Free4
mysql µ¥¶À°²×°µÄ£¬ÏÖÔÚΪapache+php+mysql¿ÉÒÔʹÓá£
×î½üÔÚÁ·Ï°c£¬c++£»ÏëÓÃc£¬c++Á¬½ÓÏÂÎÒµÄmysql£¬ºÃ¶àµØ·½¶à˵mysql.hÕÒ²»µ½¡£¶øÇÒÎÒmysqlûÓÐËùνµÄincludeÎļþ¼Ð°¡¡£
Íü¸ßÊÖÖ¸µãÒ»¶ ......
ÔÚ°²×°Java±àÒëÆ÷µÄEclipseµÄʱºò£¬¶Ô»·¾³±äÁ¿½øÐÐÁËÅäÖã¬ÔÚ°²×°MySQlµÄʱºòÒ²Òª¶Ô»·¾³±äÁ¿½øÐÐÅäÖã»ÄÇôºóÃæµÄÅäÖûáÓ°ÏìÇ°ÃæµÄEclipseµÄÅäÖÃÂð£¿
Çë´ó¼Ò¶àÖ¸½Ì~£¡Ð»Ð»£¡
²»»á°Ñ£¬ÎÒÕⶼװÁ赀 ÎÒϵͳÀï »¹×°ÁË ......
ÓÐʲôºÃµÄLinux½Ì³ÌÂð£¿
СµÜл¹ý~
[ÎÊÌâµãÊý:0·Ö]
google
¾Ý˵Äñ¸çµÄ˽·¿²Ë²»´í¡£
Äñ¸çµÄLinux˽·¿²Ë
¸ü¶àµÄÔÙÕâÉÏÃæÈ¥ËÑË÷һϺÜLIUNXÊé¼®»¹²»´í
ÒýÓÃ
google
Õý½â
Äñ¸çµÄLinux˽·¿²Ë ......
¸÷λ´óϺ£¬ÎÒÕýÔÚѧϰLinux£¬¿ÉÊÇLinuxͼÐνçÃæºÍÃüÁîÐÐÖ®¼äÇл»Óöµ½À§ÄÑ£¬ÔÚÃüÁîÐÐÏÂÊäÈëstartx£¬²»ÊǽøÈëͼÐνçÃæ
¶øÊdzöÏÖ
ÇëÎʸ÷룬ÕâÊÇΪʲô£¿ ¶øÇÒ°´Ctrl+Alt+F7£¬Ò²²»ÄÜÃüÁîÐнøÈëͼÐνçÃæ¡£&nbs ......