Perl und Mysql

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

Perl und Mysql

Postby Sascha2481 » 21. May 2003 03:45

Hallo wenn ich mich mit perl zu MYSQL verbinden will bekomme ich folgende Fehlermeldung. Schaut es euch mal an:

http://mitglied.lycos.de/csfan03/mysql.gif

Hat das was mit Lampp zu tun ?!
Sascha2481
 

Postby Oswald » 21. May 2003 11:59

Hallo Sascha!

Du brauchst das Perl-Modul DBD::mysql und das ist bei LAMPP nicht dabei. Wenn ich daran denke, dann pack ich das mit in die nächste Version rein. Könnte ja mehrere interessieren... bis dahin musst Du Dir selbst das Modul installieren. Was nicht so einfach ist, aber hier das "Rezept" (und bitte auch gleich noch unten bei den *** weiterlesen):

1. Du brauchst: Das LAMPP-Entwicklungspaket (herunteladen und installieren)
2. Das Perl-Modul herunterladen: http://www.cpan.org/authors/id/J/JW/JWI ... 026.tar.gz
3. Das Perl-Modul auspacken: tar xvfz DBD-mysql-2.1026.tar.gz
4. In das ausgepackte Verzeichnis wechseln: cd DBD-mysql-2.1026
5. Installation vorbereiten: env PATH=/opt/lampp/bin:$PATH /opt/lampp/bin/perl Makefile.PL --libs="-L/opt/lampp/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz" --cflags="-I/opt/lampp/include/mysql"
6. Software übersetzen: make
7. Software testen: make test (ein paar Fehler sind ok)
8. Software installieren: make install (spätestens diesen Befehl als root aufrufen)
9. Das war's.

*** Wenn Dir das allerdings zu kompliziert ist, dann hab ich Dir hier noch mal das fertige DBD::mysql für LAMPP zusammengestellt. Einfach herunterladen: http://www.apachefriends.org/lampp-dbdm ... .9a.tar.gz
Und mit tar xvfz lampp-dbdmysql-0.9.9a.tar.gz -C /opt installieren.

Nun kannst Du Dein Programm noch mal probieren.

Viel Erfolg,
Oswald
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Re:

Postby Sascha2481 » 21. May 2003 18:02

Hi, danke für die schnelle Antwort.
Leider scheint es nicht zu funktionieren.
Bei tar xvfz lampp-dbdmysql-0.9.9a.tar -C /opt
bekomme ich Fehlermeldungen. Leider habe ich diesmal keinen Screenshot dabei.
Er meinte: Ungültiges Dateiende.
Nicht behebbarer Fehler ...

Was mache ich falsch ?
Sascha2481
 

Postby Oswald » 21. May 2003 20:00

Huhu Sascha!

Die Datei sollte die Endung .gz haben. Kannst Du das noch mal prüfen?

Gruß,
Oswald
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Postby Guest » 21. May 2003 22:12

Komisch. Die hat echt nur .tar als Dateiendung. Hatte es per Diskette und per CD versucht. Danke werd die Datei mal in tar.gz umbenennen.
Guest
 

Postby Sascha2481 » 21. May 2003 22:39

Hallo nochmal,

scheint das nur in Windows .tar angezeigt wird, aber es eine tar.gz Datei ist. Kommt immer noch derselbe Fehler. Habs genauso gemacht wie dus gesagt hast. Es ist auch ne .tar.gz Datei !! Nen Screenshot kann ich zwar machen aber irgendwie hat mein Linux Probleme auf Disketten zu schreiben. Oder Windows , sie ordentlich zu lesen :wink:
Sascha2481
 

Postby Oswald » 22. May 2003 16:47

Huhu Sascha,

ich hab's noch mal überprüft: die Datei ist ok so. Du musst sie allerdings wirklich genau so, wie ich es beschrieben hab auf dem Linux-Rechner installieren. Mit Windows wird das wahrscheinlich nichts.

Lieben Gruß,
Oswald
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Re:

Postby Sascha2481 » 22. May 2003 21:35

Habe es "wirklich" so gemacht. Werd mir dann mal das Entwicklungspaket laden und die andre Variante wählen.

Gruß Sascha
Sascha2481
 

Postby Sascha2481 » 03. June 2003 02:48

Nene, klappt alles ned.
Hoffe mal das das Modul jetzt in Lampp 1.0 mit drin ist, wäre ja doof wenn nicht :D

Saug sie mir jetzt.
Sascha2481
 

Postby Lalaa » 06. December 2003 19:19

Bei mir funktioniert das fertige Teil nicht.
Dafür funktioniert aber das Selbstkompilierte
Lalaa
 
Posts: 4
Joined: 01. December 2003 19:06

Postby Divetoday » 19. February 2004 00:33

Kai Seidler wrote:Hallo Sascha!

Du brauchst das Perl-Modul DBD::mysql und das ist bei LAMPP nicht dabei. Wenn ich daran denke, dann pack ich das mit in die nächste Version rein. Könnte ja mehrere interessieren... bis dahin musst Du Dir selbst das Modul installieren. Was nicht so einfach ist, aber hier das "Rezept" (und bitte auch gleich noch unten bei den *** weiterlesen):

1. Du brauchst: Das LAMPP-Entwicklungspaket (herunteladen und installieren)
2. Das Perl-Modul herunterladen: http://www.cpan.org/authors/id/J/JW/JWI ... 026.tar.gz
3. Das Perl-Modul auspacken: tar xvfz DBD-mysql-2.1026.tar.gz
4. In das ausgepackte Verzeichnis wechseln: cd DBD-mysql-2.1026
5. Installation vorbereiten: env PATH=/opt/lampp/bin:$PATH /opt/lampp/bin/perl Makefile.PL --libs="-L/opt/lampp/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz" --cflags="-I/opt/lampp/include/mysql"
6. Software übersetzen: make
7. Software testen: make test (ein paar Fehler sind ok)
8. Software installieren: make install (spätestens diesen Befehl als root aufrufen)
9. Das war's.

*** Wenn Dir das allerdings zu kompliziert ist, dann hab ich Dir hier noch mal das fertige DBD::mysql für LAMPP zusammengestellt. Einfach herunterladen: http://www.apachefriends.org/lampp-dbdm ... .9a.tar.gz
Und mit tar xvfz lampp-dbdmysql-0.9.9a.tar.gz -C /opt installieren.

Nun kannst Du Dein Programm noch mal probieren.

Viel Erfolg,
Oswald


Hallo Kai
Soweit habe ich das alles nach anleitung gemacht aber bei Punkt 6 komme ich nicht weiter, wenn ich dann make eingebe, gehts nicht, stehe ich auf der Leitung ???? Habe auch das entwicklertool 1.4.2 geladen
server:~/DBD-mysql-2.1026 # make
bash: make: command not found
server:~/DBD-mysql-2.1026 # make test
bash: make: command not found
server:~/DBD-mysql-2.1026 # make install
bash: make: command not found

Danke
Divetoday
 
Posts: 12
Joined: 10. October 2003 22:25

Postby TomW » 06. March 2004 18:28

Also ich habe mich genau an diese Anleitung gehalten, aber das Modul wird nicht installiert, es kommt beim ausführen von "make" immer folgende Fehlermeldung

root@Linux:~/.cpan/build/DBD-mysql-2.9003# make
cc -c -I/opt/lampp/lib/perl5/site_perl/5.8.0/i686-linux/auto/DBI -I/opt/lampp/include/mysql -fno-strict-aliasing -I/opt/lampp/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -DVERSION=\"2.9003\" -DXS_VERSION=\"2.9003\" -fpic "-I/opt/lampp/lib/perl5/5.8.0/i686-linux/CORE" dbdimp.c
In file included from /opt/lampp/lib/perl5/5.8.0/i686-linux/CORE/perl.h:3368,
from /opt/lampp/lib/perl5/site_perl/5.8.0/i686-linux/auto/DBI/DBIXS.h:19,
from dbdimp.h:20,
from dbdimp.c:19:
/opt/lampp/lib/perl5/5.8.0/i686-linux/CORE/proto.h:338: Warnung: `struct tm' declared inside parameter list
/opt/lampp/lib/perl5/5.8.0/i686-linux/CORE/proto.h:338: Warnung: its scope is only this definition or declaration, which is probably not what you want
/opt/lampp/lib/perl5/5.8.0/i686-linux/CORE/proto.h:491: Warnung: `struct tm' declared inside parameter list
In file included from dbdimp.c:19:
dbdimp.h:21:49: mysql.h: Datei oder Verzeichnis nicht gefunden
dbdimp.h:22:49: errmsg.h: Datei oder Verzeichnis nicht gefunden
In file included from dbdimp.c:19:
dbdimp.h:106: error: parse error before "MYSQL"
dbdimp.h:106: Warnung: no semicolon at end of struct or union
dbdimp.h:117: error: parse error before '}' token
dbdimp.h:146: error: parse error before "MYSQL_RES"
dbdimp.h:146: Warnung: no semicolon at end of struct or union
dbdimp.h:159: error: parse error before '}' token
In file included from dbdimp.c:19:
dbdimp.h:195: error: parse error before '*' token
dbdimp.h:198: error: parse error before "MYSQL_RES"
dbdimp.h:202: error: parse error before '*' token
dbdimp.h:202: error: parse error before '*' token
dbdimp.h:203: Warnung: data definition has no type or storage class
dbdimp.c:121: error: parse error before '*' token
dbdimp.c: In function `ParseParam':
dbdimp.c:130: error: `slenPtr' undeclared (first use in this function)
dbdimp.c:130: error: (Each undeclared identifier is reported only once
dbdimp.c:130: error: for each function it appears in.)
dbdimp.c:132: error: `numParams' undeclared (first use in this function)
dbdimp.c:136: error: `statement' undeclared (first use in this function)
dbdimp.c:245: error: `sock' undeclared (first use in this function)
dbdimp.c: At top level:
dbdimp.c:301: error: `FIELD_TYPE_VAR_STRING' undeclared here (not in a function)
dbdimp.c:301: error: initializer element is not constant
dbdimp.c:301: error: (near initialization for `SQL_GET_TYPE_INFO_values[0].native_type')
dbdimp.c:303: error: initializer element is not constant
dbdimp.c:303: error: (near initialization for `SQL_GET_TYPE_INFO_values[0]')
dbdimp.c:308: error: `FIELD_TYPE_DECIMAL' undeclared here (not in a function)
dbdimp.c:308: error: initializer element is not constant
dbdimp.c:308: error: (near initialization for `SQL_GET_TYPE_INFO_values[1].native_type')
dbdimp.c:310: error: initializer element is not constant
dbdimp.c:310: error: (near initialization for `SQL_GET_TYPE_INFO_values[1]')
dbdimp.c:315: error: `FIELD_TYPE_TINY' undeclared here (not in a function)
dbdimp.c:315: error: initializer element is not constant
dbdimp.c:315: error: (near initialization for `SQL_GET_TYPE_INFO_values[2].native_type')
dbdimp.c:317: error: initializer element is not constant
dbdimp.c:317: error: (near initialization for `SQL_GET_TYPE_INFO_values[2]')
dbdimp.c:322: error: `FIELD_TYPE_SHORT' undeclared here (not in a function)
dbdimp.c:322: error: initializer element is not constant
dbdimp.c:322: error: (near initialization for `SQL_GET_TYPE_INFO_values[3].native_type')
dbdimp.c:324: error: initializer element is not constant
dbdimp.c:324: error: (near initialization for `SQL_GET_TYPE_INFO_values[3]')
dbdimp.c:329: error: `FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:329: error: initializer element is not constant
dbdimp.c:329: error: (near initialization for `SQL_GET_TYPE_INFO_values[4].native_type')
dbdimp.c:331: error: initializer element is not constant
dbdimp.c:331: error: (near initialization for `SQL_GET_TYPE_INFO_values[4]')
dbdimp.c:336: error: `FIELD_TYPE_FLOAT' undeclared here (not in a function)
dbdimp.c:336: error: initializer element is not constant
dbdimp.c:336: error: (near initialization for `SQL_GET_TYPE_INFO_values[5].native_type')
dbdimp.c:338: error: initializer element is not constant
dbdimp.c:338: error: (near initialization for `SQL_GET_TYPE_INFO_values[5]')
dbdimp.c:343: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a function)
dbdimp.c:343: error: initializer element is not constant
dbdimp.c:343: error: (near initialization for `SQL_GET_TYPE_INFO_values[6].native_type')
dbdimp.c:345: error: initializer element is not constant
dbdimp.c:345: error: (near initialization for `SQL_GET_TYPE_INFO_values[6]')
dbdimp.c:350: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a function)
dbdimp.c:350: error: initializer element is not constant
dbdimp.c:350: error: (near initialization for `SQL_GET_TYPE_INFO_values[7].native_type')
dbdimp.c:352: error: initializer element is not constant
dbdimp.c:352: error: (near initialization for `SQL_GET_TYPE_INFO_values[7]')
dbdimp.c:360: error: `FIELD_TYPE_TIMESTAMP' undeclared here (not in a function)
dbdimp.c:360: error: initializer element is not constant
dbdimp.c:360: error: (near initialization for `SQL_GET_TYPE_INFO_values[8].native_type')
dbdimp.c:362: error: initializer element is not constant
dbdimp.c:362: error: (near initialization for `SQL_GET_TYPE_INFO_values[8]')
dbdimp.c:367: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a function)
dbdimp.c:367: error: initializer element is not constant
dbdimp.c:367: error: (near initialization for `SQL_GET_TYPE_INFO_values[9].native_type')
dbdimp.c:369: error: initializer element is not constant
dbdimp.c:369: error: (near initialization for `SQL_GET_TYPE_INFO_values[9]')
dbdimp.c:374: error: `FIELD_TYPE_INT24' undeclared here (not in a function)
dbdimp.c:374: error: initializer element is not constant
dbdimp.c:374: error: (near initialization for `SQL_GET_TYPE_INFO_values[10].native_type')
dbdimp.c:376: error: initializer element is not constant
dbdimp.c:376: error: (near initialization for `SQL_GET_TYPE_INFO_values[10]')
dbdimp.c:381: error: `FIELD_TYPE_DATE' undeclared here (not in a function)
dbdimp.c:381: error: initializer element is not constant
dbdimp.c:381: error: (near initialization for `SQL_GET_TYPE_INFO_values[11].native_type')
dbdimp.c:383: error: initializer element is not constant
dbdimp.c:383: error: (near initialization for `SQL_GET_TYPE_INFO_values[11]')
dbdimp.c:388: error: `FIELD_TYPE_TIME' undeclared here (not in a function)
dbdimp.c:388: error: initializer element is not constant
dbdimp.c:388: error: (near initialization for `SQL_GET_TYPE_INFO_values[12].native_type')
dbdimp.c:390: error: initializer element is not constant
dbdimp.c:390: error: (near initialization for `SQL_GET_TYPE_INFO_values[12]')
dbdimp.c:395: error: `FIELD_TYPE_DATETIME' undeclared here (not in a function)
dbdimp.c:395: error: initializer element is not constant
dbdimp.c:395: error: (near initialization for `SQL_GET_TYPE_INFO_values[13].native_type')
dbdimp.c:397: error: initializer element is not constant
dbdimp.c:397: error: (near initialization for `SQL_GET_TYPE_INFO_values[13]')
dbdimp.c:402: error: `FIELD_TYPE_YEAR' undeclared here (not in a function)
dbdimp.c:402: error: initializer element is not constant
dbdimp.c:402: error: (near initialization for `SQL_GET_TYPE_INFO_values[14].native_type')
dbdimp.c:404: error: initializer element is not constant
dbdimp.c:404: error: (near initialization for `SQL_GET_TYPE_INFO_values[14]')
dbdimp.c:409: error: `FIELD_TYPE_NEWDATE' undeclared here (not in a function)
dbdimp.c:409: error: initializer element is not constant
dbdimp.c:409: error: (near initialization for `SQL_GET_TYPE_INFO_values[15].native_type')
dbdimp.c:411: error: initializer element is not constant
dbdimp.c:411: error: (near initialization for `SQL_GET_TYPE_INFO_values[15]')
dbdimp.c:416: error: `FIELD_TYPE_ENUM' undeclared here (not in a function)
dbdimp.c:416: error: initializer element is not constant
dbdimp.c:416: error: (near initialization for `SQL_GET_TYPE_INFO_values[16].native_type')
dbdimp.c:418: error: initializer element is not constant
dbdimp.c:418: error: (near initialization for `SQL_GET_TYPE_INFO_values[16]')
dbdimp.c:423: error: `FIELD_TYPE_SET' undeclared here (not in a function)
dbdimp.c:423: error: initializer element is not constant
dbdimp.c:423: error: (near initialization for `SQL_GET_TYPE_INFO_values[17].native_type')
dbdimp.c:425: error: initializer element is not constant
dbdimp.c:425: error: (near initialization for `SQL_GET_TYPE_INFO_values[17]')
dbdimp.c:430: error: `FIELD_TYPE_BLOB' undeclared here (not in a function)
dbdimp.c:430: error: initializer element is not constant
dbdimp.c:430: error: (near initialization for `SQL_GET_TYPE_INFO_values[18].native_type')
dbdimp.c:432: error: initializer element is not constant
dbdimp.c:432: error: (near initialization for `SQL_GET_TYPE_INFO_values[18]')
dbdimp.c:437: error: `FIELD_TYPE_TINY_BLOB' undeclared here (not in a function)
dbdimp.c:437: error: initializer element is not constant
dbdimp.c:437: error: (near initialization for `SQL_GET_TYPE_INFO_values[19].native_type')
dbdimp.c:439: error: initializer element is not constant
dbdimp.c:439: error: (near initialization for `SQL_GET_TYPE_INFO_values[19]')
dbdimp.c:444: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a function)
dbdimp.c:444: error: initializer element is not constant
dbdimp.c:444: error: (near initialization for `SQL_GET_TYPE_INFO_values[20].native_type')
dbdimp.c:446: error: initializer element is not constant
dbdimp.c:446: error: (near initialization for `SQL_GET_TYPE_INFO_values[20]')
dbdimp.c:451: error: `FIELD_TYPE_LONG_BLOB' undeclared here (not in a function)
dbdimp.c:451: error: initializer element is not constant
dbdimp.c:451: error: (near initialization for `SQL_GET_TYPE_INFO_values[21].native_type')
dbdimp.c:453: error: initializer element is not constant
dbdimp.c:453: error: (near initialization for `SQL_GET_TYPE_INFO_values[21]')
dbdimp.c:458: error: `FIELD_TYPE_STRING' undeclared here (not in a function)
dbdimp.c:458: error: initializer element is not constant
dbdimp.c:458: error: (near initialization for `SQL_GET_TYPE_INFO_values[22].native_type')
dbdimp.c:460: error: initializer element is not constant
dbdimp.c:460: error: (near initialization for `SQL_GET_TYPE_INFO_values[22]')
dbdimp.c:466: error: `FIELD_TYPE_DECIMAL' undeclared here (not in a function)
dbdimp.c:466: error: initializer element is not constant
dbdimp.c:466: error: (near initialization for `SQL_GET_TYPE_INFO_values[23].native_type')
dbdimp.c:467: error: initializer element is not constant
dbdimp.c:467: error: (near initialization for `SQL_GET_TYPE_INFO_values[23]')
dbdimp.c:478: error: `FIELD_TYPE_TINY' undeclared here (not in a function)
dbdimp.c:478: error: initializer element is not constant
dbdimp.c:478: error: (near initialization for `SQL_GET_TYPE_INFO_values[24].native_type')
dbdimp.c:479: error: initializer element is not constant
dbdimp.c:479: error: (near initialization for `SQL_GET_TYPE_INFO_values[24]')
dbdimp.c:484: error: `FIELD_TYPE_SHORT' undeclared here (not in a function)
dbdimp.c:484: error: initializer element is not constant
dbdimp.c:484: error: (near initialization for `SQL_GET_TYPE_INFO_values[25].native_type')
dbdimp.c:485: error: initializer element is not constant
dbdimp.c:485: error: (near initialization for `SQL_GET_TYPE_INFO_values[25]')
dbdimp.c:490: error: `FIELD_TYPE_INT24' undeclared here (not in a function)
dbdimp.c:490: error: initializer element is not constant
dbdimp.c:490: error: (near initialization for `SQL_GET_TYPE_INFO_values[26].native_type')
dbdimp.c:491: error: initializer element is not constant
dbdimp.c:491: error: (near initialization for `SQL_GET_TYPE_INFO_values[26]')
dbdimp.c:496: error: `FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:496: error: initializer element is not constant
dbdimp.c:496: error: (near initialization for `SQL_GET_TYPE_INFO_values[27].native_type')
dbdimp.c:497: error: initializer element is not constant
dbdimp.c:497: error: (near initialization for `SQL_GET_TYPE_INFO_values[27]')
dbdimp.c:502: error: `FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:502: error: initializer element is not constant
dbdimp.c:502: error: (near initialization for `SQL_GET_TYPE_INFO_values[28].native_type')
dbdimp.c:503: error: initializer element is not constant
dbdimp.c:503: error: (near initialization for `SQL_GET_TYPE_INFO_values[28]')
dbdimp.c:508: error: `FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:508: error: initializer element is not constant
dbdimp.c:508: error: (near initialization for `SQL_GET_TYPE_INFO_values[29].native_type')
dbdimp.c:509: error: initializer element is not constant
dbdimp.c:509: error: (near initialization for `SQL_GET_TYPE_INFO_values[29]')
dbdimp.c:514: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a function)
dbdimp.c:514: error: initializer element is not constant
dbdimp.c:514: error: (near initialization for `SQL_GET_TYPE_INFO_values[30].native_type')
dbdimp.c:515: error: initializer element is not constant
dbdimp.c:515: error: (near initialization for `SQL_GET_TYPE_INFO_values[30]')
dbdimp.c:520: error: `FIELD_TYPE_BLOB' undeclared here (not in a function)
dbdimp.c:520: error: initializer element is not constant
dbdimp.c:520: error: (near initialization for `SQL_GET_TYPE_INFO_values[31].native_type')
dbdimp.c:521: error: initializer element is not constant
dbdimp.c:521: error: (near initialization for `SQL_GET_TYPE_INFO_values[31]')
dbdimp.c:526: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a function)
dbdimp.c:526: error: initializer element is not constant
dbdimp.c:526: error: (near initialization for `SQL_GET_TYPE_INFO_values[32].native_type')
dbdimp.c:527: error: initializer element is not constant
dbdimp.c:527: error: (near initialization for `SQL_GET_TYPE_INFO_values[32]')
dbdimp.c:537: error: `FIELD_TYPE_INT24' undeclared here (not in a function)
dbdimp.c:537: error: initializer element is not constant
dbdimp.c:537: error: (near initialization for `SQL_GET_TYPE_INFO_values[33].native_type')
dbdimp.c:538: error: initializer element is not constant
dbdimp.c:538: error: (near initialization for `SQL_GET_TYPE_INFO_values[33]')
dbdimp.c:544: error: `FIELD_TYPE_TINY' undeclared here (not in a function)
dbdimp.c:544: error: initializer element is not constant
dbdimp.c:544: error: (near initialization for `SQL_GET_TYPE_INFO_values[34].native_type')
dbdimp.c:545: error: initializer element is not constant
dbdimp.c:545: error: (near initialization for `SQL_GET_TYPE_INFO_values[34]')
dbdimp.c:551: error: `FIELD_TYPE_SHORT' undeclared here (not in a function)
dbdimp.c:551: error: initializer element is not constant
dbdimp.c:551: error: (near initialization for `SQL_GET_TYPE_INFO_values[35].native_type')
dbdimp.c:552: error: initializer element is not constant
dbdimp.c:552: error: (near initialization for `SQL_GET_TYPE_INFO_values[35]')
dbdimp.c:558: error: `FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:558: error: initializer element is not constant
dbdimp.c:558: error: (near initialization for `SQL_GET_TYPE_INFO_values[36].native_type')
dbdimp.c:559: error: initializer element is not constant
dbdimp.c:559: error: (near initialization for `SQL_GET_TYPE_INFO_values[36]')
dbdimp.c:565: error: `FIELD_TYPE_INT24' undeclared here (not in a function)
dbdimp.c:565: error: initializer element is not constant
dbdimp.c:565: error: (near initialization for `SQL_GET_TYPE_INFO_values[37].native_type')
dbdimp.c:566: error: initializer element is not constant
dbdimp.c:566: error: (near initialization for `SQL_GET_TYPE_INFO_values[37]')
dbdimp.c:572: error: `FIELD_TYPE_TINY' undeclared here (not in a function)
dbdimp.c:572: error: initializer element is not constant
dbdimp.c:572: error: (near initialization for `SQL_GET_TYPE_INFO_values[38].native_type')
dbdimp.c:573: error: initializer element is not constant
dbdimp.c:573: error: (near initialization for `SQL_GET_TYPE_INFO_values[38]')
dbdimp.c:579: error: `FIELD_TYPE_DECIMAL' undeclared here (not in a function)
dbdimp.c:579: error: initializer element is not constant
dbdimp.c:579: error: (near initialization for `SQL_GET_TYPE_INFO_values[39].native_type')
dbdimp.c:580: error: initializer element is not constant
dbdimp.c:580: error: (near initialization for `SQL_GET_TYPE_INFO_values[39]')
dbdimp.c:586: error: `FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:586: error: initializer element is not constant
dbdimp.c:586: error: (near initialization for `SQL_GET_TYPE_INFO_values[40].native_type')
dbdimp.c:587: error: initializer element is not constant
dbdimp.c:587: error: (near initialization for `SQL_GET_TYPE_INFO_values[40]')
dbdimp.c:593: error: `FIELD_TYPE_INT24' undeclared here (not in a function)
dbdimp.c:593: error: initializer element is not constant
dbdimp.c:593: error: (near initialization for `SQL_GET_TYPE_INFO_values[41].native_type')
dbdimp.c:594: error: initializer element is not constant
dbdimp.c:594: error: (near initialization for `SQL_GET_TYPE_INFO_values[41]')
dbdimp.c:600: error: `FIELD_TYPE_SHORT' undeclared here (not in a function)
dbdimp.c:600: error: initializer element is not constant
dbdimp.c:600: error: (near initialization for `SQL_GET_TYPE_INFO_values[42].native_type')
dbdimp.c:601: error: initializer element is not constant
dbdimp.c:601: error: (near initialization for `SQL_GET_TYPE_INFO_values[42]')
dbdimp.c:607: error: `FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:607: error: initializer element is not constant
dbdimp.c:607: error: (near initialization for `SQL_GET_TYPE_INFO_values[43].native_type')
dbdimp.c:608: error: initializer element is not constant
dbdimp.c:608: error: (near initialization for `SQL_GET_TYPE_INFO_values[43]')
dbdimp.c:614: error: `FIELD_TYPE_LONG_BLOB' undeclared here (not in a function)
dbdimp.c:614: error: initializer element is not constant
dbdimp.c:614: error: (near initialization for `SQL_GET_TYPE_INFO_values[44].native_type')
dbdimp.c:615: error: initializer element is not constant
dbdimp.c:615: error: (near initialization for `SQL_GET_TYPE_INFO_values[44]')
dbdimp.c:621: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a function)
dbdimp.c:621: error: initializer element is not constant
dbdimp.c:621: error: (near initialization for `SQL_GET_TYPE_INFO_values[45].native_type')
dbdimp.c:622: error: initializer element is not constant
dbdimp.c:622: error: (near initialization for `SQL_GET_TYPE_INFO_values[45]')
dbdimp.c:628: error: `FIELD_TYPE_DOUBLE' undeclared here (not in a function)
dbdimp.c:628: error: initializer element is not constant
dbdimp.c:628: error: (near initialization for `SQL_GET_TYPE_INFO_values[46].native_type')
dbdimp.c:629: error: initializer element is not constant
dbdimp.c:629: error: (near initialization for `SQL_GET_TYPE_INFO_values[46]')
dbdimp.c:635: error: `FIELD_TYPE_LONG' undeclared here (not in a function)
dbdimp.c:635: error: initializer element is not constant
dbdimp.c:635: error: (near initialization for `SQL_GET_TYPE_INFO_values[47].native_type')
dbdimp.c:636: error: initializer element is not constant
dbdimp.c:636: error: (near initialization for `SQL_GET_TYPE_INFO_values[47]')
dbdimp.c:642: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a function)
dbdimp.c:642: error: initializer element is not constant
dbdimp.c:642: error: (near initialization for `SQL_GET_TYPE_INFO_values[48].native_type')
dbdimp.c:643: error: initializer element is not constant
dbdimp.c:643: error: (near initialization for `SQL_GET_TYPE_INFO_values[48]')
dbdimp.c:649: error: `FIELD_TYPE_TINY' undeclared here (not in a function)
dbdimp.c:649: error: initializer element is not constant
dbdimp.c:649: error: (near initialization for `SQL_GET_TYPE_INFO_values[49].native_type')
dbdimp.c:650: error: initializer element is not constant
dbdimp.c:650: error: (near initialization for `SQL_GET_TYPE_INFO_values[49]')
dbdimp.c:656: error: `FIELD_TYPE_INT24' undeclared here (not in a function)
dbdimp.c:656: error: initializer element is not constant
dbdimp.c:656: error: (near initialization for `SQL_GET_TYPE_INFO_values[50].native_type')
dbdimp.c:657: error: initializer element is not constant
dbdimp.c:657: error: (near initialization for `SQL_GET_TYPE_INFO_values[50]')
dbdimp.c:663: error: `FIELD_TYPE_FLOAT' undeclared here (not in a function)
dbdimp.c:663: error: initializer element is not constant
dbdimp.c:663: error: (near initialization for `SQL_GET_TYPE_INFO_values[51].native_type')
dbdimp.c:664: error: initializer element is not constant
dbdimp.c:664: error: (near initialization for `SQL_GET_TYPE_INFO_values[51]')
dbdimp.c:670: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared here (not in a function)
dbdimp.c:670: error: initializer element is not constant
dbdimp.c:670: error: (near initialization for `SQL_GET_TYPE_INFO_values[52].native_type')
dbdimp.c:671: error: initializer element is not constant
dbdimp.c:671: error: (near initialization for `SQL_GET_TYPE_INFO_values[52]')
dbdimp.c:677: error: `FIELD_TYPE_TINY' undeclared here (not in a function)
dbdimp.c:677: error: initializer element is not constant
dbdimp.c:677: error: (near initialization for `SQL_GET_TYPE_INFO_values[53].native_type')
dbdimp.c:678: error: initializer element is not constant
dbdimp.c:678: error: (near initialization for `SQL_GET_TYPE_INFO_values[53]')
dbdimp.c:684: error: `FIELD_TYPE_LONGLONG' undeclared here (not in a function)
dbdimp.c:684: error: initializer element is not constant
dbdimp.c:684: error: (near initialization for `SQL_GET_TYPE_INFO_values[54].native_type')
dbdimp.c:685: error: initializer element is not constant
dbdimp.c:685: error: (near initialization for `SQL_GET_TYPE_INFO_values[54]')
dbdimp.c: In function `native2sql':
dbdimp.c:693: error: `FIELD_TYPE_VAR_STRING' undeclared (first use in this function)
dbdimp.c:694: error: `FIELD_TYPE_DECIMAL' undeclared (first use in this function)
dbdimp.c:695: error: `FIELD_TYPE_TINY' undeclared (first use in this function)
dbdimp.c:696: error: `FIELD_TYPE_SHORT' undeclared (first use in this function)
dbdimp.c:697: error: `FIELD_TYPE_LONG' undeclared (first use in this function)
dbdimp.c:698: error: `FIELD_TYPE_FLOAT' undeclared (first use in this function)
dbdimp.c:701: error: `FIELD_TYPE_DOUBLE' undeclared (first use in this function)
dbdimp.c:702: error: `FIELD_TYPE_TIMESTAMP' undeclared (first use in this function)
dbdimp.c:703: error: `FIELD_TYPE_LONGLONG' undeclared (first use in this function)
dbdimp.c:704: error: `FIELD_TYPE_INT24' undeclared (first use in this function)
dbdimp.c:705: error: `FIELD_TYPE_DATE' undeclared (first use in this function)
dbdimp.c:706: error: `FIELD_TYPE_TIME' undeclared (first use in this function)
dbdimp.c:707: error: `FIELD_TYPE_DATETIME' undeclared (first use in this function)
dbdimp.c:708: error: `FIELD_TYPE_YEAR' undeclared (first use in this function)
dbdimp.c:709: error: `FIELD_TYPE_NEWDATE' undeclared (first use in this function)
dbdimp.c:710: error: `FIELD_TYPE_ENUM' undeclared (first use in this function)
dbdimp.c:711: error: `FIELD_TYPE_SET' undeclared (first use in this function)
dbdimp.c:712: error: `FIELD_TYPE_BLOB' undeclared (first use in this function)
dbdimp.c:713: error: `FIELD_TYPE_TINY_BLOB' undeclared (first use in this function)
dbdimp.c:714: error: `FIELD_TYPE_MEDIUM_BLOB' undeclared (first use in this function)
dbdimp.c:715: error: `FIELD_TYPE_LONG_BLOB' undeclared (first use in this function)
dbdimp.c:716: error: `FIELD_TYPE_STRING' undeclared (first use in this function)
dbdimp.c: At top level:
dbdimp.c:815: error: parse error before '*' token
dbdimp.c:815: error: parse error before '*' token
dbdimp.c: In function `mysql_dr_connect':
dbdimp.c:819: error: `MYSQL' undeclared (first use in this function)
dbdimp.c:819: error: `result' undeclared (first use in this function)
dbdimp.c:821: error: `host' undeclared (first use in this function)
dbdimp.c:822: error: `port' undeclared (first use in this function)
dbdimp.c:827: error: `user' undeclared (first use in this function)
dbdimp.c:828: error: `password' undeclared (first use in this function)
dbdimp.c:842: error: `CLIENT_FOUND_ROWS' undeclared (first use in this function)
dbdimp.c:844: error: `sock' undeclared (first use in this function)
dbdimp.c:846: error: `imp_dbh' undeclared (first use in this function)
dbdimp.c:864: error: `MYSQL_OPT_COMPRESS' undeclared (first use in this function)
dbdimp.c:873: error: `MYSQL_OPT_CONNECT_TIMEOUT' undeclared (first use in this function)
dbdimp.c:884: error: `MYSQL_READ_DEFAULT_FILE' undeclared (first use in this function)
dbdimp.c:894: error: `MYSQL_READ_DEFAULT_GROUP' undeclared (first use in this function)
dbdimp.c:960: error: `dbname' undeclared (first use in this function)
dbdimp.c:961: error: `unixSocket' undeclared (first use in this function)
dbdimp.c: In function `_MyLogin':
dbdimp.c:989: error: dereferencing pointer to incomplete type
dbdimp.c:1046: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_login':
dbdimp.c:1082: error: dereferencing pointer to incomplete type
dbdimp.c:1083: error: dereferencing pointer to incomplete type
dbdimp.c:1086: error: dereferencing pointer to incomplete type
dbdimp.c:1087: error: dereferencing pointer to incomplete type
dbdimp.c:1087: Warnung: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c:1094: error: dereferencing pointer to incomplete type
dbdimp.c:1094: error: dereferencing pointer to incomplete type
dbdimp.c:1094: error: dereferencing pointer to incomplete type
dbdimp.c:1099: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_commit':
dbdimp.c:1123: error: dereferencing pointer to incomplete type
dbdimp.c:1129: error: dereferencing pointer to incomplete type
dbdimp.c:1130: 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:1132: Warnung: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c: In function `mysql_db_rollback':
dbdimp.c:1144: error: dereferencing pointer to incomplete type
dbdimp.c:1150: error: dereferencing pointer to incomplete type
dbdimp.c:1151: 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:1153: Warnung: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c: In function `mysql_db_disconnect':
dbdimp.c:1185: error: dereferencing pointer to incomplete type
dbdimp.c:1185: error: dereferencing pointer to incomplete type
dbdimp.c:1185: error: dereferencing pointer to incomplete type
dbdimp.c:1188: error: dereferencing pointer to incomplete type
dbdimp.c:1189: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_destroy':
dbdimp.c:1249: error: dereferencing pointer to incomplete type
dbdimp.c:1250: error: dereferencing pointer to incomplete type
dbdimp.c:1251: error: dereferencing pointer to incomplete type
dbdimp.c:1252: error: dereferencing pointer to incomplete type
dbdimp.c:1261: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_STORE_attrib':
dbdimp.c:1289: error: dereferencing pointer to incomplete type
dbdimp.c:1290: error: dereferencing pointer to incomplete type
dbdimp.c:1296: error: dereferencing pointer to incomplete type
dbdimp.c:1300: error: dereferencing pointer to incomplete type
dbdimp.c:1306: error: dereferencing pointer to incomplete type
dbdimp.c:1306: error: dereferencing pointer to incomplete type
dbdimp.c:1310: error: dereferencing pointer to incomplete type
dbdimp.c:1316: error: dereferencing pointer to incomplete type
dbdimp.c:1316: error: dereferencing pointer to incomplete type
dbdimp.c:1334: error: dereferencing pointer to incomplete type
dbdimp.c: At top level:
dbdimp.c:1363: error: parse error before "val"
dbdimp.c: In function `my_ulonglong2str':
dbdimp.c:1364: error: `val' undeclared (first use in this function)
dbdimp.c: In function `mysql_db_FETCH_attrib':
dbdimp.c:1387: error: dereferencing pointer to incomplete type
dbdimp.c:1388: error: dereferencing pointer to incomplete type
dbdimp.c:1404: error: dereferencing pointer to incomplete type
dbdimp.c:1408: error: dereferencing pointer to incomplete type
dbdimp.c:1410: error: dereferencing pointer to incomplete type
dbdimp.c:1410: Warnung: initialization makes pointer from integer without a cast
dbdimp.c:1414: error: dereferencing pointer to incomplete type
dbdimp.c:1414: Warnung: initialization makes pointer from integer without a cast
dbdimp.c:1422: error: dereferencing pointer to incomplete type
dbdimp.c:1424: error: dereferencing pointer to incomplete type
dbdimp.c:1430: error: dereferencing pointer to incomplete type
dbdimp.c:1430: Warnung: initialization makes pointer from integer without a cast
dbdimp.c:1437: error: dereferencing pointer to incomplete type
dbdimp.c:1437: Warnung: initialization makes pointer from integer without a cast
dbdimp.c:1442: error: dereferencing pointer to incomplete type
dbdimp.c:1447: error: dereferencing pointer to incomplete type
dbdimp.c:1452: error: dereferencing pointer to incomplete type
dbdimp.c:1452: Warnung: initialization makes pointer from integer without a cast
dbdimp.c:1456: error: dereferencing pointer to incomplete type
dbdimp.c:1458: error: dereferencing pointer to incomplete type
dbdimp.c:1460: error: dereferencing pointer to incomplete type
dbdimp.c:1460: Warnung: initialization makes pointer from integer without a cast
dbdimp.c:1465: error: dereferencing pointer to incomplete type
dbdimp.c:1465: Warnung: initialization makes pointer from integer without a cast
dbdimp.c:1472: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_st_prepare':
dbdimp.c:1510: error: dereferencing pointer to incomplete type
dbdimp.c:1515: error: dereferencing pointer to incomplete type
dbdimp.c:1516: error: dereferencing pointer to incomplete type
dbdimp.c:1517: error: dereferencing pointer to incomplete type
dbdimp.c:1520: error: dereferencing pointer to incomplete type
dbdimp.c:1523: error: dereferencing pointer to incomplete type
dbdimp.c:1526: error: dereferencing pointer to incomplete type
dbdimp.c:1532: error: dereferencing pointer to incomplete type
dbdimp.c:1532: error: dereferencing pointer to incomplete type
dbdimp.c:1533: error: dereferencing pointer to incomplete type
dbdimp.c: At top level:
dbdimp.c:1558: error: parse error before "MYSQL_RES"
dbdimp.c: In function `mysql_st_internal_execute':
dbdimp.c:1561: error: `statement' undeclared (first use in this function)
dbdimp.c:1562: error: `svsock' undeclared (first use in this function)
dbdimp.c:1562: error: `numParams' undeclared (first use in this function)
dbdimp.c:1571: error: `cdaPtr' undeclared (first use in this function)
dbdimp.c:1593: error: `h' undeclared (first use in this function)
dbdimp.c:1610: Warnung: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c:1622: Warnung: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c:1631: Warnung: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c: In function `mysql_st_execute':
dbdimp.c:1657: error: dereferencing pointer to incomplete type
dbdimp.c:1677: error: dereferencing pointer to incomplete type
dbdimp.c:1682: error: dereferencing pointer to incomplete type
dbdimp.c:1684: error: dereferencing pointer to incomplete type
dbdimp.c:1688: error: dereferencing pointer to incomplete type
dbdimp.c:1690: error: dereferencing pointer to incomplete type
dbdimp.c:1691: 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:1696: error: dereferencing pointer to incomplete type
dbdimp.c:1697: error: dereferencing pointer to incomplete type
dbdimp.c:1697: error: dereferencing pointer to incomplete type
dbdimp.c:1700: error: dereferencing pointer to incomplete type
dbdimp.c:1700: error: dereferencing pointer to incomplete type
dbdimp.c:1700: error: dereferencing pointer to incomplete type
dbdimp.c:1701: error: dereferencing pointer to incomplete type
dbdimp.c:1701: error: dereferencing pointer to incomplete type
dbdimp.c:1702: error: dereferencing pointer to incomplete type
dbdimp.c:1708: error: dereferencing pointer to incomplete type
dbdimp.c:1711: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_describe':
dbdimp.c:1731: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_st_fetch':
dbdimp.c:1756: error: `MYSQL_ROW' undeclared (first use in this function)
dbdimp.c:1756: error: parse error before "cols"
dbdimp.c:1759: error: dereferencing pointer to incomplete type
dbdimp.c:1766: error: dereferencing pointer to incomplete type
dbdimp.c:1771: error: dereferencing pointer to incomplete type
dbdimp.c:1772: error: `cols' undeclared (first use in this function)
dbdimp.c:1772: error: dereferencing pointer to incomplete type
dbdimp.c:1773: error: dereferencing pointer to incomplete type
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:1776: Warnung: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c:1778: error: dereferencing pointer to incomplete type
dbdimp.c:1783: error: dereferencing pointer to incomplete type
dbdimp.c:1783: Warnung: assignment makes pointer from integer without a cast
dbdimp.c: In function `mysql_st_finish':
dbdimp.c:1834: error: dereferencing pointer to incomplete type
dbdimp.c:1835: error: dereferencing pointer to incomplete type
dbdimp.c:1836: error: dereferencing pointer to incomplete type
dbdimp.c:1838: error: dereferencing pointer to incomplete type
dbdimp.c:1838: error: dereferencing pointer to incomplete type
dbdimp.c:1838: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_st_destroy':
dbdimp.c:1864: error: dereferencing pointer to incomplete type
dbdimp.c:1864: error: dereferencing pointer to incomplete type
dbdimp.c:1865: error: dereferencing pointer to incomplete type
dbdimp.c:1871: error: dereferencing pointer to incomplete type
dbdimp.c:1876: error: dereferencing pointer to incomplete type
dbdimp.c:1878: error: dereferencing pointer to incomplete type
dbdimp.c:1881: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_st_STORE_attrib':
dbdimp.c:1914: error: dereferencing pointer to incomplete type
dbdimp.c: At top level:
dbdimp.c:1959: error: parse error before "MYSQL_RES"
dbdimp.c: In function `mysql_st_FETCH_internal':
dbdimp.c:1960: error: `sth' undeclared (first use in this function)
dbdimp.c:1962: error: `MYSQL_FIELD' undeclared (first use in this function)
dbdimp.c:1962: error: `curField' undeclared (first use in this function)
dbdimp.c:1967: error: `what' undeclared (first use in this function)
dbdimp.c:1973: error: `cacheit' undeclared (first use in this function)
dbdimp.c:1973: error: dereferencing pointer to incomplete type
dbdimp.c:1974: error: dereferencing pointer to incomplete type
dbdimp.c:1979: error: `res' undeclared (first use in this function)
dbdimp.c:2034: error: `PRI_KEY_FLAG' undeclared (first use in this function)
dbdimp.c:2034: error: `UNIQUE_KEY_FLAG' undeclared (first use in this function)
dbdimp.c:2034: error: `MULTIPLE_KEY_FLAG' undeclared (first use in this function)
dbdimp.c:2058: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_st_FETCH_attrib':
dbdimp.c:2106: error: dereferencing pointer to incomplete type
dbdimp.c:2108: error: dereferencing pointer to incomplete type
dbdimp.c:2113: error: dereferencing pointer to incomplete type
dbdimp.c:2118: error: dereferencing pointer to incomplete type
dbdimp.c:2123: error: dereferencing pointer to incomplete type
dbdimp.c:2130: error: dereferencing pointer to incomplete type
dbdimp.c:2135: error: dereferencing pointer to incomplete type
dbdimp.c:2140: 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:2151: error: dereferencing pointer to incomplete type
dbdimp.c:2158: error: dereferencing pointer to incomplete type
dbdimp.c:2163: error: dereferencing pointer to incomplete type
dbdimp.c:2168: 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:2177: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_bind_ph':
dbdimp.c:2240: error: dereferencing pointer to incomplete type
dbdimp.c:2252: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_reconnect':
dbdimp.c:2271: error: `MYSQL' undeclared (first use in this function)
dbdimp.c:2271: error: parse error before "save_socket"
dbdimp.c:2280: error: dereferencing pointer to incomplete type
dbdimp.c:2280: error: `CR_SERVER_GONE_ERROR' undeclared (first use in this function)
dbdimp.c:2285: error: dereferencing pointer to incomplete type
dbdimp.c:2285: error: dereferencing pointer to incomplete type
dbdimp.c:2298: error: `save_socket' undeclared (first use in this function)
dbdimp.c:2298: error: dereferencing pointer to incomplete type
dbdimp.c:2299: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2300: error: dereferencing pointer to incomplete type
dbdimp.c:2303: error: dereferencing pointer to incomplete type
dbdimp.c:2303: error: dereferencing pointer to incomplete type
dbdimp.c:2303: Warnung: passing arg 3 of `mysql_dr_error' makes pointer from integer without a cast
dbdimp.c:2304: error: dereferencing pointer to incomplete type
dbdimp.c:2305: error: dereferencing pointer to incomplete type
dbdimp.c:2308: error: dereferencing pointer to incomplete type
dbdimp.c: In function `mysql_db_quote':
dbdimp.c:2444: error: dereferencing pointer to incomplete type
make: *** [dbdimp.o] Fehler 1


Kann mir jemand helfen???

DANKE

TomW
Computerprobleme??? -> http://www.weber-computerhilfe.de

Fordere keine Anerkennung!
Zeige was und man wird Dich kennen
TomW
 
Posts: 6
Joined: 06. March 2004 17:37

Postby TomW » 07. March 2004 12:45

Habe es inzwischen mit dem zweiten Hinweis hinbekommen.

TomW
Computerprobleme??? -> http://www.weber-computerhilfe.de

Fordere keine Anerkennung!
Zeige was und man wird Dich kennen
TomW
 
Posts: 6
Joined: 06. March 2004 17:37

Postby chefkoch » 07. April 2004 10:14

selber kompilieren geht. mit dem fertigen paket gab es einen dicken segmentation fault.

sollte auf jedenfall in der nächste version standartmäßig drin sein. ist wichtig für mysqlhotcopy.
chefkoch
 
Posts: 9
Joined: 07. April 2004 09:42

Postby Lumis » 05. October 2005 08:20

Folgende Fehlermeldung hat sich nun ergeben, nachdem alle vorherigen Instanzen keine Fehler ausgespuckt haben:

server:/opt/lampp/temp/DBI-1.48 # make install
Installing /opt/lampp/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/DBI.so
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /opt/lampp/man/man1/dbiprof.1
Installing /opt/lampp/man/man1/dbiproxy.1
Writing /opt/lampp/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/.packlist
Appending installation info to /opt/lampp/lib/perl5/5.8.7/i686-linux/perllocal.pod
server:/opt/lampp/temp/DBI-1.48 # cd ..
server:/opt/lampp/temp # ls
. .. DBD-mysql-2.1026 DBD-mysql-2.1026.tar.gz DBI-1.48 DBI-1.48.tar.gz
server:/opt/lampp/temp # cd DBD-mysql-2.1026/
server:/opt/lampp/temp/DBD-mysql-2.1026 # env PATH=/opt/lampp/bin:$PATH /opt/lampp/bin/perl Makefile.PL --libs="-L/opt/lampp/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz" --cflags="-I/opt/lampp/include/mysql"
I will use the following settings for compiling and testing:

cflags (Users choice) = -I/opt/lampp/include/mysql
libs (Users choice) = -L/opt/lampp/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -lz
nocatchstderr (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL --help' and
'perldoc INSTALL'.

Using DBI 1.48 (for perl 5.008007 on i686-linux) installed in /opt/lampp/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/
Writing Makefile for DBD::mysql
server:/opt/lampp/temp/DBD-mysql-2.1026 # make
cc -c -I/opt/lampp/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/ -I/opt/lampp/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.1026\" -DXS_VERSION=\"2.1026\" -fpic "-I/opt/lampp/lib/perl5/5.8.7/i686-linux/CORE" dbdimp.c
In file included from /opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/perl.h:3813,
from /opt/lampp/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/DBIXS.h:19,
from dbdimp.h:30,
from dbdimp.c:29:
/opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/proto.h:288: warning: `struct tm' declared inside parameter list
/opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/proto.h:288: warning: its scope is only this definition or declaration, which is probably not what you want
/opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/proto.h:441: warning: `struct tm' declared inside parameter list
cc -c -I/opt/lampp/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/ -I/opt/lampp/include/mysql -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"2.1026\" -DXS_VERSION=\"2.1026\" -fpic "-I/opt/lampp/lib/perl5/5.8.7/i686-linux/CORE" mysql.c
In file included from /opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/perl.h:3813,
from /opt/lampp/lib/perl5/site_perl/5.8.7/i686-linux/auto/DBI/DBIXS.h:19,
from dbdimp.h:30,
from mysql.xs:15:
/opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/proto.h:288: warning: `struct tm' declared inside parameter list
/opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/proto.h:288: warning: its scope is only this definition or declaration, which is probably not what you want
/opt/lampp/lib/perl5/5.8.7/i686-linux/CORE/proto.h:441: warning: `struct tm' declared inside parameter list
mysql.xs: In function `XS_DBD__mysql__dr__admin_internal':
mysql.xs:101: error: too few arguments to function `mysql_shutdown'
make: *** [mysql.o] Error 1
server:/opt/lampp/temp/DBD-mysql-2.1026 #


Hat vielleicht jemand eine Idee, wo der Fehler liegen könnte?
Last edited by Lumis on 28. October 2005 15:20, edited 1 time in total.
Lumis
 
Posts: 1
Joined: 05. October 2005 07:54

Next

Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 15 guests