aix compile issue with cups 1.3.7

Jeff quaintance at gmail.com
Fri May 30 12:07:23 PDT 2008


Hi All, I'm attempting to compile the latest stable version of cups on AIX 5.3TL7SP3 and have run into a snag I can't seem to figure out and google/forum searching has revealed nothing.

gcc ver 4.2.0, and I'm getting undefined symbol errors on libcups:

any suggestions? I thought maybe I just needed to do a ranlib on my libcrypto,libssl and libm but it made no difference.

/home/jquainta/cups-1.3.7> make all
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE  -DOPENSSL_DISABLE_OLD_DES_SUPPORT  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_LARGE_FILES
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE  -DOPENSSL_DISABLE_OLD_DES_SUPPORT  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_LARGE_FILES
Using LDFLAGS=-bloadmap -L../cups -L../filter   -Wall -Wno-format-y2k -Os -g -fstack-protector
Using LIBS=-lcups_s -lssl -lcrypto -lm
Making all in cups...
Compiling adminutil.c...
Compiling array.c...
Compiling attr.c...
Compiling auth.c...
Compiling backchannel.c...
Compiling backend.c...
Compiling custom.c...
Compiling dest.c...
Compiling dir.c...
Compiling emit.c...
Compiling encode.c...
Compiling file.c...
Compiling getifaddrs.c...
Compiling getputfile.c...
Compiling globals.c...
Compiling http.c...
Compiling http-addr.c...
Compiling http-addrlist.c...
Compiling http-support.c...
Compiling ipp.c...
Compiling ipp-support.c...
Compiling langprintf.c...
Compiling language.c...
Compiling localize.c...
Compiling mark.c...
Compiling md5.c...
Compiling md5passwd.c...
Compiling notify.c...
Compiling options.c...
Compiling page.c...
Compiling ppd.c...
Compiling request.c...
Compiling sidechannel.c...
Compiling snprintf.c...
Compiling string.c...
Compiling tempfile.c...
Compiling transcode.c...
Compiling usersys.c...
Compiling util.c...
Creating libcups_s.a...
ld: 0711-317 ERROR: Undefined symbol: __stack_chk_guard
ld: 0711-317 ERROR: Undefined symbol: .__stack_chk_fail
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
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 cups mailing list