Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GNAP extension compile problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
maguro
n00b
n00b


Joined: 26 Feb 2005
Posts: 41
Location: Delaware, USA

PostPosted: Mon Sep 12, 2005 7:24 pm    Post subject: GNAP extension compile problem Reply with quote

I'm trying to build GNAP with a single extension, fbi. Fbi has only two depencies (with the my use flags) they are: libexif and jpeg. I copied the information for all three packages from my portage tree into the GNAP snapshot and repackaged the snapshot.

When I run gnap_make libexif compiles fine but jpeg terminates with errors. Here is an excerpt from the err file:
Code:

./
./usr/
./usr/lib/
./usr/lib/pkgconfig/
./usr/lib/pkgconfig/libexif.pc
./usr/lib/libexif.la
./usr/lib/libexif.a
./usr/include/
./usr/include/libexif/
./usr/include/libexif/exif-byte-order.h
./usr/include/libexif/exif-content.h
./usr/include/libexif/exif-data.h
./usr/include/libexif/exif-entry.h
./usr/include/libexif/exif-format.h
./usr/include/libexif/exif-ifd.h
./usr/include/libexif/exif-loader.h
./usr/include/libexif/exif-result.h
./usr/include/libexif/exif-tag.h
./usr/include/libexif/exif-utils.h
./usr/share/
./usr/share/doc/
./usr/share/doc/libexif-0.5.12-r3/
./usr/share/doc/libexif-0.5.12-r3/ChangeLog.gz
./usr/share/doc/libexif-0.5.12-r3/README.gz
>>> Regenerating /etc/ld.so.cache...
checking for libdir name ... lib
checking for endian.h ... yes
checking for X11/X.h ... no
checking for pcd_open in pcd ... no
checking for jpeg_start_compress in jpeg ... no
checking for DGifOpenFileName in gif ... no
checking for png_read_info in png ... no
checking for TIFFOpen in tiff ... no
checking for exif_data_new_from_file in exif ... yes
checking for curl_easy_init in curl ... no
checking for lirc_init in lirc_client ... no
fbi.c:27:21: jpeglib.h: No such file or directory
In file included from fbi.c:45:
jpeg/transupp.h:89: error: syntax error before "boolean"
jpeg/transupp.h:89: warning: no semicolon at end of struct or union
jpeg/transupp.h:90: warning: type defaults to `int' in declaration of `force_grayscale'
jpeg/transupp.h:90: warning: data definition has no type or storage class
jpeg/transupp.h:94: error: syntax error before '*' token
jpeg/transupp.h:94: warning: type defaults to `int' in declaration of `workspace_coef_arrays'
jpeg/transupp.h:94: warning: data definition has no type or storage class
jpeg/transupp.h:95: error: syntax error before '}' token
jpeg/transupp.h:95: warning: type defaults to `int' in declaration of `jpeg_transform_info'
jpeg/transupp.h:95: warning: data definition has no type or storage class
jpeg/transupp.h:101: error: syntax error before "jtransform_request_workspace"
jpeg/transupp.h:104: error: syntax error before '*' token
jpeg/transupp.h:109: error: syntax error before "jtransform_execute_transformation"
jpeg/transupp.h:130: error: syntax error before "jcopy_markers_setup"
jpeg/transupp.h:133: error: syntax error before "jcopy_markers_execute"
make: *** [fbi.o] Error 1


I did a find on jpeglib.h and it's there:
gentoo specs # find / -name jpeglib.h
/var/tmp/catalyst/tmp/gnap/grp-x86-20050907/var/tmp/portage/fbi-1.31-r1/work/fbi-1.31/jpeg/jpeglib.h
/var/tmp/catalyst/tmp/gnap/grp-x86-20050910/var/tmp/portage/jpeg-6b-r5/work/jpeg-6b/jpeglib.h
/var/tmp/catalyst/tmp/gnap/grp-x86-20050912/var/tmp/portage/fbi-1.31-r1/work/fbi-1.31/jpeg/jpeglib.h
/usr/include/jpeglib.h

I'm not a C programmer and can't tell if the errors that follow are a result of the file not being found, or another problem. Can anyone help me?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum