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: "TISO, Marcello, GCM" <Marcello dot Tiso at gcm dot com>
Subject: RE: Installing sybperl on NT
Date: Mar 28 2002 12:24PM

Akanksha,

	In the Ctlib/Makefile.PL you might want to try to add the line 

	$lib_string = "-L$SYBASE\\lib -llibcs -llibct -llibcomn -llibblk";

	The above is in the section where is starts:
	# Extra flags to pass to CPP
		if($^O eq 'MSWin32') { ...........



	This worked for me. I hope it does for you.

	-Marcello Tiso

-----Original Message-----
From: Akanksha_Gulati [mailto:Akanksha_Gulati@satyam.com] 
Sent: Thursday, March 28, 2002 2:12 AM
To: SybPerl Discussion List
Subject: Installing sybperl on NT


Hi,
  I am building sybperl-2.14_01 on NT.I have perl 5.05 on my machine. After
running Makefile.PL,Makefile for CTlib,DBlib gets successfully made. The
second step is to run NMAKE in which ceation of CTlib.obj and CTlib.dll
does not take place I face the following kind of error

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved. Skip
...\blib\lib\Sybase\CTlib.pm (unchanged)
        cl -c -ID:\sybase\include -nologo -O1 -MD -DNDEBUG -DWIN32
-D_CONSOLE -D NO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DPERL_M
SVCRT_READFIX -O1 -MD -DNDEBUG    -DVERSION=\"2.14_01\"
-DXS_VERSION=\"2.14_01\
"  -ID:\Perl\lib\CORE -DCTLIBVS=100 -DSYBPLVER=\"2.14_01\" -DDO_TIE CTlib.c
CTlib.c
CTlib.xs(1191) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1524) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1537) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1554) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1758) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1759) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1761) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1763) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1766) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1872) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1873) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1875) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1879) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1882) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1884) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1888) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1896) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1917) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1929) : warning C4133: 'function' : incompatible types - from
'struct _ PerlIO *' to 'struct _iobuf *'
CTlib.xs(1652) : warning C4716: 'fetch2sv' : must return a value "Running
Mkbootstrap for Sybase::CTlib ()"
        D:\Perl\bin\perl.exe -ID:\Perl\lib -ID:\Perl\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\lib\CORE"  -machine:x86
CTlib.obj D:\Perl\li b\CORE\perl56.lib D:\sybase\lib\libcs.lib
D:\sybase\lib\libct.lib D:\sybase\lib\ libcomn.lib "D:\Microsoft Visual
Studio\VC98\lib\oldnames.lib" "D:\Microsoft Vis ual
Studio\VC98\lib\kernel32.lib" "D:\Microsoft Visual
Studio\VC98\lib\user32.li b" "D:\Microsoft Visual
Studio\VC98\lib\gdi32.lib" "D:\Microsoft Visual Studio\V
C98\lib\winspool.lib" "D:\Microsoft Visual Studio\VC98\lib\comdlg32.lib"
"D:\Mic rosoft Visual Studio\VC98\lib\advapi32.lib" "D:\Microsoft Visual
Studio\VC98\lib \shell32.lib" "D:\Microsoft Visual
Studio\VC98\lib\ole32.lib" "D:\Microsoft Visu al
Studio\VC98\lib\oleaut32.lib" "D:\Microsoft Visual
Studio\VC98\lib\netapi32.l ib" "D:\Microsoft Visual
Studio\VC98\lib\uuid.lib" "D:\Microsoft Visual Studio\V
C98\lib\wsock32.lib" "D:\Microsoft Visual Studio\VC98\lib\mpr.lib"
"D:\Microsoft  Visual Studio\VC98\lib\winmm.lib" "D:\Microsoft Visual
Studio\VC98\lib\version. lib" "D:\Microsoft Visual
Studio\VC98\lib\odbc32.lib" "D:\Microsoft Visual Studi
o\VC98\lib\odbccp32.lib" "D:\Microsoft Visual Studio\VC98\lib\msvcrt.lib"
-def:C Tlib.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 _blk_describe@12 CTlib.obj : error LNK2001:
unresolved external symbol _blk_init@16 CTlib.obj : error LNK2001:
unresolved external symbol _blk_props@24 CTlib.obj : error LNK2001:
unresolved external symbol _blk_alloc@12 CTlib.obj : error LNK2001:
unresolved external symbol _blk_drop@4 CTlib.obj : error LNK2001:
unresolved external symbol _blk_rowxfer@4 CTlib.obj : error LNK2001:
unresolved external symbol _blk_bind@24 CTlib.obj : error LNK2001:
unresolved external symbol _blk_done@12
....\blib\arch\auto\Sybase\CTlib\CTlib.dll : fatal error LNK1120: 8
unresolved ext ernals NMAKE : fatal error U1077: 'link' : return code
'0x460' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2'


Any ideas why I get so many warning and linking errors?
Any help would be greatly appreciated. 
Thanks
Regards
Akanksha







************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************


**********************************************************************
This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.
************************************************************************