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 MBAY dot NET>
Subject: Re: Compilation error on Solaris 2.5.1
Date: Apr 1 1998 4:15PM

Westerhoff, Jack (MCI) wrote:
> 
> I get the following error attempting to compile sybperl2.09 on Solaris 2.5.1
> (Workshop Compiler 4.2):
> 
> cc -c -I/d1/sybase/include -I/usr/local/include -O     -DVERSION=\"2.09\"  -DXS_
> VERSION=\"2.09\" -fpic -I/usr/local/lib/perl5/sun4-solaris/5.00403/CORE -DCTLIBV
> S=100 -DSYBPLVER='"2.09"' -DDO_TIE CTlib.c
> ucbcc: Warning: Option -fpic passed to ld, if ld is invoked, ignored 
^^^^^^^^

Here's your clue. The perl was built with 'cc' (probably the 
unbundled cc), but you've got /usr/ucb fairly early in your path
so it finds the old cc (which is not ANSI) and won't be able to build
this.

Do you have gcc installed?

If so, you could probably get things to work by aliasing cc to gcc.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@datamig.com    -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com