From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98517978524196.tru64-unix-managers.marc@archive.invalid> From: Uwe Lienig Date: Wed, 21 Mar 2001 13:02:24 +0000 To: tru64-unix-managers Subject: Linking problems X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98517978524196 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------86D32D93C0B10DA7523F59C5" This is a multi-part message in MIME format. --------------86D32D93C0B10DA7523F59C5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi managers, I try to compile several GNU packages. As for most, the packages are installed in /usr/local/{lib,include,shlib,...}. Every time it comes to the linking stage, the linker complains: cc -o jpegtopnm jpegtopnm.o `../libopt libpnm.so ../ppm/libppm.so ../pgm/libpgm.so ../pbm/libpbm.so ` -L/usr/local/lib -ljpeg \ ld: Unresolved: jpeg_std_error jpeg_CreateDecompress jpeg_destroy_decompress jpeg_stdio_src jpeg_read_header jpeg_start_decompress jpeg_read_scanlines jpeg_finish_decompress jpeg_calc_output_dimensions jpeg_set_marker_processor I'm pretty sure, the -ljpeg (in fact libjpeg.a is in place, access is ok ...) and -L/usr/local/lib should give the path to find the static lib. But no way to go, ld WILL not link. If I use cc -o jpegtopnm jpegtopnm.o `../libopt libpnm.so ../ppm/libppm.so ../pgm/libpgm.so ../pbm/libpbm.so ` /usr/local/lib/libjpeg.a linking goes well. The lib itself is created using ranlib and should have the right tables in it. I'm very upset about this annoying problem. It breaks nearly every compile procedure. Do you know, why this happens ?? TIA --------------86D32D93C0B10DA7523F59C5 Content-Type: text/x-vcard; charset=us-ascii; name="Uwe.Lienig.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Uwe Lienig Content-Disposition: attachment; filename="Uwe.Lienig.vcf" begin:vcard n:Lienig;Uwe tel;fax:(+49 351) 462 3476 tel;work:(+49 351) 462 2780 x-mozilla-html:FALSE org:Forschungsinstitut Fahrzeugtechnik -FiF-;Computer Aided Design and Advanced Simulation Technology adr:;;Friedrich-List-Platz 1;Dresden;Saxony;01069;Germany version:2.1 email;internet:uwe.lienig@fif.mw.htw-dresden.de note;quoted-printable:... have you ever seen MicroSoft users smiling ...=0D=0A=0D=0ASysAdmin x-mozilla-cpt:;-6720 fn:Uwe Lienig end:vcard --------------86D32D93C0B10DA7523F59C5--