#9 AIX 4.3.3 make fails: missing -lc

open
Mark Hessling
None
5
2004-06-15
2003-06-16
No

Hi,

Another minor problem with the make:

ld -bnoentry -bM:SRE -bE:rexxsql.exp -o
librexxsql.a ora_dyn.o hash_dyn.o rxpack_dyn.o -
L/usr/local/lib -lregina -ll -lm -lnsl -lcrypt -ldl -lm -lnsl -
L/u01/app/oracle/product/8.1.7.4/lib -lclntsh -
L/usr/local/lib -lregina -ll -lm -lnsl -lcrypt -ldl -lm -lnsl
ld: 0711-317 ERROR: Undefined symbol: _iob
ld: 0711-317 ERROR: Undefined symbol: .fprintf
ld: 0711-317 ERROR: Undefined symbol: .exit
ld: 0711-317 ERROR: Undefined symbol: .malloc
ld: 0711-317 ERROR: Undefined symbol: .sprintf
ld: 0711-317 ERROR: Undefined symbol: .strlen
ld: 0711-317 ERROR: Undefined symbol: ._moveeq
ld: 0711-317 ERROR: Undefined symbol: .system
ld: 0711-317 ERROR: Undefined symbol: .free
ld: 0711-317 ERROR: Undefined symbol: .strtod
ld: 0711-317 ERROR: Undefined symbol: errno
ld: 0711-317 ERROR: Undefined symbol: .isdigit
ld: 0711-317 ERROR: Undefined symbol: .isupper
ld: 0711-317 ERROR: Undefined symbol: .tolower
ld: 0711-317 ERROR: Undefined symbol: .strcpy
ld: 0711-317 ERROR: Undefined symbol: .fflush
ld: 0711-317 ERROR: Undefined symbol: .strcmp
ld: 0711-317 ERROR: Undefined symbol: .fclose
ld: 0711-317 ERROR: Undefined symbol: .fopen
ld: 0711-317 ERROR: Undefined symbol: .memcmp
ld: 0711-317 ERROR: Undefined symbol: .islower
ld: 0711-317 ERROR: Undefined symbol: .toupper
ld: 0711-317 ERROR: Undefined symbol: ._ptrgl
ld: 0711-317 ERROR: Undefined symbol: .getenv
ld: 0711-317 ERROR: Undefined symbol: .atoi
ld: 0711-317 ERROR: Undefined symbol: .vfprintf
ld: 0711-317 ERROR: Undefined symbol: .__divss
ld: 0711-317 ERROR: Undefined symbol: .calloc
ld: 0711-317 ERROR: Undefined symbol: .stat
ld: 0711-317 ERROR: Undefined symbol: .fseek
ld: 0711-317 ERROR: Undefined symbol: .fread
ld: 0711-317 ERROR: Undefined symbol: .strerror
ld: 0711-317 ERROR: Undefined symbol: .strncpy
ld: 0711-317 ERROR: Undefined symbol: .isspace
ld: 0711-317 ERROR: Undefined symbol: .fwrite
ld: 0711-345 Use the -bloadmap or -bnoquiet option to
obtain more information.
make: The error code from the last command is 8.

Stop.
10:09 wvw .../v2.4/RexxSQL-2.4>

I added -lc to Makefile line:

LD_RXLIB2 = -L/usr/local/lib -lregina -ll -lm -lnsl -
lcrypt -ldl -lm -lnsl

to fix it.

Discussion

  • Mark Hessling
    Mark Hessling
    2004-06-15

    • assigned_to: nobody --> rexx