Ian Porter ian.porter3 at
Tue Jan 28 21:15:45 UTC 2003


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


Please not that nowhere in my email I was talking about
You need libjpeg.a not .la

Best regards,
Marek Januszewski

> Hi thanks for the replies,
> I have got installed in the /usr/lib directory
> [ian at localhost ian]$ locate
> /usr/lib/
> And I have added the line into the make file 
> $(TARGET):    Main.o Init.o Camera.o Quake3Bsp.o Image.o
>       $(CC) -o $(TARGET) Main.o Init.o Camera.o Quake3Bsp.o Image.o 
> --libs` -L/usr/X11R6/lib -lGL -lGLU -lm -L/usr/lib -ljpeg 
> But I still get the error (at the bottom of the email, same as before)
> Or have I done this wrong ?
> Cheers
> Ian

to unsubscribe from this list send an email to kdevelop-request at with the following body:
unsubscribe ťyour-email-addressŤ

More information about the KDevelop mailing list