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: make error with gcc for installation sybperl-2.10
Date: Nov 12 1998 6:40PM

Ngo_T writes:
 > I use gcc instead of cc compiler.  These are my errors.  Please help me
 > to fix the problem.
 > Thanks
 > Trang
 > 
 > # cc=gcc
 > # export $cc
 > # make
 > /usr/local/bin/gcc -c -I/opt/sybase/include  -xO2     -DVERSION=\"2.10\"
 > -DXS_VERSION=\"2.10\" -Kpic
 > -I/opt/perl5.004_04/lib/sun4-solaris/5.00404/CORE -DCTLIBVS0
 > -DSYBPLVER='"2.10"' -DDO_TIE CTlib.c
 > gcc: unrecognized option '-Kpic'
 > gcc: language O2 not recognized
 > gcc: CTlib.c: linker input file unused since linking not done

You can't simply tell perl's global system to use a different
compiler. There are too many dependancies in lots of different places.

You need to build sybperl with the same compiler that perl was built
with, or rebuild perl with gcc.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com