Puse primero la siguiente línea y funcionó todo muy bien,
- Código: Seleccionar todo
C:\Documentos\Plataforma\Perl\ModulosPerl\DBD>perl makefile.pl --libs=-LC:\Archivos de programa\MySQL\MySQL Server 5.0\lib\debug --cflags=-IC:\Archivos de programa\MySQL\MySQL Server 5.0\include
Luego hice un nmake porque estoy trabajando en Windows XP y tuve estos errores, si alguien me puede ayudar muchas gracias.
- Código: Seleccionar todo
C:\DocumentosIgor\Plataforma\Perl\ModulosPerl\DBD-mysql-3.0002>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
NMAKE -f Makefile all -nologo
cd ..
C:\Perl\bin\perl.exe myld link -out:blib\arch\auto\DBD\mysql\mysql.dll -
dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -mac
hine:x86 dbdimp.obj mysql.obj C:\Perl\lib\CORE\perl58.lib "C:\Archivos de pro
grama\Microsoft Visual Studio\VC98\lib\oldnames.lib" "C:\Archivos de programa\Mi
crosoft Visual Studio\VC98\lib\kernel32.lib" "C:\Archivos de programa\Microsoft
Visual Studio\VC98\lib\user32.lib" "C:\Archivos de programa\Microsoft Visual Stu
dio\VC98\lib\gdi32.lib" "C:\Archivos de programa\Microsoft Visual Studio\VC98\li
b\winspool.lib" "C:\Archivos de programa\Microsoft Visual Studio\VC98\lib\comdlg
32.lib" "C:\Archivos de programa\Microsoft Visual Studio\VC98\lib\advapi32.lib"
"C:\Archivos de programa\Microsoft Visual Studio\VC98\lib\shell32.lib" "C:\Archi
vos de programa\Microsoft Visual Studio\VC98\lib\ole32.lib" "C:\Archivos de prog
rama\Microsoft Visual Studio\VC98\lib\oleaut32.lib" "C:\Archivos de programa\Mic
rosoft Visual Studio\VC98\lib\netapi32.lib" "C:\Archivos de programa\Microsoft V
isual Studio\VC98\lib\uuid.lib" "C:\Archivos de programa\Microsoft Visual Studio
\VC98\lib\ws2_32.lib" "C:\Archivos de programa\Microsoft Visual Studio\VC98\lib\
mpr.lib" "C:\Archivos de programa\Microsoft Visual Studio\VC98\lib\winmm.lib" "C
:\Archivos de programa\Microsoft Visual Studio\VC98\lib\version.lib" "C:\Archivo
s de programa\Microsoft Visual Studio\VC98\lib\odbc32.lib" "C:\Archivos de progr
ama\Microsoft Visual Studio\VC98\lib\odbccp32.lib" "C:\Archivos de programa\Micr
osoft Visual Studio\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
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_real_connect@32
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_options@12
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_init@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_errno@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_errno@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_error@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_error@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_commit@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_rollback@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_close@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_close@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_autocommit@8
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_get_proto_info@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stat@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_get_server_info@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_get_server_info@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_thread_id@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_insert_id@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_info@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_get_host_info@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_param_count@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_close@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_stmt_close@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_prepare@12
mysql.obj : error LNK2001: unresolved external symbol _mysql_stmt_prepare@12
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_init@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_stmt_init@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_num_rows@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_num_rows@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_affected_rows@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_store_result@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_use_result@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_real_query@12
mysql.obj : error LNK2001: unresolved external symbol _mysql_real_query@12
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_list_fields@12
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_free_result@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_real_escape_string
@16
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_num_rows@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_error@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_stmt_error@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_store_result@
4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_errno@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_result_metada
ta@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_execute@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_bind_param@8
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_num_fields@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_bind_result@8
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_fetch_fields@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_fetch_lengths@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_fetch_row@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_fetch_row@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_fetch_column@
16
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_affected_rows
@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_fetch@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_stmt_free_result@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_fetch_field@4
dbdimp.obj : error LNK2001: unresolved external symbol _mysql_field_seek@8
mysql.obj : error LNK2001: unresolved external symbol _mysql_list_dbs@8
mysql.obj : error LNK2001: unresolved external symbol _mysql_refresh@8
mysql.obj : error LNK2001: unresolved external symbol _mysql_shutdown@8
mysql.obj : error LNK2001: unresolved external symbol _mysql_ping@4
mysql.obj : error LNK2001: unresolved external symbol _mysql_data_seek@12
mysql.obj : error LNK2001: unresolved external symbol _mysql_stmt_data_seek@12
mysql.obj : error LNK2001: unresolved external symbol _mysql_get_parameters@0
mysql.obj : error LNK2001: unresolved external symbol _is_prefix
blib\arch\auto\DBD\mysql\mysql.dll : fatal error LNK1120: 54 unresolved external
s
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x1'
Stop.
¡Estoy desesperado!