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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Problem compiling sybperl 2.16 with ASE 12.5.1 on SUSE 9.0
Date: Jan 12 2004 10:07PM

On Mon, 2004-01-12 at 13:58, David Eyer wrote:
> Hi Michael,

> I
> just installed ASE 12.5.1 on SUSE 9.0 and ran into
> some compile errors when making sybperl 2.16.  See
> listing below.



> cc -c  -I/opt/sybase/OCS-12_5/include -D_REENTRANT
> -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -pipe 
>  -DVERSION=\"2.16\" -DXS_VERSION=\"2.16\" -fPIC
> "-I/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE" 
> -DCTLIBVS=100 -DSYBPLVER='"2.16"' -DDO_TIE CTlib.c
> CTlib.xs: In function `newdbh':
> CTlib.xs:452: warning: unused variable `count'



It appears that SuSE's perl binary is built with the -Wall option to gcc
by default. This isn't turned on by default for other builds (not for
RedHat, and not when you build perl yourself).

These warnings can be safely ignored (although I should maybe fixup the
code to clear up some or most of them).

Michael
-- 
Michael Peppler                              Data Migrations, Inc.
mpeppler@peppler.org                 http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or 
long term contract positions - http://www.mbay.net/~mpeppler/resume.html