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: Ngo_T <Ngo_T at BLS dot GOV>
Subject: make error with gcc for installation sybperl-2.10
Date: Nov 12 1998 6:10PM

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
LD_RUN_PATH="/opt/sybase/lib:/usr/lib" /usr/local/bin/gcc -o
../blib/arch/auto/Sybase/CTlib/CTlib.so -R/opt/sybase/lib -R/usr/lib
-L/opt/sybase/lib -G -L/usr/local/lib CTlib.o    -L/opt/sybase/lib -lct
-lcs -ltcl -lcomn -lintl -ltli -lm 
gcc: CTlib.o: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target
'../blib/arch/auto/Sybase/CTlib/CTlib.so'
Current working directory /opt/sybperl-2.10/CTlib
*** Error code 1
make: Fatal error: Command failed for target 'subdirs'
#