Hi, I have tried to install the module DBD::mysql but without success.
I have tried 2 ways: perl -MCPAN -e 'install DBD::mysql;' And I have also tried downloading the archive from search.cpan.org, then using perl Makefile.PL, make,... After trying to install it using the CPAN module or after the "make" command, it gives me the errors specified below. I am trying to install it under Fedora 2, just after I have installed GCC using the following command: yum install gcc This downloaded and installed GCC with a single error but it told me that the installation went successfully. Here are the errors: In file included from dbdimp.c:19: dbdimp.h:21:49: mysql.h: No such file or directory dbdimp.h:22:49: errmsg.h: No such file or directory In file included from dbdimp.c:19: dbdimp.h:106: error: syntax error before "MYSQL" dbdimp.h:106: warning: no semicolon at end of struct or union dbdimp.h:117: error: syntax error before '}' token dbdimp.h:146: error: syntax error before "MYSQL_RES" dbdimp.h:146: warning: no semicolon at end of struct or union dbdimp.h:159: error: syntax error before '}' token In file included from dbdimp.c:19: dbdimp.h:195: error: syntax error before '*' token dbdimp.h:198: error: syntax error before "MYSQL_RES" dbdimp.h:202: error: syntax error before '*' token dbdimp.h:202: error: syntax error before '*' token dbdimp.h:203: warning: data definition has no type or storage class dbdimp.c:122: error: syntax error before '*' token dbdimp.c: In function `ParseParam': dbdimp.c:131: error: `slenPtr' undeclared (first use in this function) dbdimp.c:131: error: (Each undeclared identifier is reported only once dbdimp.c:131: error: for each function it appears in.) dbdimp.c:133: error: `numParams' undeclared (first use in this function) dbdimp.c:137: error: `statement' undeclared (first use in this function) dbdimp.c:247: error: `sock' undeclared (first use in this function) dbdimp.c: At top level: dbdimp.c:303: error: `FIELD_TYPE_VAR_STRING' undeclared here (not in a function) dbdimp.c:303: error: initializer element is not constant dbdimp.c:303: error: (near initialization for `SQL_GET_TYPE_INFO_values[0].native_type') dbdimp.c:305: error: initializer element is not constant dbdimp.c:305: error: (near initialization for `SQL_GET_TYPE_INFO_values[0]') dbdimp.c:310: error: `FIELD_TYPE_DECIMAL' undeclared here (not in a function) dbdimp.c:310: error: initializer element is not constant dbdimp.c:310: error: (near initialization for `SQL_GET_TYPE_INFO_values[1].native_type') dbdimp.c:312: error: initializer element is not constant dbdimp.c:312: error: (near initialization for `SQL_GET_TYPE_INFO_values[1]') dbdimp.c:317: error: `FIELD_TYPE_TINY' undeclared here (not in a function) dbdimp.c:317: error: initializer element is not constant dbdimp.c:317: error: (near initialization for `SQL_GET_TYPE_INFO_values[2].native_type') dbdimp.c:319: error: initializer element is not constant dbdimp.c:319: error: (near initialization for `SQL_GET_TYPE_INFO_values[2]') dbdimp.c:324: error: `FIELD_TYPE_SHORT' undeclared here (not in a function) dbdimp.c:324: error: initializer element is not constant dbdimp.c:324: error: (near initialization for `SQL_GET_TYPE_INFO_values[3].native_type') dbdimp.c:326: error: initializer element is not constant dbdimp.c:326: error: (near initialization for `SQL_GET_TYPE_INFO_values[3]') dbdimp.c:331: error: `FIELD_TYPE_LONG' undeclared here (not in a function) dbdimp.c:331: error: initializer element is not constant dbdimp.c:331: error: (near initialization for `SQL_GET_TYPE_INFO_values[4].native_type') dbdimp.c:333: error: initializer element is not constant dbdimp.c:333: error: (near initialization for `SQL_GET_TYPE_INFO_values[4]') dbdimp.c:338: error: `FIELD_TYPE_FLOAT' undeclared here (not in a function) dbdimp.c:338: error: initializer element is not constant dbdimp.c:338: error: (near initialization for `SQL_GET_TYPE_INFO_values[5].native_type') dbdimp.c:340: error: initializer element is not constant dbdimp.c:340: error: (near initialization for `SQL_GET_TYPE_INFO_values[5]') dbdimp.c:345: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a function) dbdimp.c:345: error: initializer element is not constant dbdimp.c:345: error: (near initialization for `SQL_GET_TYPE_INFO_values[6].native_type') dbdimp.c:347: error: initializer element is not constant dbdimp.c:347: error: (near initialization for `SQL_GET_TYPE_INFO_values[6]') dbdimp.c:352: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a function) dbdimp.c:352: error: initializer element is not constant dbdimp.c:352: error: (near initialization for `SQL_GET_TYPE_INFO_values[7].native_type') dbdimp.c:354: error: initializer element is not constant dbdimp.c:354: error: (near initialization for `SQL_GET_TYPE_INFO_values[7]') dbdimp.c:362: error: `FIELD_TYPE_TIMESTAMP' undeclared here (not in a function) dbdimp.c:362: error: initializer element is not constant dbdimp.c:362: error: (near initialization for `SQL_GET_TYPE_INFO_values[8].native_type') dbdimp.c:364: error: initializer element is not constant dbdimp.c:364: error: (near initialization for `SQL_GET_TYPE_INFO_values[8]') dbdimp.c:369: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a function) dbdimp.c:369: error: initializer element is not constant dbdimp.c:369: error: (near initialization for `SQL_GET_TYPE_INFO_values[9].native_type') dbdimp.c:371: error: initializer element is not constant dbdimp.c:371: error: (near initialization for `SQL_GET_TYPE_INFO_values[9]') dbdimp.c:376: error: `FIELD_TYPE_INT24' undeclared here (not in a function) dbdimp.c:376: error: initializer element is not constant dbdimp.c:376: error: (near initialization for `SQL_GET_TYPE_INFO_values[10].native_type') dbdimp.c:378: error: initializer element is not constant dbdimp.c:378: error: (near initialization for `SQL_GET_TYPE_INFO_values[10]') dbdimp.c:383: error: `FIELD_TYPE_DATE' undeclared here (not in a function) dbdimp.c:383: error: initializer element is not constant dbdimp.c:383: error: (near initialization for `SQL_GET_TYPE_INFO_values[11].native_type') dbdimp.c:385: error: initializer element is not constant dbdimp.c:385: error: (near initialization for `SQL_GET_TYPE_INFO_values[11]') dbdimp.c:390: error: `FIELD_TYPE_TIME' undeclared here (not in a function) dbdimp.c:390: error: initializer element is not constant dbdimp.c:390: error: (near initialization for `SQL_GET_TYPE_INFO_values[12].native_type') dbdimp.c:392: error: initializer element is not constant dbdimp.c:392: error: (near initialization for `SQL_GET_TYPE_INFO_values[12]') dbdimp.c:397: error: `FIELD_TYPE_DATETIME' undeclared here (not in a function) dbdimp.c:397: error: initializer element is not constant dbdimp.c:397: error: (near initialization for `SQL_GET_TYPE_INFO_values[13].native_type') dbdimp.c:399: error: initializer element is not constant dbdimp.c:399: error: (near initialization for `SQL_GET_TYPE_INFO_values[13]') dbdimp.c:404: error: `FIELD_TYPE_YEAR' undeclared here (not in a function) dbdimp.c:404: error: initializer element is not constant dbdimp.c:404: error: (near initialization for `SQL_GET_TYPE_INFO_values[14].native_type') dbdimp.c:406: error: initializer element is not constant dbdimp.c:406: error: (near initialization for `SQL_GET_TYPE_INFO_values[14]') dbdimp.c:411: error: `FIELD_TYPE_NEWDATE' undeclared here (not in a function) dbdimp.c:411: error: initializer element is not constant dbdimp.c:411: error: (near initialization for `SQL_GET_TYPE_INFO_values[15].native_type') dbdimp.c:413: error: initializer element is not constant dbdimp.c:413: error: (near initialization for `SQL_GET_TYPE_INFO_values[15]') dbdimp.c:418: error: `FIELD_TYPE_ENUM' undeclared here (not in a function) dbdimp.c:418: error: initializer element is not constant dbdimp.c:418: error: (near initialization for `SQL_GET_TYPE_INFO_values[16].native_type') dbdimp.c:420: error: initializer element is not constant dbdimp.c:420: error: (near initialization for `SQL_GET_TYPE_INFO_values[16]') dbdimp.c:425: error: `FIELD_TYPE_SET' undeclared here (not in a function) dbdimp.c:425: error: initializer element is not constant dbdimp.c:425: error: (near initialization for `SQL_GET_TYPE_INFO_values[17].native_type') dbdimp.c:427: error: initializer element is not constant dbdimp.c:427: error: (near initialization for `SQL_GET_TYPE_INFO_values[17]') dbdimp.c:432: error: `FIELD_TYPE_BLOB' undeclared here (not in a function) dbdimp.c:432: error: initializer element is not constant dbdimp.c:432: error: (near initialization for `SQL_GET_TYPE_INFO_values[18].native_type') dbdimp.c:434: error: initializer element is not constant dbdimp.c:434: error: (near initialization for `SQL_GET_TYPE_INFO_values[18]') dbdimp.c:439: error: `FIELD_TYPE_TINY_BLOB' undeclared here (not in a function) dbdimp.c:439: error: initializer element is not constant dbdimp.c:439: error: (near initialization for `SQL_GET_TYPE_INFO_values[19].native_type') dbdimp.c:441: error: initializer element is not constant dbdimp.c:441: error: (near initialization for `SQL_GET_TYPE_INFO_values[19]') dbdimp.c:446: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a function) dbdimp.c:446: error: initializer element is not constant dbdimp.c:446: error: (near initialization for `SQL_GET_TYPE_INFO_values[20].native_type') dbdimp.c:448: error: initializer element is not constant dbdimp.c:448: error: (near initialization for `SQL_GET_TYPE_INFO_values[20]') dbdimp.c:453: error: `FIELD_TYPE_LONG_BLOB' undeclared here (not in a function) dbdimp.c:453: error: initializer element is not constant dbdimp.c:453: error: (near initialization for `SQL_GET_TYPE_INFO_values[21].native_type') dbdimp.c:455: error: initializer element is not constant dbdimp.c:455: error: (near initialization for `SQL_GET_TYPE_INFO_values[21]') dbdimp.c:460: error: `FIELD_TYPE_STRING' undeclared here (not in a function) dbdimp.c:460: error: initializer element is not constant dbdimp.c:460: error: (near initialization for `SQL_GET_TYPE_INFO_values[22].native_type') dbdimp.c:462: error: initializer element is not constant dbdimp.c:462: error: (near initialization for `SQL_GET_TYPE_INFO_values[22]') dbdimp.c:468: error: `FIELD_TYPE_DECIMAL' undeclared here (not in a function) dbdimp.c:468: error: initializer element is not constant dbdimp.c:468: error: (near initialization for `SQL_GET_TYPE_INFO_values[23].native_type') dbdimp.c:469: error: initializer element is not constant dbdimp.c:469: error: (near initialization for `SQL_GET_TYPE_INFO_values[23]') dbdimp.c:480: error: `FIELD_TYPE_TINY' undeclared here (not in a function) dbdimp.c:480: error: initializer element is not constant dbdimp.c:480: error: (near initialization for `SQL_GET_TYPE_INFO_values[24].native_type') dbdimp.c:481: error: initializer element is not constant dbdimp.c:481: error: (near initialization for `SQL_GET_TYPE_INFO_values[24]') dbdimp.c:486: error: `FIELD_TYPE_SHORT' undeclared here (not in a function) dbdimp.c:486: error: initializer element is not constant dbdimp.c:486: error: (near initialization for `SQL_GET_TYPE_INFO_values[25].native_type') dbdimp.c:487: error: initializer element is not constant dbdimp.c:487: error: (near initialization for `SQL_GET_TYPE_INFO_values[25]') dbdimp.c:492: error: `FIELD_TYPE_INT24' undeclared here (not in a function) dbdimp.c:492: error: initializer element is not constant dbdimp.c:492: error: (near initialization for `SQL_GET_TYPE_INFO_values[26].native_type') dbdimp.c:493: error: initializer element is not constant dbdimp.c:493: error: (near initialization for `SQL_GET_TYPE_INFO_values[26]') dbdimp.c:498: error: `FIELD_TYPE_LONG' undeclared here (not in a function) dbdimp.c:498: error: initializer element is not constant dbdimp.c:498: error: (near initialization for `SQL_GET_TYPE_INFO_values[27].native_type') dbdimp.c:499: error: initializer element is not constant dbdimp.c:499: error: (near initialization for `SQL_GET_TYPE_INFO_values[27]') dbdimp.c:504: error: `FIELD_TYPE_LONG' undeclared here (not in a function) dbdimp.c:504: error: initializer element is not constant dbdimp.c:504: error: (near initialization for `SQL_GET_TYPE_INFO_values[28].native_type') dbdimp.c:505: error: initializer element is not constant dbdimp.c:505: error: (near initialization for `SQL_GET_TYPE_INFO_values[28]') dbdimp.c:510: error: `FIELD_TYPE_LONG' undeclared here (not in a function) dbdimp.c:510: error: initializer element is not constant dbdimp.c:510: error: (near initialization for `SQL_GET_TYPE_INFO_values[29].native_type') dbdimp.c:511: error: initializer element is not constant dbdimp.c:511: error: (near initialization for `SQL_GET_TYPE_INFO_values[29]') dbdimp.c:516: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a function) dbdimp.c:516: error: initializer element is not constant dbdimp.c:516: error: (near initialization for `SQL_GET_TYPE_INFO_values[30].native_type') dbdimp.c:517: error: initializer element is not constant dbdimp.c:517: error: (near initialization for `SQL_GET_TYPE_INFO_values[30]') dbdimp.c:522: error: `FIELD_TYPE_BLOB' undeclared here (not in a function) dbdimp.c:522: error: initializer element is not constant dbdimp.c:522: error: (near initialization for `SQL_GET_TYPE_INFO_values[31].native_type') dbdimp.c:523: error: initializer element is not constant dbdimp.c:523: error: (near initialization for `SQL_GET_TYPE_INFO_values[31]') dbdimp.c:528: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a function) dbdimp.c:528: error: initializer element is not constant dbdimp.c:528: error: (near initialization for `SQL_GET_TYPE_INFO_values[32].native_type') dbdimp.c:529: error: initializer element is not constant dbdimp.c:529: error: (near initialization for `SQL_GET_TYPE_INFO_values[32]') dbdimp.c:539: error: `FIELD_TYPE_INT24' undeclared here (not in a function) dbdimp.c:539: error: initializer element is not constant dbdimp.c:539: error: (near initialization for `SQL_GET_TYPE_INFO_values[33].native_type') dbdimp.c:540: error: initializer element is not constant dbdimp.c:540: error: (near initialization for `SQL_GET_TYPE_INFO_values[33]') dbdimp.c:546: error: `FIELD_TYPE_TINY' undeclared here (not in a function) dbdimp.c:546: error: initializer element is not constant dbdimp.c:546: error: (near initialization for `SQL_GET_TYPE_INFO_values[34].native_type') dbdimp.c:547: error: initializer element is not constant dbdimp.c:547: error: (near initialization for `SQL_GET_TYPE_INFO_values[34]') dbdimp.c:553: error: `FIELD_TYPE_SHORT' undeclared here (not in a function) dbdimp.c:553: error: initializer element is not constant dbdimp.c:553: error: (near initialization for `SQL_GET_TYPE_INFO_values[35].native_type') dbdimp.c:554: error: initializer element is not constant dbdimp.c:554: error: (near initialization for `SQL_GET_TYPE_INFO_values[35]') dbdimp.c:560: error: `FIELD_TYPE_LONG' undeclared here (not in a function) dbdimp.c:560: error: initializer element is not constant dbdimp.c:560: error: (near initialization for `SQL_GET_TYPE_INFO_values[36].native_type') dbdimp.c:561: error: initializer element is not constant dbdimp.c:561: error: (near initialization for `SQL_GET_TYPE_INFO_values[36]') dbdimp.c:567: error: `FIELD_TYPE_INT24' undeclared here (not in a function) dbdimp.c:567: error: initializer element is not constant dbdimp.c:567: error: (near initialization for `SQL_GET_TYPE_INFO_values[37].native_type') dbdimp.c:568: error: initializer element is not constant dbdimp.c:568: error: (near initialization for `SQL_GET_TYPE_INFO_values[37]') dbdimp.c:574: error: `FIELD_TYPE_TINY' undeclared here (not in a function) dbdimp.c:574: error: initializer element is not constant dbdimp.c:574: error: (near initialization for `SQL_GET_TYPE_INFO_values[38].native_type') dbdimp.c:575: error: initializer element is not constant dbdimp.c:575: error: (near initialization for `SQL_GET_TYPE_INFO_values[38]') dbdimp.c:581: error: `FIELD_TYPE_DECIMAL' undeclared here (not in a function) dbdimp.c:581: error: initializer element is not constant dbdimp.c:581: error: (near initialization for `SQL_GET_TYPE_INFO_values[39].native_type') dbdimp.c:582: error: initializer element is not constant dbdimp.c:582: error: (near initialization for `SQL_GET_TYPE_INFO_values[39]') dbdimp.c:588: error: `FIELD_TYPE_LONG' undeclared here (not in a function) dbdimp.c:588: error: initializer element is not constant dbdimp.c:588: error: (near initialization for `SQL_GET_TYPE_INFO_values[40].native_type') dbdimp.c:589: error: initializer element is not constant dbdimp.c:589: error: (near initialization for `SQL_GET_TYPE_INFO_values[40]') dbdimp.c:595: error: `FIELD_TYPE_INT24' undeclared here (not in a function) dbdimp.c:595: error: initializer element is not constant dbdimp.c:595: error: (near initialization for `SQL_GET_TYPE_INFO_values[41].native_type') dbdimp.c:596: error: initializer element is not constant dbdimp.c:596: error: (near initialization for `SQL_GET_TYPE_INFO_values[41]') dbdimp.c:602: error: `FIELD_TYPE_SHORT' undeclared here (not in a function) dbdimp.c:602: error: initializer element is not constant dbdimp.c:602: error: (near initialization for `SQL_GET_TYPE_INFO_values[42].native_type') dbdimp.c:603: error: initializer element is not constant dbdimp.c:603: error: (near initialization for `SQL_GET_TYPE_INFO_values[42]') dbdimp.c:609: error: `FIELD_TYPE_LONG' undeclared here (not in a function) dbdimp.c:609: error: initializer element is not constant dbdimp.c:609: error: (near initialization for `SQL_GET_TYPE_INFO_values[43].native_type') dbdimp.c:610: error: initializer element is not constant dbdimp.c:610: error: (near initialization for `SQL_GET_TYPE_INFO_values[43]') dbdimp.c:616: error: `FIELD_TYPE_LONG_BLOB' undeclared here (not in a function) dbdimp.c:616: error: initializer element is not constant dbdimp.c:616: error: (near initialization for `SQL_GET_TYPE_INFO_values[44].native_type') dbdimp.c:617: error: initializer element is not constant dbdimp.c:617: error: (near initialization for `SQL_GET_TYPE_INFO_values[44]') dbdimp.c:623: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a function) dbdimp.c:623: error: initializer element is not constant dbdimp.c:623: error: (near initialization for `SQL_GET_TYPE_INFO_values[45].native_type') dbdimp.c:624: error: initializer element is not constant dbdimp.c:624: error: (near initialization for `SQL_GET_TYPE_INFO_values[45]') dbdimp.c:630: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a function) dbdimp.c:630: error: initializer element is not constant dbdimp.c:630: error: (near initialization for `SQL_GET_TYPE_INFO_values[46].native_type') dbdimp.c:631: error: initializer element is not constant dbdimp.c:631: error: (near initialization for `SQL_GET_TYPE_INFO_values[46]') dbdimp.c:637: error: `FIELD_TYPE_LONG' undeclared here (not in a function) dbdimp.c:637: error: initializer element is not constant dbdimp.c:637: error: (near initialization for `SQL_GET_TYPE_INFO_values[47].native_type') dbdimp.c:638: error: initializer element is not constant dbdimp.c:638: error: (near initialization for `SQL_GET_TYPE_INFO_values[47]') dbdimp.c:644: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a function) dbdimp.c:644: error: initializer element is not constant dbdimp.c:644: error: (near initialization for `SQL_GET_TYPE_INFO_values[48].native_type') dbdimp.c:645: error: initializer element is not constant dbdimp.c:645: error: (near initialization for `SQL_GET_TYPE_INFO_values[48]') dbdimp.c:651: error: `FIELD_TYPE_TINY' undeclared here (not in a function) dbdimp.c:651: error: initializer element is not constant dbdimp.c:651: error: (near initialization for `SQL_GET_TYPE_INFO_values[49].native_type') dbdimp.c:652: error: initializer element is not constant dbdimp.c:652: error: (near initialization for `SQL_GET_TYPE_INFO_values[49]') dbdimp.c:658: error: `FIELD_TYPE_INT24' undeclared here (not in a function) dbdimp.c:658: error: initializer element is not constant dbdimp.c:658: error: (near initialization for `SQL_GET_TYPE_INFO_values[50].native_type') dbdimp.c:659: error: initializer element is not constant dbdimp.c:659: error: (near initialization for `SQL_GET_TYPE_INFO_values[50]') dbdimp.c:665: error: `FIELD_TYPE_FLOAT' undeclared here (not in a function) dbdimp.c:665: error: initializer element is not constant dbdimp.c:665: error: (near initialization for `SQL_GET_TYPE_INFO_values[51].native_type') dbdimp.c:666: error: initializer element is not constant dbdimp.c:666: error: (near initialization for `SQL_GET_TYPE_INFO_values[51]') dbdimp.c:672: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a function) dbdimp.c:672: error: initializer element is not constant dbdimp.c:672: error: (near initialization for `SQL_GET_TYPE_INFO_values[52].native_type') dbdimp.c:673: error: initializer element is not constant dbdimp.c:673: error: (near initialization for `SQL_GET_TYPE_INFO_values[52]') dbdimp.c:679: error: `FIELD_TYPE_TINY' undeclared here (not in a function) dbdimp.c:679: error: initializer element is not constant dbdimp.c:679: error: (near initialization for `SQL_GET_TYPE_INFO_values[53].native_type') dbdimp.c:680: error: initializer element is not constant dbdimp.c:680: error: (near initialization for `SQL_GET_TYPE_INFO_values[53]') dbdimp.c:686: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a function) dbdimp.c:686: error: initializer element is not constant dbdimp.c:686: error: (near initialization for `SQL_GET_TYPE_INFO_values[54].native_type') dbdimp.c:687: error: initializer element is not constant dbdimp.c:687: error: (near initialization for `SQL_GET_TYPE_INFO_values[54]') dbdimp.c: In function `native2sql': dbdimp.c:695: error: `FIELD_TYPE_VAR_STRING' undeclared (first use in this function) dbdimp.c:696: error: `FIELD_TYPE_DECIMAL' undeclared (first use in this function) dbdimp.c:697: error: `FIELD_TYPE_TINY' undeclared (first use in this function) dbdimp.c:698: error: `FIELD_TYPE_SHORT' undeclared (first use in this function) dbdimp.c:699: error: `FIELD_TYPE_LONG' undeclared (first use in this function) dbdimp.c:700: error: `FIELD_TYPE_FLOAT' undeclared (first use in this function) dbdimp.c:703: error: `FIELD_TYPE_DOUBLE' undeclared (first use in this function) dbdimp.c:704: error: `FIELD_TYPE_TIMESTAMP' undeclared (first use in this function) dbdimp.c:705: error: `FIELD_TYPE_LONGLONG' undeclared (first use in this function) dbdimp.c:706: error: `FIELD_TYPE_INT24' undeclared (first use in this function) dbdimp.c:707: error: `FIELD_TYPE_DATE' undeclared (first use in this function) dbdimp.c:708: error: `FIELD_TYPE_TIME' undeclared (first use in this function) dbdimp.c:709: error: `FIELD_TYPE_DATETIME' undeclared (first use in this function) dbdimp.c:710: error: `FIELD_TYPE_YEAR' undeclared (first use in this function) dbdimp.c:711: error: `FIELD_TYPE_NEWDATE' undeclared (first use in this function) dbdimp.c:712: error: `FIELD_TYPE_ENUM' undeclared (first use in this function) dbdimp.c:713: error: `FIELD_TYPE_SET' undeclared (first use in this function) dbdimp.c:714: error: `FIELD_TYPE_BLOB' undeclared (first use in this function) dbdimp.c:715: error: `FIELD_TYPE_TINY_BLOB' undeclared (first use in this function) dbdimp.c:716: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared (first use in this function) dbdimp.c:717: error: `FIELD_TYPE_LONG_BLOB' undeclared (first use in this function) dbdimp.c:718: error: `FIELD_TYPE_STRING' undeclared (first use in this function) dbdimp.c: At top level: dbdimp.c:817: error: syntax error before '*' token dbdimp.c:817: error: syntax error before '*' token dbdimp.c: In function `mysql_dr_connect': dbdimp.c:821: error: `MYSQL' undeclared (first use in this function) dbdimp.c:821: error: `result' undeclared (first use in this function) dbdimp.c:823: error: `host' undeclared (first use in this function) dbdimp.c:824: error: `port' undeclared (first use in this function) dbdimp.c:829: error: `user' undeclared (first use in this function) dbdimp.c:830: error: `password' undeclared (first use in this function) dbdimp.c:844: error: `CLIENT_FOUND_ROWS' undeclared (first use in this function) dbdimp.c:846: error: `sock' undeclared (first use in this function) dbdimp.c:848: error: `imp_dbh' undeclared (first use in this function) dbdimp.c:866: error: `MYSQL_OPT_COMPRESS' undeclared (first use in this function) dbdimp.c:875: error: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function) dbdimp.c:886: error: `MYSQL_READ_DEFAULT_FILE' undeclared (first use in this function) dbdimp.c:896: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function) dbdimp.c:962: error: `dbname' undeclared (first use in this function) dbdimp.c:963: error: `unixSocket' undeclared (first use in this function) dbdimp.c: In function `_MyLogin': dbdimp.c:991: error: dereferencing pointer to incomplete type dbdimp.c:1048: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_db_login': dbdimp.c:1084: error: dereferencing pointer to incomplete type dbdimp.c:1085: error: dereferencing pointer to incomplete type dbdimp.c:1088: error: dereferencing pointer to incomplete type dbdimp.c:1089: error: dereferencing pointer to incomplete type dbdimp.c:1089: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast dbdimp.c:1096: error: dereferencing pointer to incomplete type dbdimp.c:1096: error: dereferencing pointer to incomplete type dbdimp.c:1096: error: dereferencing pointer to incomplete type dbdimp.c:1101: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_db_commit': dbdimp.c:1125: error: dereferencing pointer to incomplete type dbdimp.c:1131: error: dereferencing pointer to incomplete type dbdimp.c:1132: error: dereferencing pointer to incomplete type dbdimp.c:1133: error: dereferencing pointer to incomplete type dbdimp.c:1134: error: dereferencing pointer to incomplete type dbdimp.c:1134: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast dbdimp.c: In function `mysql_db_rollback': dbdimp.c:1146: error: dereferencing pointer to incomplete type dbdimp.c:1152: error: dereferencing pointer to incomplete type dbdimp.c:1153: error: dereferencing pointer to incomplete type dbdimp.c:1154: error: dereferencing pointer to incomplete type dbdimp.c:1155: error: dereferencing pointer to incomplete type dbdimp.c:1155: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast dbdimp.c: In function `mysql_db_disconnect': dbdimp.c:1187: error: dereferencing pointer to incomplete type dbdimp.c:1187: error: dereferencing pointer to incomplete type dbdimp.c:1187: error: dereferencing pointer to incomplete type dbdimp.c:1190: error: dereferencing pointer to incomplete type dbdimp.c:1191: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_db_destroy': dbdimp.c:1251: error: dereferencing pointer to incomplete type dbdimp.c:1252: error: dereferencing pointer to incomplete type dbdimp.c:1253: error: dereferencing pointer to incomplete type dbdimp.c:1254: error: dereferencing pointer to incomplete type dbdimp.c:1263: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_db_STORE_attrib': dbdimp.c:1291: error: dereferencing pointer to incomplete type dbdimp.c:1292: error: dereferencing pointer to incomplete type dbdimp.c:1298: error: dereferencing pointer to incomplete type dbdimp.c:1302: error: dereferencing pointer to incomplete type dbdimp.c:1308: error: dereferencing pointer to incomplete type dbdimp.c:1308: error: dereferencing pointer to incomplete type dbdimp.c:1312: error: dereferencing pointer to incomplete type dbdimp.c:1318: error: dereferencing pointer to incomplete type dbdimp.c:1318: error: dereferencing pointer to incomplete type dbdimp.c:1336: error: dereferencing pointer to incomplete type dbdimp.c: At top level: dbdimp.c:1365: error: syntax error before "val" dbdimp.c: In function `my_ulonglong2str': dbdimp.c:1366: error: `val' undeclared (first use in this function) dbdimp.c: In function `mysql_db_FETCH_attrib': dbdimp.c:1389: error: dereferencing pointer to incomplete type dbdimp.c:1390: error: dereferencing pointer to incomplete type dbdimp.c:1406: error: dereferencing pointer to incomplete type dbdimp.c:1410: error: dereferencing pointer to incomplete type dbdimp.c:1412: error: dereferencing pointer to incomplete type dbdimp.c:1412: warning: initialization makes pointer from integer without a cast dbdimp.c:1416: error: dereferencing pointer to incomplete type dbdimp.c:1416: warning: initialization makes pointer from integer without a cast dbdimp.c:1423: error: dereferencing pointer to incomplete type dbdimp.c:1425: error: dereferencing pointer to incomplete type dbdimp.c:1432: error: dereferencing pointer to incomplete type dbdimp.c:1432: warning: initialization makes pointer from integer without a cast dbdimp.c:1439: error: dereferencing pointer to incomplete type dbdimp.c:1439: warning: initialization makes pointer from integer without a cast dbdimp.c:1444: error: dereferencing pointer to incomplete type dbdimp.c:1449: error: dereferencing pointer to incomplete type dbdimp.c:1454: error: dereferencing pointer to incomplete type dbdimp.c:1454: warning: initialization makes pointer from integer without a cast dbdimp.c:1458: error: dereferencing pointer to incomplete type dbdimp.c:1460: error: dereferencing pointer to incomplete type dbdimp.c:1462: error: dereferencing pointer to incomplete type dbdimp.c:1462: warning: initialization makes pointer from integer without a cast dbdimp.c:1467: error: dereferencing pointer to incomplete type dbdimp.c:1467: warning: initialization makes pointer from integer without a cast dbdimp.c:1474: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_st_prepare': dbdimp.c:1512: error: dereferencing pointer to incomplete type dbdimp.c:1517: error: dereferencing pointer to incomplete type dbdimp.c:1518: error: dereferencing pointer to incomplete type dbdimp.c:1519: error: dereferencing pointer to incomplete type dbdimp.c:1522: error: dereferencing pointer to incomplete type dbdimp.c:1525: error: dereferencing pointer to incomplete type dbdimp.c:1528: error: dereferencing pointer to incomplete type dbdimp.c:1534: error: dereferencing pointer to incomplete type dbdimp.c:1534: error: dereferencing pointer to incomplete type dbdimp.c:1535: error: dereferencing pointer to incomplete type dbdimp.c: At top level: dbdimp.c:1560: error: syntax error before "MYSQL_RES" dbdimp.c: In function `mysql_st_internal_execute': dbdimp.c:1563: error: `statement' undeclared (first use in this function) dbdimp.c:1564: error: `svsock' undeclared (first use in this function) dbdimp.c:1564: error: `numParams' undeclared (first use in this function) dbdimp.c:1573: error: `cdaPtr' undeclared (first use in this function) dbdimp.c:1595: error: `h' undeclared (first use in this function) dbdimp.c:1612: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast dbdimp.c:1624: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast dbdimp.c:1633: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast dbdimp.c: In function `mysql_st_execute': dbdimp.c:1659: error: dereferencing pointer to incomplete type dbdimp.c:1679: error: dereferencing pointer to incomplete type dbdimp.c:1684: error: dereferencing pointer to incomplete type dbdimp.c:1686: error: dereferencing pointer to incomplete type dbdimp.c:1690: error: dereferencing pointer to incomplete type dbdimp.c:1692: error: dereferencing pointer to incomplete type dbdimp.c:1693: error: dereferencing pointer to incomplete type dbdimp.c:1694: error: dereferencing pointer to incomplete type dbdimp.c:1695: error: dereferencing pointer to incomplete type dbdimp.c:1696: error: dereferencing pointer to incomplete type dbdimp.c:1698: error: dereferencing pointer to incomplete type dbdimp.c:1699: error: dereferencing pointer to incomplete type dbdimp.c:1699: error: dereferencing pointer to incomplete type dbdimp.c:1702: error: dereferencing pointer to incomplete type dbdimp.c:1702: error: dereferencing pointer to incomplete type dbdimp.c:1702: error: dereferencing pointer to incomplete type dbdimp.c:1703: error: dereferencing pointer to incomplete type dbdimp.c:1703: error: dereferencing pointer to incomplete type dbdimp.c:1704: error: dereferencing pointer to incomplete type dbdimp.c:1710: error: dereferencing pointer to incomplete type dbdimp.c:1713: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_describe': dbdimp.c:1733: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_st_fetch': dbdimp.c:1758: error: `MYSQL_ROW' undeclared (first use in this function) dbdimp.c:1758: error: syntax error before "cols" dbdimp.c:1761: error: dereferencing pointer to incomplete type dbdimp.c:1768: error: dereferencing pointer to incomplete type dbdimp.c:1773: error: dereferencing pointer to incomplete type dbdimp.c:1774: error: `cols' undeclared (first use in this function) dbdimp.c:1774: error: dereferencing pointer to incomplete type dbdimp.c:1775: error: dereferencing pointer to incomplete type dbdimp.c:1776: error: dereferencing pointer to incomplete type dbdimp.c:1777: error: dereferencing pointer to incomplete type dbdimp.c:1778: error: dereferencing pointer to incomplete type dbdimp.c:1778: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast dbdimp.c:1780: error: dereferencing pointer to incomplete type dbdimp.c:1785: error: dereferencing pointer to incomplete type dbdimp.c:1785: warning: assignment makes pointer from integer without a cast dbdimp.c: In function `mysql_st_finish': dbdimp.c:1836: error: dereferencing pointer to incomplete type dbdimp.c:1837: error: dereferencing pointer to incomplete type dbdimp.c:1838: error: dereferencing pointer to incomplete type dbdimp.c:1840: error: dereferencing pointer to incomplete type dbdimp.c:1840: error: dereferencing pointer to incomplete type dbdimp.c:1840: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_st_destroy': dbdimp.c:1866: error: dereferencing pointer to incomplete type dbdimp.c:1866: error: dereferencing pointer to incomplete type dbdimp.c:1867: error: dereferencing pointer to incomplete type dbdimp.c:1873: error: dereferencing pointer to incomplete type dbdimp.c:1878: error: dereferencing pointer to incomplete type dbdimp.c:1880: error: dereferencing pointer to incomplete type dbdimp.c:1883: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_st_STORE_attrib': dbdimp.c:1916: error: dereferencing pointer to incomplete type dbdimp.c: At top level: dbdimp.c:1961: error: syntax error before "MYSQL_RES" dbdimp.c: In function `mysql_st_FETCH_internal': dbdimp.c:1962: error: `sth' undeclared (first use in this function) dbdimp.c:1964: error: `MYSQL_FIELD' undeclared (first use in this function) dbdimp.c:1964: error: `curField' undeclared (first use in this function) dbdimp.c:1969: error: `what' undeclared (first use in this function) dbdimp.c:1975: error: `cacheit' undeclared (first use in this function) dbdimp.c:1975: error: dereferencing pointer to incomplete type dbdimp.c:1976: error: dereferencing pointer to incomplete type dbdimp.c:1981: error: `res' undeclared (first use in this function) dbdimp.c:2036: error: `PRI_KEY_FLAG' undeclared (first use in this function) dbdimp.c:2036: error: `UNIQUE_KEY_FLAG' undeclared (first use in this function) dbdimp.c:2036: error: `MULTIPLE_KEY_FLAG' undeclared (first use in this function) dbdimp.c:2060: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_st_FETCH_attrib': dbdimp.c:2108: error: dereferencing pointer to incomplete type dbdimp.c:2110: error: dereferencing pointer to incomplete type dbdimp.c:2115: error: dereferencing pointer to incomplete type dbdimp.c:2120: error: dereferencing pointer to incomplete type dbdimp.c:2125: error: dereferencing pointer to incomplete type dbdimp.c:2132: error: dereferencing pointer to incomplete type dbdimp.c:2137: error: dereferencing pointer to incomplete type dbdimp.c:2142: error: dereferencing pointer to incomplete type dbdimp.c:2144: error: dereferencing pointer to incomplete type dbdimp.c:2146: error: dereferencing pointer to incomplete type dbdimp.c:2148: error: dereferencing pointer to incomplete type dbdimp.c:2153: error: dereferencing pointer to incomplete type dbdimp.c:2160: error: dereferencing pointer to incomplete type dbdimp.c:2165: error: dereferencing pointer to incomplete type dbdimp.c:2170: error: dereferencing pointer to incomplete type dbdimp.c:2172: error: dereferencing pointer to incomplete type dbdimp.c:2174: error: dereferencing pointer to incomplete type dbdimp.c:2179: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_bind_ph': dbdimp.c:2242: error: dereferencing pointer to incomplete type dbdimp.c:2254: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_db_reconnect': dbdimp.c:2273: error: `MYSQL' undeclared (first use in this function) dbdimp.c:2273: error: syntax error before "save_socket" dbdimp.c:2282: error: dereferencing pointer to incomplete type dbdimp.c:2282: error: `CR_SERVER_GONE_ERROR' undeclared (first use in this function) dbdimp.c:2287: error: dereferencing pointer to incomplete type dbdimp.c:2287: error: dereferencing pointer to incomplete type dbdimp.c:2300: error: `save_socket' undeclared (first use in this function) dbdimp.c:2300: error: dereferencing pointer to incomplete type dbdimp.c:2301: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2302: error: dereferencing pointer to incomplete type dbdimp.c:2305: error: dereferencing pointer to incomplete type dbdimp.c:2305: error: dereferencing pointer to incomplete type dbdimp.c:2305: warning: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast dbdimp.c:2306: error: dereferencing pointer to incomplete type dbdimp.c:2307: error: dereferencing pointer to incomplete type dbdimp.c:2310: error: dereferencing pointer to incomplete type dbdimp.c: In function `mysql_db_quote': dbdimp.c:2446: error: dereferencing pointer to incomplete type make: *** [dbdimp.o] Error 1 Teddy -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>