Gentoo Archives: gentoo-embedded

From: Roger McClurg <roger@××××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] GNAP fbi extension problem
Date: Mon, 12 Sep 2005 19:06:02
Message-Id: 4325D154.70905@mcclurgstudios.com
1 I'm trying to create a GNAP image with one extension, fbi. I added the
2 necessary portage information for fbi and it's dependencies (libexif and
3 jpeg) to the gnap snapshot and repackaged it as
4 gnap-portagesnapshot2.tar.bz2. When I try to build the extension libexif
5 compiles fine, but jpeg fails with errors. Can anyone help me?
6
7 One of the errors is: fbi.c:27:21: jpeglib.h: No such file or directory
8 In file included from fbi.c:45:
9
10 If I do a find on jpeglib.h I get:
11 gentoo specs # find / -name jpeglib.h
12 /var/tmp/catalyst/tmp/gnap/grp-x86-20050907/var/tmp/portage/fbi-1.31-r1/work/fbi-1.31/jpeg/jpeglib.h
13 /var/tmp/catalyst/tmp/gnap/grp-x86-20050910/var/tmp/portage/jpeg-6b-r5/work/jpeg-6b/jpeglib.h
14 /var/tmp/catalyst/tmp/gnap/grp-x86-20050912/var/tmp/portage/fbi-1.31-r1/work/fbi-1.31/jpeg/jpeglib.h
15 /usr/include/jpeglib.h
16
17 Why is gnap not finding the file?
18
19 The entire error file follows:
20 gentoo specs # cat gnap_make-20050912.err
21 >>> Regenerating /etc/ld.so.cache...
22 >>> Regenerating /etc/ld.so.cache...
23 gstrfuncs.c: In function `g_strsignal':
24 gstrfuncs.c:674: warning: implicit declaration of function `strsignal'
25 gstrfuncs.c:674: warning: return makes pointer from integer without a cast
26 libtool: link: warning: `-version-info/-version-number' is ignored for
27 convenience libraries
28 libtool: link: warning: `-release' is ignored for convenience libraries
29 testglib.c: In function `g_node_test':
30 testglib.c:86: warning: reading through null pointer (arg 5)
31 testglib.c:90: warning: reading through null pointer (arg 5)
32 testglib.c:98: warning: reading through null pointer (arg 5)
33 testglib.c:108: warning: reading through null pointer (arg 5)
34 testglib.c:109: warning: reading through null pointer (arg 5)
35 testglib.c:110: warning: reading through null pointer (arg 5)
36 testglib.c:111: warning: reading through null pointer (arg 5)
37 testglib.c:112: warning: reading through null pointer (arg 5)
38 testglib.c:113: warning: reading through null pointer (arg 5)
39 testglib.c:114: warning: reading through null pointer (arg 5)
40 testglib.c:115: warning: reading through null pointer (arg 5)
41 testglib.c:116: warning: reading through null pointer (arg 5)
42 testglib.c:117: warning: reading through null pointer (arg 5)
43 testglib.c:118: warning: reading through null pointer (arg 5)
44 testglib.c:123: warning: reading through null pointer (arg 5)
45 testglib.c:127: warning: reading through null pointer (arg 5)
46 testglib.c:182: warning: reading through null pointer (arg 5)
47 testglib.c:183: warning: reading through null pointer (arg 5)
48 testglib.c: In function `main':
49 testglib.c:359: warning: reading through null pointer (arg 5)
50 testglib.c:361: warning: reading through null pointer (arg 5)
51 testglib.c:363: warning: reading through null pointer (arg 5)
52 testglib.c:366: warning: reading through null pointer (arg 5)
53 testglib.c:912: warning: const qualifier ignored on asm
54 testglib.c:913: warning: const qualifier ignored on asm
55 testglib.c:915: warning: const qualifier ignored on asm
56 testglib.c:915: warning: const qualifier ignored on asm
57 libtool: link: warning: `-version-info/-version-number' is ignored for
58 convenience libraries
59 libtool: link: warning: `-release' is ignored for convenience libraries
60 libtool: link: warning: `-version-info/-version-number' is ignored for
61 convenience libraries
62 libtool: link: warning: `-release' is ignored for convenience libraries
63 In file included from testgthread.c:6:
64 ../testglib.c: In function `g_node_test':
65 ../testglib.c:86: warning: reading through null pointer (arg 5)
66 ../testglib.c:90: warning: reading through null pointer (arg 5)
67 ../testglib.c:98: warning: reading through null pointer (arg 5)
68 ../testglib.c:108: warning: reading through null pointer (arg 5)
69 ../testglib.c:109: warning: reading through null pointer (arg 5)
70 ../testglib.c:110: warning: reading through null pointer (arg 5)
71 ../testglib.c:111: warning: reading through null pointer (arg 5)
72 ../testglib.c:112: warning: reading through null pointer (arg 5)
73 ../testglib.c:113: warning: reading through null pointer (arg 5)
74 ../testglib.c:114: warning: reading through null pointer (arg 5)
75 ../testglib.c:115: warning: reading through null pointer (arg 5)
76 ../testglib.c:116: warning: reading through null pointer (arg 5)
77 ../testglib.c:117: warning: reading through null pointer (arg 5)
78 ../testglib.c:118: warning: reading through null pointer (arg 5)
79 ../testglib.c:123: warning: reading through null pointer (arg 5)
80 ../testglib.c:127: warning: reading through null pointer (arg 5)
81 ../testglib.c:182: warning: reading through null pointer (arg 5)
82 ../testglib.c:183: warning: reading through null pointer (arg 5)
83 ../testglib.c: In function `testglib_main':
84 ../testglib.c:359: warning: reading through null pointer (arg 5)
85 ../testglib.c:361: warning: reading through null pointer (arg 5)
86 ../testglib.c:363: warning: reading through null pointer (arg 5)
87 ../testglib.c:366: warning: reading through null pointer (arg 5)
88 ../testglib.c:912: warning: const qualifier ignored on asm
89 ../testglib.c:913: warning: const qualifier ignored on asm
90 ../testglib.c:915: warning: const qualifier ignored on asm
91 ../testglib.c:915: warning: const qualifier ignored on asm
92 hash-test.c:181: warning: `not_even_foreach' defined but not used
93 hash-test.c:206: warning: `remove_even_foreach' defined but not used
94 node-test.c: In function `g_node_test':
95 node-test.c:99: warning: reading through null pointer (arg 5)
96 node-test.c:103: warning: reading through null pointer (arg 5)
97 node-test.c:111: warning: reading through null pointer (arg 5)
98 node-test.c:121: warning: reading through null pointer (arg 5)
99 node-test.c:122: warning: reading through null pointer (arg 5)
100 node-test.c:123: warning: reading through null pointer (arg 5)
101 node-test.c:124: warning: reading through null pointer (arg 5)
102 node-test.c:125: warning: reading through null pointer (arg 5)
103 node-test.c:126: warning: reading through null pointer (arg 5)
104 node-test.c:127: warning: reading through null pointer (arg 5)
105 node-test.c:128: warning: reading through null pointer (arg 5)
106 node-test.c:129: warning: reading through null pointer (arg 5)
107 node-test.c:130: warning: reading through null pointer (arg 5)
108 node-test.c:131: warning: reading through null pointer (arg 5)
109 node-test.c:136: warning: reading through null pointer (arg 5)
110 node-test.c:140: warning: reading through null pointer (arg 5)
111 node-test.c:195: warning: reading through null pointer (arg 5)
112 node-test.c:196: warning: reading through null pointer (arg 5)
113 type-test.c: In function `main':
114 type-test.c:54: warning: const qualifier ignored on asm
115 type-test.c:55: warning: const qualifier ignored on asm
116 type-test.c:57: warning: const qualifier ignored on asm
117 type-test.c:57: warning: const qualifier ignored on asm
118 ./
119 ./usr/
120 ./usr/bin/
121 ./usr/bin/pkg-config
122 ./usr/share/
123 ./usr/share/aclocal/
124 ./usr/share/aclocal/pkg.m4
125 ./usr/share/man/
126 ./usr/share/man/man1/
127 ./usr/share/man/man1/pkg-config.1.gz
128 ./usr/share/doc/
129 ./usr/share/doc/pkgconfig-0.17.2-r1/
130 ./usr/share/doc/pkgconfig-0.17.2-r1/AUTHORS.gz
131 ./usr/share/doc/pkgconfig-0.17.2-r1/NEWS.gz
132 ./usr/share/doc/pkgconfig-0.17.2-r1/ChangeLog.gz
133 ./usr/share/doc/pkgconfig-0.17.2-r1/README.gz
134 >>> Regenerating /etc/ld.so.cache...
135 exif-data.c: In function `exif_data_load_data_content_recurse':
136 exif-data.c:188: warning: `return' with a value, in function returning void
137 exif-entry.c: In function `exif_entry_get_value':
138 exif-entry.c:157: warning: statement with no effect
139 exif-entry.c:158: warning: statement with no effect
140 exif-format.c: In function `exif_format_get_name':
141 exif-format.c:48: warning: statement with no effect
142 exif-format.c:49: warning: statement with no effect
143 exif-tag.c: In function `exif_tag_get_title':
144 exif-tag.c:591: warning: statement with no effect
145 exif-tag.c:592: warning: statement with no effect
146 exif-tag.c: In function `exif_tag_get_description':
147 exif-tag.c:606: warning: statement with no effect
148 exif-tag.c:607: warning: statement with no effect
149 libtool: install: warning: remember to run `libtool --finish /usr/lib'
150 ./
151 ./usr/
152 ./usr/lib/
153 ./usr/lib/pkgconfig/
154 ./usr/lib/pkgconfig/libexif.pc
155 ./usr/lib/libexif.la
156 ./usr/lib/libexif.a
157 ./usr/include/
158 ./usr/include/libexif/
159 ./usr/include/libexif/exif-byte-order.h
160 ./usr/include/libexif/exif-content.h
161 ./usr/include/libexif/exif-data.h
162 ./usr/include/libexif/exif-entry.h
163 ./usr/include/libexif/exif-format.h
164 ./usr/include/libexif/exif-ifd.h
165 ./usr/include/libexif/exif-loader.h
166 ./usr/include/libexif/exif-result.h
167 ./usr/include/libexif/exif-tag.h
168 ./usr/include/libexif/exif-utils.h
169 ./usr/share/
170 ./usr/share/doc/
171 ./usr/share/doc/libexif-0.5.12-r3/
172 ./usr/share/doc/libexif-0.5.12-r3/ChangeLog.gz
173 ./usr/share/doc/libexif-0.5.12-r3/README.gz
174 >>> Regenerating /etc/ld.so.cache...
175 checking for libdir name ... lib
176 checking for endian.h ... yes
177 checking for X11/X.h ... no
178 checking for pcd_open in pcd ... no
179 checking for jpeg_start_compress in jpeg ... no
180 checking for DGifOpenFileName in gif ... no
181 checking for png_read_info in png ... no
182 checking for TIFFOpen in tiff ... no
183 checking for exif_data_new_from_file in exif ... yes
184 checking for curl_easy_init in curl ... no
185 checking for lirc_init in lirc_client ... no
186 fbi.c:27:21: jpeglib.h: No such file or directory
187 In file included from fbi.c:45:
188 jpeg/transupp.h:89: error: syntax error before "boolean"
189 jpeg/transupp.h:89: warning: no semicolon at end of struct or union
190 jpeg/transupp.h:90: warning: type defaults to `int' in declaration of
191 `force_grayscale'
192 jpeg/transupp.h:90: warning: data definition has no type or storage class
193 jpeg/transupp.h:94: error: syntax error before '*' token
194 jpeg/transupp.h:94: warning: type defaults to `int' in declaration of
195 `workspace_coef_arrays'
196 jpeg/transupp.h:94: warning: data definition has no type or storage class
197 jpeg/transupp.h:95: error: syntax error before '}' token
198 jpeg/transupp.h:95: warning: type defaults to `int' in declaration of
199 `jpeg_transform_info'
200 jpeg/transupp.h:95: warning: data definition has no type or storage class
201 jpeg/transupp.h:101: error: syntax error before
202 "jtransform_request_workspace"
203 jpeg/transupp.h:104: error: syntax error before '*' token
204 jpeg/transupp.h:109: error: syntax error before
205 "jtransform_execute_transformation"
206 jpeg/transupp.h:130: error: syntax error before "jcopy_markers_setup"
207 jpeg/transupp.h:133: error: syntax error before "jcopy_markers_execute"
208 make: *** [fbi.o] Error 1
209
210 !!! ERROR: media-gfx/fbi-1.31-r1 failed.
211 !!! Function src_compile, Line 35, Exitcode 2
212 !!! (no error message)
213 !!! If you need support, post the topmost build error, NOT this status
214 message.
215 --
216 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] GNAP fbi extension problem Thierry Carrez <koon@g.o>