Help with an error in the make of dbdimp.c

Help with an error in the make of dbdimp.c

am 01.02.2007 07:31:44 von joe blair

Hello,

I can not determine why I am receiving this error on the compile of
dbimp.c during the install of DBD::MYSQL

blairmac02:~/Desktop/samplecode/DBD-mysql-4.001 joeblair$ sudo make
gcc -c -I/usr/local/ActivePerl-5.8/site/lib/auto/DBI -I/usr/local/
mysql/include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-common -
DPERL_DARWIN -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -
pipe -Wdeclaration-after-statement -O3 -DVERSION=\"4.001\" -
DXS_VERSION=\"4.001\" "-I/usr/local/ActivePerl-5.8/lib/CORE" dbdimp.c
dbdimp.c: In function 'mysql_dr_connect':
dbdimp.c:1677: error: 'ulong' undeclared (first use in this function)
dbdimp.c:1677: error: (Each undeclared identifier is reported only once
dbdimp.c:1677: error: for each function it appears in.)
dbdimp.c:1677: error: parse error before numeric constant
make: *** [dbdimp.o] Error 1

I have searched for 'ulong', but have not been able to find it nor
declare it.

Please let me know what I should do to correct the problem.

Thanks so much!
joe

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: Help with an error in the make of dbdimp.c

am 03.02.2007 06:18:36 von Christian Hoermann

This has been discussed frequently on this list. See the archives for
January, here:
http://lists.mysql.com/perl?thread=2007-01

On 2/1/07, joe blair wrote:
> Hello,
>
> I can not determine why I am receiving this error on the compile of
> dbimp.c during the install of DBD::MYSQL
>
> blairmac02:~/Desktop/samplecode/DBD-mysql-4.001 joeblair$ sudo make
> gcc -c -I/usr/local/ActivePerl-5.8/site/lib/auto/DBI -I/usr/local/
> mysql/include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -fno-common -
> DPERL_DARWIN -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -fno-strict-aliasing -
> pipe -Wdeclaration-after-statement -O3 -DVERSION=\"4.001\" -
> DXS_VERSION=\"4.001\" "-I/usr/local/ActivePerl-5.8/lib/CORE" dbdimp.c
> dbdimp.c: In function 'mysql_dr_connect':
> dbdimp.c:1677: error: 'ulong' undeclared (first use in this function)
> dbdimp.c:1677: error: (Each undeclared identifier is reported only once
> dbdimp.c:1677: error: for each function it appears in.)
> dbdimp.c:1677: error: parse error before numeric constant
> make: *** [dbdimp.o] Error 1
>
> I have searched for 'ulong', but have not been able to find it nor
> declare it.
>
> Please let me know what I should do to correct the problem.
>
> Thanks so much!
> joe

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org