[freetds] Problem compiling on AIX 4.3.3.0

WATTS, RANDY (SBCSI) ww1232 at sbc.com
Thu Sep 16 20:39:01 EDT 2004


I am unable to compile freeTDS on AIX.
I can get things up and running fine on Solaris and Linux ok  but no go
on AIX.
I am a newbie to the AIX environment.
Any help would be appreciated.

Thanks


Environment:

freetds-0.62.4
AIX 4.3.3.0
VisualAge C++ compiler version 5

No configure options at all . Just using defaults.
------------------------------------------------------------------------
-------------------


At the point that things bomb out I get the following error.

"
creating libtds_objects.la
(cd .libs && rm -f libtds_objects.la && ln -s ../libtds_objects.la
libtds_objects.la)
        /bin/sh ../../libtool --mode=link cc  -g    -o libtds.la -rpath
/usr/local/lib -version-info 3:0:0  libtds_objec
ts.la  -liconv ../replacements/libreplacements.la
generating symbol list for `libtds.la'
/usr/bin/nm -B -BCpg   ./.libs/libtds_objects.a
../replacements/.libs/libreplacements.a | awk '{ if ((($2 == "T") || ($2
 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' |
sort -u > .libs/libtds.exp
cc -Wl,-bM:SRE -o .libs/libtds.so.3    -liconv -lc
-Wl,-bE:.libs/libtds.exp -Wl,-bnoentry ${wl}-berok
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
make: 1254-004 The error code from the last command is 8.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop. "

============================================================

On the second pass using make here is a more concise output:

------------------------------------------------------------------------
----------------------------------------------
"
make
Making all in include
        make  all-am
Target "all-am" is up to date.
Making all in src
Making all in replacements
Target "all" is up to date.
Making all in tds
Making all in unittests
Target "all" is up to date.
        /bin/sh ../../libtool --mode=link cc  -g    -o libtds.la -rpath
/usr/local/lib -version-info 3:0:0  libtds_objec
ts.la  -liconv ../replacements/libreplacements.la
rm -fr  .libs/libtds.exp .libs/libtds.so.3
generating symbol list for `libtds.la'
/usr/bin/nm -B -BCpg   ./.libs/libtds_objects.a
../replacements/.libs/libreplacements.a | awk '{ if ((($2 == "T") || ($2
 == "D") || ($2 == "B")) && (substr($3,1,1) != ".")) { print $3 } }' |
sort -u > .libs/libtds.exp
cc -Wl,-bM:SRE -o .libs/libtds.so.3    -liconv -lc
-Wl,-bE:.libs/libtds.exp -Wl,-bnoentry ${wl}-berok
ld: 0711-244 ERROR: No csects or exported symbols have been saved.
make: 1254-004 The error code from the last command is 8.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop."



More information about the FreeTDS mailing list