PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Colin McFarlane <Colin dot Mcfarlane at multex-uk dot com>
Subject: Unable to build sybperl-2.13 on NT for perl-5.6.0
Date: Mar 6 2001 9:52AM

> I've having some trouble building sybperl 2.13 on NT4 with perl 5.6.0.
> I've built perl from scratch okay using MS Visual C, and that worked okay
> but when I run perl makefile.pl and then nmake I get the following:
> 
Any help at all would be greatly appreciated.

> D:\perl.stuff\sybperl-2.13>perl makefile.pl
> The system cannot find the path specified.
> The system cannot find the path specified.
> Writing Makefile for Sybase::BCP
> Note (probably harmless): No library found for '-llibcomn'
> Note (probably harmless): No library found for 'oldnames.lib'
> Note (probably harmless): No library found for 'kernel32.lib'
> Note (probably harmless): No library found for 'user32.lib'
> Note (probably harmless): No library found for 'gdi32.lib'
> Note (probably harmless): No library found for 'winspool.lib'
> Note (probably harmless): No library found for 'comdlg32.lib'
> Note (probably harmless): No library found for 'advapi32.lib'
> Note (probably harmless): No library found for 'shell32.lib'
> Note (probably harmless): No library found for 'ole32.lib'
> Note (probably harmless): No library found for 'oleaut32.lib'
> Note (probably harmless): No library found for 'netapi32.lib'
> Note (probably harmless): No library found for 'uuid.lib'
> Note (probably harmless): No library found for 'wsock32.lib'
> Note (probably harmless): No library found for 'mpr.lib'
> Note (probably harmless): No library found for 'winmm.lib'
> Note (probably harmless): No library found for 'version.lib'
> Note (probably harmless): No library found for 'odbc32.lib'
> Note (probably harmless): No library found for 'odbccp32.lib'
> Note (probably harmless): No library found for 'msvcrt.lib'
> Writing Makefile for Sybase::CTlib
> Note (probably harmless): No library found for '-llibcomn'
> Note (probably harmless): No library found for 'oldnames.lib'
> Note (probably harmless): No library found for 'kernel32.lib'
> Note (probably harmless): No library found for 'user32.lib'
> Note (probably harmless): No library found for 'gdi32.lib'
> Note (probably harmless): No library found for 'winspool.lib'
> Note (probably harmless): No library found for 'comdlg32.lib'
> Note (probably harmless): No library found for 'advapi32.lib'
> Note (probably harmless): No library found for 'shell32.lib'
> Note (probably harmless): No library found for 'ole32.lib'
> Note (probably harmless): No library found for 'oleaut32.lib'
> Note (probably harmless): No library found for 'netapi32.lib'
> Note (probably harmless): No library found for 'uuid.lib'
> Note (probably harmless): No library found for 'wsock32.lib'
> Note (probably harmless): No library found for 'mpr.lib'
> Note (probably harmless): No library found for 'winmm.lib'
> Note (probably harmless): No library found for 'version.lib'
> Note (probably harmless): No library found for 'odbc32.lib'
> Note (probably harmless): No library found for 'odbccp32.lib'
> Note (probably harmless): No library found for 'msvcrt.lib'
> Writing Makefile for Sybase::DBlib
> Writing Makefile for Sybase::Sybperl
> Writing Makefile for Sybase
> 
> D:\perl.stuff\sybperl-2.13>nmake
> 
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
> 
> cp myfile.pod ..\blib\lib\Sybase\myfile.pod
> Skip ..\blib\lib\Sybase\CTlib.pm (unchanged)
>         cl -c -Id:\sybase/OCS-12_0\include -O1 -MD -DNDEBUG -DWIN32
> -D_CONSOLE -
> DNO_STRICT -DPERL_MSVCRT_READFIX -O1 -MD -DNDEBUG      -DVERSION=\"2.13\"
> -DXS_
> VERSION=\"2.13\"  -ID:\perl\5.6.0\lib\MSWin32-x86\CORE -DCTLIBVS=100
> -DSYBPLVER=
> \"2.13\" -DDO_TIE CTlib.c
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for
> 80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
> 
> CTlib.c
> "Running Mkbootstrap for Sybase::CTlib ()"
>         D:\perl\5.6.0\bin\MSWin32-x86\perl.exe
> -Id:\perl\5.6.0\lib\MSWin32-x86 -
> Id:\perl\5.6.0\lib -MExtUtils::Command -e chmod 644 CTlib.bs
>         link -out:..\blib\arch\auto\Sybase\CTlib\CTlib.dll -dll -nologo
> -nodefau
> ltlib -release  -libpath:"d:\perl\5.6.0\lib\MSWin32-x86\CORE"
> -machine:x86 CTli
> b.obj   D:\perl\5.6.0\lib\MSWin32-x86\CORE\perl56.lib
> d:\sybase\OCS-12_0\lib\lib
> cs.lib d:\sybase\OCS-12_0\lib\libct.lib -def:CTlib.def
>    Creating library ..\blib\arch\auto\Sybase\CTlib\CTlib.lib and object
> ..\blib\
> arch\auto\Sybase\CTlib\CTlib.exp
> CTlib.obj : error LNK2001: unresolved external symbol __fltused
> CTlib.obj : error LNK2001: unresolved external symbol _strcmp
> CTlib.obj : error LNK2001: unresolved external symbol _memset
> CTlib.obj : error LNK2001: unresolved external symbol _strlen
> CTlib.obj : error LNK2001: unresolved external symbol __imp___pctype
> CTlib.obj : error LNK2001: unresolved external symbol __imp____mb_cur_max
> CTlib.obj : error LNK2001: unresolved external symbol __imp___isctype
> CTlib.obj : error LNK2001: unresolved external symbol __imp__sprintf
> CTlib.obj : error LNK2001: unresolved external symbol _strcat
> CTlib.obj : error LNK2001: unresolved external symbol _strcpy
> CTlib.obj : error LNK2001: unresolved external symbol __imp__strncmp
> CTlib.obj : error LNK2001: unresolved external symbol __imp__strchr
> CTlib.obj : error LNK2001: unresolved external symbol __ftol
> CTlib.obj : error LNK2001: unresolved external symbol __imp__strrchr
> CTlib.obj : error LNK2001: unresolved external symbol __imp__atof
> LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
> ..\blib\arch\auto\Sybase\CTlib\CTlib.dll : fatal error LNK1120: 16
> unresolved ex
> ternals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
> NMAKE : fatal error U1077: 'cd' : return code '0x2'
> Stop.
> 
> D:\perl.stuff\sybperl-2.13>
> 
> The main environment variables are set as follows.
> 
> include=d:\Program Files\Microsoft Visual
> Studio\VC98\atl\include;d:\Program Fil
> es\Microsoft Visual Studio\VC98\mfc\include;d:\Program Files\Microsoft
> Visual St
> udio\VC98\include;d:\sybase\OCS-12_0\include
> lib=d:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;d:\Program
> Files\Micro
> soft Visual Studio\VC98\lib;d:\sybase\OCS-12_0\lib
> Path=.;D:\MKS\bin;D:\MKS\bin\x11;D:\MKS\mksnt;d:\sybase\odbc-dc-12_0;d:\sy
> base\d
> c-12_0\drivers;d:\sybase\dc-12_0\bin;d:\sybase\dc-12_0\svclib;d:\sybase\as
> ep;d:\
> sybase\ocs-12_0\dll;d:\sybase\ocs-12_0\bin;d:\sybase\ase-12_0\dll;d:\sybas
> e\ase-
> 12_0\bin;d:\sybase\sqlremote\dll;d:\jdk1.3\bin;d:\j2sdkee1.3\bin;c:\winnt\
> system
> 32;d:\perl\5.6.0\bin\MSWin32-x86;C:\Program Files\Microsoft Visual
> Studio\Common
> \Tools\WinNT;C:\Program Files\Microsoft Visual
> Studio\Common\MSDev98\Bin;C:\Prog
> ram Files\Microsoft Visual Studio\Common\Tools;d:\Program Files\Microsoft
> Visual
>  Studio\VC98\bin;C:\SE\SEPROG
> SYBASE=d:\sybase
> SYBASE_ASE=ASE-12_0
> SYBASE_ECON=DC-12_0
> SYBASE_FTS=FTS-12_0
> SYBASE_OCS=OCS-12_0
> 
> Any help at all would be greatly appreciated.
> 
> Cheers - Colin
> 
> p.s. although MKS is installed I did all the builds in a standard DOS
> shell.
> 
> -------------------------------------------
> Colin McFarlane
> Head of Data Management, Multex
> Multex Global Estimates www.global-estimates.com
> Direct: +44 (0) 131 473 7070
> Fax: +44 (0) 131 473 7080 
> -------------------------------------------
>