From: Uwe Lienig <Uwe.Lienig () fif ! mw ! htw-dresden ! de>
To: tru64-unix-managers
Subject: Linking problems
Date: Wed, 21 Mar 2001 13:02:24 +0000 [thread overview]
Message-ID: <98517978524196.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--------------86D32D93C0B10DA7523F59C5", Size: 2009 bytes --]
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--
reply other threads:[~2001-03-21 13:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox