Skip Menu |
 

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 23836
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: James.Woodworth [...] ricardo.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: trouble linking on windows-xp
Date: Wed, 6 Dec 2006 18:06:19 -0600
To: <bug-DBD-mysql [...] rt.cpan.org>
From: "Woodworth, James" <James.Woodworth [...] ricardo.com>
Download (untitled) / with headers
text/plain 8.4k
Hello, i am having difficulty compiling/linking using the visualstudio 98 with 4.1.12 mysql and dbi-1.53 and dbd-3.0008. hope the following output is readable. please let me know what i should omit if too much. as i software tester myself, i am getting that queasy feeling that this my error somewhere, but i am at a loss. thanks for the help, jim woodworth D:\DBD-mysql-3.0008>nmake realclean Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. V:\Perl58\bin\perl.exe -MExtUtils::Command -e rm_f *.lib core core.[0-9] core.[0-9][0-9] mysql.bso blib\arch\auto\DBD\mys ql\extralibs.ld pm_to_blib.ts core.[0-9][0-9][0-9][0-9] mysql.x mysql.bs perl.exe tmon.out blib\arch\auto\DBD\mysql\extralibs.al l *.obj pm_to_blib mysql.c blibdirs.ts core.[0-9][0-9][0-9][0-9][0-9] *perl.core core.*perl.*.? Makefile.aperl perl mysql.def c ore.[0-9][0-9][0-9] mon.out libmysql.def perlmain.c perl.exe so_locations mysql.exp V:\Perl58\bin\perl.exe -MExtUtils::Command -e rm_rf *.pdb *.xsi blib V:\Perl58\bin\perl.exe -MExtUtils::Command -e mv Makefile Makefile.old > NUL V:\Perl58\bin\perl.exe -MExtUtils::Command -e rm_f dbdimp.obj mysql.obj Makefile.old Makefile V:\Perl58\bin\perl.exe -MExtUtils::Command -e rm_rf DBD-mysql-3.0008 D:\DBD-mysql-3.0008>perl58 Makefile.PL --libs="-LV:\mysql\lib\opt -lmysqlclient" --cflags="/MD -IV:\mysql\include" I will use the following settings for compiling and testing: cflags (User's choice) = /MD -IV:\mysql\include embedded (guessed ) = libs (User's choice) = -LV:\mysql\lib\opt -lmysqlclient nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Checking if your kit is complete... Looks good Using DBI 1.53 (for perl 5.008008 on MSWin32-x86-multi-thread) installed in v:/Perl58/site/lib/auto/DBI/ Writing Makefile for DBD::mysql D:\DBD-mysql-3.0008>nmake Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cp lib/DBD/mysql.pm blib\lib\DBD\mysql.pm cp lib/DBD/mysql/GetInfo.pm blib\lib\DBD\mysql\GetInfo.pm cp lib/Mysql.pm blib\lib\Mysql.pm cp lib/DBD/mysql/INSTALL.pod blib\lib\DBD\mysql\INSTALL.pod cp lib/Mysql/Statement.pm blib\lib\Mysql\Statement.pm cp lib/Bundle/DBD/mysql.pm blib\lib\Bundle\DBD\mysql.pm cl -c -IV:\Perl58\site\lib\auto\DBI /MD -IV:\mysql\include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -nologo -Gf -W3 -MD -Zi -DNDEB UG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READF IX -MD -Zi -DNDEBUG -O1 -DVERSION=\"3.0008\" -DXS_VERSION=\"3.0008\" "-IV:\perl58\lib\CORE" dbdimp.c Command line warning D4002 : ignoring unknown option '-g' dbdimp.c dbdimp.c(466) : warning C4018: '<' : signed/unsigned mismatch dbdimp.c(1899) : warning C4244: '=' : conversion from 'long ' to 'unsigned short ', possible loss of data dbdimp.c(1935) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'char ', possible loss of data dbdimp.c(2369) : warning C4244: '=' : conversion from 'unsigned short ' to 'char ', possible loss of data dbdimp.c(2380) : warning C4244: '=' : conversion from 'unsigned short ' to 'char ', possible loss of data dbdimp.c(2914) : warning C4018: '<' : signed/unsigned mismatch dbdimp.c(3005) : warning C4018: '<' : signed/unsigned mismatch dbdimp.c(3478) : warning C4018: '<' : signed/unsigned mismatch dbdimp.c(3627) : warning C4700: local variable 'slen' used without having been initialized V:\Perl58\bin\perl.exe -p -e "s/~DRIVER~/mysql/g" V:\Perl58\site\lib\auto\DBI\Driver.xst > mysql.xsi V:\Perl58\bin\perl.exe V:\Perl58\lib\ExtUtils\xsubpp -typemap V:\perl58\lib\ExtUtils\typemap mysql.xs > mysql.xsc && V:\Pe rl58\bin\perl.exe -MExtUtils::Command -e mv mysql.xsc mysql.c Warning: duplicate function definition 'do' detected in mysql.xs, line 224 Warning: duplicate function definition 'rows' detected in mysql.xs, line 567 cl -c -IV:\Perl58\site\lib\auto\DBI /MD -IV:\mysql\include -DDBD_MYSQL_INSERT_ID_IS_GOOD -g -nologo -Gf -W3 -MD -Zi -DNDEB UG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READF IX -MD -Zi -DNDEBUG -O1 -DVERSION=\"3.0008\" -DXS_VERSION=\"3.0008\" "-IV:\perl58\lib\CORE" mysql.c Command line warning D4002 : ignoring unknown option '-g' mysql.c mysql.xs(420) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data mysql.xs(459) : warning C4244: '=' : conversion from 'unsigned __int64 ' to 'int ', possible loss of data mysql.xs(639) : warning C4013: 'is_prefix' undefined; assuming extern returning int mysql.xs(246) : warning C4700: local variable 'slen' used without having been initialized Running Mkbootstrap for DBD::mysql () V:\Perl58\bin\perl.exe -MExtUtils::Command -e chmod 644 mysql.bs V:\Perl58\bin\perl.exe -MExtUtils::Mksymlists -e "Mksymlists('NAME'=>\"DBD::mysql\", 'DLBASE' => 'mysql', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" V:\Perl58\bin\perl.exe myld link -out:blib\arch\auto\DBD\mysql\mysql.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -li bpath:"v:\perl58\lib\CORE" -machine:x86 dbdimp.obj mysql.obj V:\perl58\lib\CORE\perl58.lib V:\mysql\lib\opt\mysqlclient.lib C:\V isualStudio\VC98\lib\oldnames.lib C:\VisualStudio\VC98\lib\kernel32.lib C:\VisualStudio\VC98\lib\user32.lib C:\VisualStudio\VC98\lib \gdi32.lib C:\VisualStudio\VC98\lib\winspool.lib C:\VisualStudio\VC98\lib\comdlg32.lib C:\VisualStudio\VC98\lib\advapi32.lib C:\Visu alStudio\VC98\lib\shell32.lib C:\VisualStudio\VC98\lib\ole32.lib C:\VisualStudio\VC98\lib\oleaut32.lib C:\VisualStudio\VC98\lib\neta pi32.lib C:\VisualStudio\VC98\lib\uuid.lib C:\VisualStudio\VC98\lib\ws2_32.lib C:\VisualStudio\VC98\lib\mpr.lib C:\VisualStudio\VC98 \lib\winmm.lib C:\VisualStudio\VC98\lib\version.lib C:\VisualStudio\VC98\lib\odbc32.lib C:\VisualStudio\VC98\lib\odbccp32.lib C:\Vis ualStudio\VC98\lib\msvcrt.lib -def:mysql.def Creating library blib\arch\auto\DBD\mysql\mysql.lib and object blib\arch\auto\DBD\mysql\mysql.exp mysqlclient.lib(mf_pack.obj) : error LNK2001: unresolved external symbol __pctype mysqlclient.lib(mf_pack.obj) : error LNK2001: unresolved external symbol ___mb_cur_max blib\arch\auto\DBD\mysql\mysql.dll : fatal error LNK1120: 2 unresolved externals NMAKE : fatal error U1077: 'V:\Perl58\bin\perl.exe' : return code '0x1' Stop. D:\DBD-mysql-3.0008> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender immediately and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient). Only Directors or Duly Authorised Officers are authorised to enter into legally binding obligations on behalf of Ricardo unless the obligation is contained within a Ricardo Purchase Order. Ricardo may monitor outgoing and incoming e-mails and other telecommunications on its e-mail and telecommunications systems. By replying to this e-mail you give your consent to such monitoring. The recipient should check this email and any attachments for the presence of viruses. Ricardo accepts no liability for any damage caused by any virus transmitted by this email. 'Ricardo' means Ricardo Plc and its subsidiary companies. Ricardo plc is a public limited company registered in England with registered number 00222915. The registered office of Ricardo plc is Shoreham Technical Centre, Shoreham-by-Sea, West Sussex, BN43 5FG. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
closing. Old version of DBD and old version of windows.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.