Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Neil Ratzlaff <Neil dot Ratzlaff at ucop dot edu>
Subject: errors at make
Date: Nov 19 1998 7:58PM

I have AIX 4.2.1, Sybase Open Client 10.0.4, newly created perl 5.005_02.
I am
trying to create sybperl 2.09.  The only change I made in the default CONFIG
file was to specify the sybase open client directory.

perl Makefile.PL has no problems
But make ends with this:

ld: 0711-317 ERROR: Undefined symbol: bsd_tcp
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
make:1254-004 The error code from the last command is 2.

So I put -bloadmap in the CTlib/Makefile and got this output:

(ld): halt 4
(ld): savename ../blib/arch/auto/Sybase/CTlib/
(ld): filelist 9 3
(ld): setopt noprogram
(ld): noentry
NOENTRY: There is no entry point.
(ld): lib /usr/lib/libc.a
(ld): i CTlib.o
(ld): lib /sybase/clientlib/prod/lib/libct.a
(ld): lib /sybase/clientlib/prod/lib/libcs.a
(ld): lib /sybase/clientlib/prod/lib/libtcl.a
(ld): lib /sybase/clientlib/prod/lib/libcomn.a
(ld): lib /sybase/clientlib/prod/lib/libintl.a
(ld): lib /usr/lib/libtli.a
(ld): lib /usr/lib/libm.a
LIBRARY: Shared object libc.a[aio.o]: 10 symbols imported.
LIBRARY: Shared object libc.a[shr.o]: 1559 symbols imported.
LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported.
LIBRARY: Shared object libc.a[pse.o]: 78 symbols imported.
LIBRARY: Shared object libtli.a[shr.o]: 28 symbols imported.
FILELIST: Number of previously inserted files processed: 9
(ld): imports /usr/local/perl5.005/lib/5.00502/aix/CORE/perl.exp 
IMPORTS: Symbols imported from import file
/usr/local/perl5.005/lib/5.00502/aix/CORE/perl.exp: 1651
(ld): exports CTlib.exp 
EXPORTS: Symbols exported: 1
(ld): resolve
RESOLVE: 2814 of 12513 symbols were kept.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 107 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
       The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR
                           RLD: Address  Section  Rld-type Referencing Symbol
 bsd_tcp                   [18]    ER DS
                           00000010 .data    R_POS    [14]    drivers
                           00000004 .data    R_POS    [20]    
ER: The return code is 8.

 Now I am totally lost since I still don't know where to find the symbol, or
what to do about it if I could find it.  I suspect that the perl.exp file
should have it and doesn't, which implies that the perl5.005_02 I just created
didn't create it for some reason.

Can someone tell what I have missed, and how to fix it?