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: =?iso-8859-1?Q?Pochet_Fr=E9d=E9ric?= <Frederic dot Pochet at cockerill-sambre dot com>
Subject: Installation problem with Active Perl and sybperl 2.10.02 on NT
Date: Jun 29 1999 9:07AM

Hello,

I have the following  error when I try to nmake sybperl 2.10.02:

			D:\Temp\sybperl-2.10_02>nmake

			Microsoft (R) Program Maintenance Utility   Version
6.00.8168.0
			Copyright (C) Microsoft Corp 1988-1998. All rights
reserved.

			        link
-out:..\blib\arch\auto\Sybase\CTlib\CTlib.dll -dll -nologo -nodefau
			ltlib -release -machine:x86 CTlib.obj
D:\perl\lib\CORE\perlCAPI.lib d:\sybase\
			lib\libcs.lib d:\sybase\lib\libct.lib
d:\sybase\lib\libcomn.lib d:\perl\lib\core
			\PerlCRT.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 __imp__getpid
			perlCAPI.lib(perlCAPI.obj) : error LNK2001:
unresolved external symbol __imp__In
			itializeCriticalSection@4
			perlCAPI.lib(perlCAPI.obj) : error LNK2001:
unresolved external symbol __imp__De
			leteCriticalSection@4
			perlCAPI.lib(perlCAPI.obj) : error LNK2001:
unresolved external symbol __imp__Le
			aveCriticalSection@4
			perlCAPI.lib(perlCAPI.obj) : error LNK2001:
unresolved external symbol __imp__En
			terCriticalSection@4
			PerlCRT.lib(dllmain.obj) : error LNK2001: unresolved
external symbol __imp__Disa
			bleThreadLibraryCalls@4
			..\blib\arch\auto\Sybase\CTlib\CTlib.dll : fatal
error LNK1120: 6 unresolved ext
			ernals
			NMAKE : fatal error U1077: 'link' : return code
'0x460'
			Stop.
			NMAKE : fatal error U1077: 'cd' : return code '0x2'
			Stop.

Can anybody help me.

Thanks in advance

F.Pochet

PS: here is the config I use and the perl version


## CONFIG.
############################################################################
######
#
# Configuration file for Sybperl
#
# DBlibrary version. Set to 1000 (or higher) if you have System 10
# Set to 0 if you do not want to build DBlib or if DBlib is not available.
DBLIBVS=1000


# CTlib version. Set to 0 if Client Library is not available on your
# system, or if you don't want to build the CTlib module. The Client
# Library started shipping with System 10.
# Set to 100 if you have OpenClient 10.x or later.
CTLIBVS=100

# Where is the Sybase directory on your system (include files &
# libraries are expected to be found at SYBASE/include & SYBASE/lib
##SYBASE=/opt/sybase
SYBASE=d:\sybase

# Additional libraries.
# Some systems require -lnsl or -lBSD.
# Solaris 2.x needs -ltli
# DEC OSF/1 needs -ldnet_stub and may need -lsdna
#   (Note: Under Dec 3.2 you need to *remove* -lsdna from the DBlib/Makefile
#    for things to work. *sigh*)
# SunOS 4.x needs -linsck
# HP-UX 10.x needs -linsck
# AIX 3.2.5 needs -linsck
# Linux needs -linsck
# See the Sybase OpenClient Supplement for your OS/Hardware
# combination.
EXTRA_LIBS=-linsck

# Library directory. Under Windows/NT, if you are using the Borland
# compilers, then uncomment the line below:
# BORLAND_LIBS=blib

# Additional #defines.
# With Perl 5.001m, you will need -DUNDEF_BUG.
# With Perl 5.002, none are normally needed, but you may wish to
# use -DDO_TIE to get the benefit of stricter checking on the
# Sybase::DBlib and Sybase::CTlib attributes.
# Use -DNCR_BUG if you are on NCR 3.0 and OpenClient 10.0.x
EXTRA_DEFS=-DDO_TIE


# LINKTYPE
# If you wish to link Sybase::DBlib and/or Sybase::CTlib statically
# into perl uncomment the line below and run the make normally. Then,
# when you run 'make test' a new perl binary will be built.
#LINKTYPE=static


## Perl Version
##########################################################################


D:\Temp\sybperl-2.10_02>perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 03) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86-object
    uname=''
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cl.exe', optimize='-Od -MD -DNDEBUG -TP -GX', gccversion=
    cppflags='-DWIN32'
    ccflags ='-Od -MD -DNDEBUG -TP -GX -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DE
S_FCRYPT -DPERL_OBJECT'
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release -machine:x86'
    libpth="d:\perl\lib\core" "d:\sybase\LIB"
    libs= oldnames.lib kernel32.lib user32.lib gdi32.lib  winspool.lib
comdlg32.
lib advapi32.lib shell32.lib ole32.lib  oleaut32.lib netapi32.lib uuid.lib
wsock
32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib PerlCRT.lib
    libc=d:\perl\lib\CORE\PerlCRT.lib, so=dll, useshrplib=yes,
libperl=perlcore.
lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release
-machine:x86'



Characteristics of this binary (from libperl):
  Locally applied patches:
        ActivePerl Build 517
  Built under MSWin32
  Compiled at May 26 1999 21:29:03
  @INC:
    d:/perl/lib
    d:/perl/site/lib
    .