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: "Jesse Soklin" <jesse dot soklin at mci dot com>
Subject: Error in make on digital Unix 4.0d
Date: Mar 4 1999 3:24PM

Hello, can someone please help me to know what this error is?

Setup:
Perl 4.004.004
Digital Unix 4.0d
Sybase open client 11.1.1
sybperl-2.10

Sybperl CONFIG:
SYBASE=/usr/users/sybase/syb11
EXTRA_LIBS=-ltli
all others are the default

Note:
I followed the Sybperl FAQ and rebuilt perl to not have the -ldb included
I also did a export LD_LIBRARY_PATH=/usr/users/sybase/syb11/lib my sybase
directory
Also I tried to change the CTlib/Makefile to add the -exact_version to
LDDLEFLAGS which did not work

Also I get the same errors on sybase 10.04 open client, perl 5.005 and
sybperl-2.09.05

# make
/usr/local/lib/perl5/ExtUtils/typemap DBlib.xs >DBlib.tc && mv DBlib.tc
DBlib.c
cc -c -I/usr/users/sybase/syb11/include -std -D_INTRINSICS -D__LANGUAGE_C__ 
-O4     -DVERSION=\"2.10\"  -DXS_VERSION=\"2.10\"  -I/usr/local/lib/perl5/al
pha-dec_osf/5.00404/CORE -DDBLIBVS=1000 -DSYBPLVER='"2.10"' -DDO_TIE DBlib.c
cc: Warning: DBlib.xs, line 4353: In this statement, the referenced type of
the pointer value "buf" is "char", which is not compatible with "unsigned
char".
    RETVAL = dbmoretext(dbproc, size, buf);
-------------^
Running Mkbootstrap for Sybase::DBlib ()
chmod 644 DBlib.bs
ar cr tmp.a DBlib.o
: tmp.a
LD_RUN_PATH="/usr/users/sybase/syb11/lib:/usr/shlib" ld -o
.././blib/arch/auto/Sybase/DBlib/DBlib.so  -L/usr/users/sybase/syb11/lib -sh
ared -expect_unresolved "*" -O4 -msym -s -L/usr/local/lib -all
.a -none    -L/usr/users/sybase/syb11/lib -lsybdb -ltli -lm
chmod 755 .././blib/arch/auto/Sybase/DBlib/DBlib.so
cp DBlib.bs .././blib/arch/auto/Sybase/DBlib/DBlib.bs
chmod 644 .././blib/arch/auto/Sybase/DBlib/DBlib.bs
mkdir .././blib/arch/auto/Sybase/Sybperl
mkdir .././blib/lib/auto/Sybase/Sybperl
cp Sybperl.pm .././blib/lib/Sybase/Sybperl.pm
AutoSplitting Sybase::Sybperl (.././blib/lib/auto/Sybase/Sybperl)