JPEG Libs

Ian Porter ian.porter3 at ntlworld.com
Wed Jan 29 21:50:06 GMT 2003


On Wednesday 29 Jan 2003 12:49 pm, you wrote:
> > Hi
> >
> > Not sure why I did a search for the *.la and not the *.a library file but
> > the libjpeg.a is in the same place, /usr/lib/, but I am still getting the
> > same errors about not finding the reference to the function.
> >
> > > Image.o: In function `DecodeJPG(jpeg_decompress_struct*, tImage*)':
> > > Image.o(.text+0x782): undefined reference to
> > > `jpeg_read_header(jpeg_decompress_struct*, int)'
> >
> > Is there anything that I may be missing or miss done ?
> >
> > Thanks for the help
> > Ian
> >
> AFAIK, libjpeg does not come with the standard NetBSD installation but is
> part of the NetBSD Package Collection and can be found in
> pkgsrc/graphics/jpeg, of which jpeg_read_header is part thereof - see
> below.
>
> husky# nm /usr/pkg/lib/libjpeg.a | grep jpeg_read_header
> 00000320 T jpeg_read_header
>

Hi Berndt

I seem to have the information found in the libjpeg.a file as you do, in a 
different place, but I assume that this should be ok ?

[ian at localhost BSPLoader_OGL]$ nm /usr/lib/libjpeg.a | grep jpeg_read_header
000001c0 T jpeg_read_header

I have also re-installed all of the libjpeg from the mandrake v9.0 disks so 
hopefully I should have all of the information required ?
I have installed
libjpeg62-devel
libjpeg62-static-devel
libjpeg-progs
libjpeg62

Is there any other packages that I require ?  

Cheers
Ian

> I only can assume that your libjpeg library was installed manually and is
> missing certain features. Try installing libjpeg from the package
> collection should get you a step further.
>
> cheerio Berndt
>
> -
> to unsubscribe from this list send an email to
> kdevelop-request at kdevelop.org with the following body: unsubscribe
> »your-email-address«


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list