Buildroot compilation errors - gst-plugins-bad

  • Hello again,
    I was generating embedded system for PicoCOM3, but after few hours of downloading and compiling modules, buildroot stopped due to errors in gst-plugins-bad 0.10.14. I tried other versions of this module, but there are errors anyway.
    There are many errors during compilation of metadataexif.c - undeclared EXIF_TAG_xxxx, probably missing some header file.
    Could you recommend me, how can I get rid of this error - use some other version or somehow disable exif compilation?
    I used buildroot downloaded from f&s archive, default PicoCOM3 config, I upgraded make to version 3.82, my host linux is also upgraded.


    Thank you,
    Kamil

  • Here they are:


    >>> gst-plugins-bad 0.10.14 Building
    PATH="/opt/picocom3/buildroot-2010.08/output/host/bin:/opt/picocom3/buildroot-2010.08/output/host/usr/bin:/opt/picocom3/buildroot-2010.08/output/host/usr/sbin/:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/arm/fs-toolchain-4.4.3/bin:/usr/lib/qt/bin" PERLLIB="/opt/picocom3/buildroot-2010.08/output/host/usr/lib/perl" /usr/bin/make -j1 -C /opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/
    make[1]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14'
    make[2]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14'
    Making all in gst-libs
    make[3]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs'
    Making all in gst
    make[4]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst'
    Making all in interfaces
    make[5]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst/interfaces'
    make[6]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst/interfaces'
    CC photography.o
    CC photography-enumtypes.o
    LINK libgstphotography-0.10.la
    make[6]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst/interfaces'
    make[5]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst/interfaces'
    Making all in signalprocessor
    make[5]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst/signalprocessor'
    CC gstsignalprocessor.o
    LINK libgstsignalprocessor.la
    make[5]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst/signalprocessor'
    Making all in video
    make[5]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst/video'
    CC gstbasevideoutils.o
    CC gstbasevideocodec.o
    CC gstbasevideodecoder.o
    CC gstbasevideoencoder.o
    CC gstbasevideoparse.o
    LINK libgstbasevideo-0.10.la
    make[5]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst/video'
    make[4]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs/gst'
    make[3]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst-libs'
    Making all in gst
    make[3]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst'
    Making all in adpcmdec
    make[4]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst/adpcmdec'
    CC adpcmdec.o
    LINK libgstadpcmdec.la
    make[4]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst/adpcmdec'
    Making all in id3tag
    make[4]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst/id3tag'
    CC gstid3mux.o
    CC gsttagmux.o
    CC id3tag.o
    LINK libgstid3tag.la
    make[4]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst/id3tag'
    make[3]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/gst'
    Making all in sys
    make[3]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/sys'
    Making all in fbdev
    make[4]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/sys/fbdev'
    CC gstfbdevsink.o
    LINK libgstfbdevsink.la
    make[4]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/sys/fbdev'
    make[3]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/sys'
    Making all in ext
    make[3]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/ext'
    Making all in alsaspdif
    make[4]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/ext/alsaspdif'
    CC alsaspdifsink.o
    LINK libgstalsaspdif.la
    make[4]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/ext/alsaspdif'
    Making all in metadata
    make[4]: Entering directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/ext/metadata'
    CC gstmetadata.o
    CC gstmetadatademux.o
    CC metadata.o
    CC metadataparsejpeg.o
    CC metadatamuxjpeg.o
    CC metadataparsepng.o
    CC metadatamuxpng.o
    CC metadataexif.o
    metadataexif.c:130:31: error: libexif/exif-data.h: No such file or directory
    metadataexif.c:144: error: expected specifier-qualifier-list before 'ExifShort'
    metadataexif.c:152: error: expected specifier-qualifier-list before 'ExifTag'
    metadataexif.c:164: error: 'EXIF_TAG_APERTURE_VALUE' undeclared here (not in a function)
    metadataexif.c:164: warning: excess elements in struct initializer
    metadataexif.c:164: warning: (near initialization for 'mappedTags[0]')
    metadataexif.c:164: error: 'EXIF_IFD_EXIF' undeclared here (not in a function)
    metadataexif.c:164: warning: excess elements in struct initializer
    metadataexif.c:164: warning: (near initialization for 'mappedTags[0]')
    metadataexif.c:165: warning: excess elements in struct initializer
    metadataexif.c:165: warning: (near initialization for 'mappedTags[0]')
    metadataexif.c:167: error: 'EXIF_TAG_BRIGHTNESS_VALUE' undeclared here (not in a function)
    metadataexif.c:167: warning: excess elements in struct initializer
    metadataexif.c:167: warning: (near initialization for 'mappedTags[1]')
    metadataexif.c:167: warning: excess elements in struct initializer
    metadataexif.c:167: warning: (near initialization for 'mappedTags[1]')
    metadataexif.c:168: warning: excess elements in struct initializer
    metadataexif.c:168: warning: (near initialization for 'mappedTags[1]')
    metadataexif.c:170: error: 'EXIF_TAG_COLOR_SPACE' undeclared here (not in a function)
    metadataexif.c:170: warning: excess elements in struct initializer
    metadataexif.c:170: warning: (near initialization for 'mappedTags[2]')
    metadataexif.c:170: warning: excess elements in struct initializer
    metadataexif.c:170: warning: (near initialization for 'mappedTags[2]')
    metadataexif.c:171: warning: excess elements in struct initializer
    metadataexif.c:171: warning: (near initialization for 'mappedTags[2]')
    metadataexif.c:173: error: 'EXIF_TAG_CONTRAST' undeclared here (not in a function)
    metadataexif.c:173: warning: excess elements in struct initializer
    metadataexif.c:173: warning: (near initialization for 'mappedTags[3]')
    metadataexif.c:173: warning: excess elements in struct initializer
    metadataexif.c:173: warning: (near initialization for 'mappedTags[3]')
    metadataexif.c:174: warning: excess elements in struct initializer
    metadataexif.c:174: warning: (near initialization for 'mappedTags[3]')
    metadataexif.c:176: error: 'EXIF_TAG_CUSTOM_RENDERED' undeclared here (not in a function)
    metadataexif.c:176: warning: excess elements in struct initializer
    metadataexif.c:176: warning: (near initialization for 'mappedTags[4]')
    metadataexif.c:176: warning: excess elements in struct initializer
    metadataexif.c:176: warning: (near initialization for 'mappedTags[4]')
    metadataexif.c:177: warning: excess elements in struct initializer
    metadataexif.c:177: warning: (near initialization for 'mappedTags[4]')
    metadataexif.c:179: error: 'EXIF_TAG_DIGITAL_ZOOM_RATIO' undeclared here (not in a function)
    metadataexif.c:179: warning: excess elements in struct initializer
    metadataexif.c:179: warning: (near initialization for 'mappedTags[5]')
    metadataexif.c:179: warning: excess elements in struct initializer
    metadataexif.c:179: warning: (near initialization for 'mappedTags[5]')
    metadataexif.c:180: warning: excess elements in struct initializer
    metadataexif.c:180: warning: (near initialization for 'mappedTags[5]')
    metadataexif.c:182: error: 'EXIF_TAG_EXPOSURE_PROGRAM' undeclared here (not in a function)
    metadataexif.c:182: warning: excess elements in struct initializer
    metadataexif.c:182: warning: (near initialization for 'mappedTags[6]')
    metadataexif.c:182: warning: excess elements in struct initializer
    metadataexif.c:182: warning: (near initialization for 'mappedTags[6]')
    metadataexif.c:183: warning: excess elements in struct initializer
    metadataexif.c:183: warning: (near initialization for 'mappedTags[6]')
    metadataexif.c:185: error: 'EXIF_TAG_EXPOSURE_MODE' undeclared here (not in a function)
    metadataexif.c:185: warning: excess elements in struct initializer
    metadataexif.c:185: warning: (near initialization for 'mappedTags[7]')
    metadataexif.c:185: warning: excess elements in struct initializer
    metadataexif.c:185: warning: (near initialization for 'mappedTags[7]')
    metadataexif.c:186: warning: excess elements in struct initializer
    metadataexif.c:186: warning: (near initialization for 'mappedTags[7]')
    metadataexif.c:188: error: 'EXIF_TAG_EXPOSURE_TIME' undeclared here (not in a function)
    metadataexif.c:188: warning: excess elements in struct initializer
    metadataexif.c:188: warning: (near initialization for 'mappedTags[8]')
    metadataexif.c:188: warning: excess elements in struct initializer
    metadataexif.c:188: warning: (near initialization for 'mappedTags[8]')
    metadataexif.c:189: warning: excess elements in struct initializer
    metadataexif.c:189: warning: (near initialization for 'mappedTags[8]')
    metadataexif.c:191: error: 'EXIF_TAG_FLASH' undeclared here (not in a function)
    metadataexif.c:191: warning: excess elements in struct initializer
    metadataexif.c:191: warning: (near initialization for 'mappedTags[9]')
    metadataexif.c:191: warning: excess elements in struct initializer
    metadataexif.c:191: warning: (near initialization for 'mappedTags[9]')
    metadataexif.c:192: warning: excess elements in struct initializer
    metadataexif.c:192: warning: (near initialization for 'mappedTags[9]')
    metadataexif.c:194: error: 'EXIF_TAG_FNUMBER' undeclared here (not in a function)
    metadataexif.c:194: warning: excess elements in struct initializer
    metadataexif.c:194: warning: (near initialization for 'mappedTags[10]')
    metadataexif.c:194: warning: excess elements in struct initializer
    metadataexif.c:194: warning: (near initialization for 'mappedTags[10]')
    metadataexif.c:195: warning: excess elements in struct initializer
    metadataexif.c:195: warning: (near initialization for 'mappedTags[10]')
    metadataexif.c:197: error: 'EXIF_TAG_FOCAL_LENGTH' undeclared here (not in a function)
    metadataexif.c:197: warning: excess elements in struct initializer
    metadataexif.c:197: warning: (near initialization for 'mappedTags[11]')
    metadataexif.c:197: warning: excess elements in struct initializer
    metadataexif.c:197: warning: (near initialization for 'mappedTags[11]')
    metadataexif.c:198: warning: excess elements in struct initializer
    metadataexif.c:198: warning: (near initialization for 'mappedTags[11]')
    metadataexif.c:200: error: 'EXIF_TAG_GAIN_CONTROL' undeclared here (not in a function)
    metadataexif.c:200: warning: excess elements in struct initializer
    metadataexif.c:200: warning: (near initialization for 'mappedTags[12]')
    metadataexif.c:200: warning: excess elements in struct initializer
    metadataexif.c:200: warning: (near initialization for 'mappedTags[12]')
    metadataexif.c:201: warning: excess elements in struct initializer
    metadataexif.c:201: warning: (near initialization for 'mappedTags[12]')
    metadataexif.c:203: error: 'EXIF_TAG_ISO_SPEED_RATINGS' undeclared here (not in a function)
    metadataexif.c:203: warning: excess elements in struct initializer
    metadataexif.c:203: warning: (near initialization for 'mappedTags[13]')
    metadataexif.c:203: warning: excess elements in struct initializer
    metadataexif.c:203: warning: (near initialization for 'mappedTags[13]')
    metadataexif.c:204: warning: excess elements in struct initializer
    metadataexif.c:204: warning: (near initialization for 'mappedTags[13]')
    metadataexif.c:206: error: 'EXIF_TAG_LIGHT_SOURCE' undeclared here (not in a function)
    metadataexif.c:206: warning: excess elements in struct initializer
    metadataexif.c:206: warning: (near initialization for 'mappedTags[14]')
    metadataexif.c:206: warning: excess elements in struct initializer
    metadataexif.c:206: warning: (near initialization for 'mappedTags[14]')
    metadataexif.c:207: warning: excess elements in struct initializer
    metadataexif.c:207: warning: (near initialization for 'mappedTags[14]')
    metadataexif.c:209: error: 'EXIF_TAG_ORIENTATION' undeclared here (not in a function)
    metadataexif.c:209: warning: excess elements in struct initializer
    metadataexif.c:209: warning: (near initialization for 'mappedTags[15]')
    metadataexif.c:209: error: 'EXIF_IFD_0' undeclared here (not in a function)
    metadataexif.c:209: warning: excess elements in struct initializer
    metadataexif.c:209: warning: (near initialization for 'mappedTags[15]')
    metadataexif.c:210: warning: excess elements in struct initializer
    metadataexif.c:210: warning: (near initialization for 'mappedTags[15]')
    metadataexif.c:212: error: 'EXIF_TAG_SATURATION' undeclared here (not in a function)
    metadataexif.c:212: warning: excess elements in struct initializer
    metadataexif.c:212: warning: (near initialization for 'mappedTags[16]')
    metadataexif.c:212: warning: excess elements in struct initializer
    metadataexif.c:212: warning: (near initialization for 'mappedTags[16]')
    metadataexif.c:213: warning: excess elements in struct initializer
    metadataexif.c:213: warning: (near initialization for 'mappedTags[16]')
    metadataexif.c:215: error: 'EXIF_TAG_SCENE_CAPTURE_TYPE' undeclared here (not in a function)
    metadataexif.c:215: warning: excess elements in struct initializer
    metadataexif.c:215: warning: (near initialization for 'mappedTags[17]')
    metadataexif.c:215: warning: excess elements in struct initializer
    metadataexif.c:215: warning: (near initialization for 'mappedTags[17]')
    metadataexif.c:216: warning: excess elements in struct initializer
    metadataexif.c:216: warning: (near initialization for 'mappedTags[17]')
    metadataexif.c:218: error: 'EXIF_TAG_SHUTTER_SPEED_VALUE' undeclared here (not in a function)
    metadataexif.c:218: warning: excess elements in struct initializer
    metadataexif.c:218: warning: (near initialization for 'mappedTags[18]')
    metadataexif.c:218: warning: excess elements in struct initializer
    metadataexif.c:218: warning: (near initialization for 'mappedTags[18]')
    metadataexif.c:219: warning: excess elements in struct initializer
    metadataexif.c:219: warning: (near initialization for 'mappedTags[18]')
    metadataexif.c:221: error: 'EXIF_TAG_WHITE_BALANCE' undeclared here (not in a function)
    metadataexif.c:221: warning: excess elements in struct initializer
    metadataexif.c:221: warning: (near initialization for 'mappedTags[19]')
    metadataexif.c:221: warning: excess elements in struct initializer
    metadataexif.c:221: warning: (near initialization for 'mappedTags[19]')
    metadataexif.c:222: warning: excess elements in struct initializer
    metadataexif.c:222: warning: (near initialization for 'mappedTags[19]')
    metadataexif.c:224: error: 'EXIF_TAG_SOFTWARE' undeclared here (not in a function)
    metadataexif.c:224: warning: excess elements in struct initializer
    metadataexif.c:224: warning: (near initialization for 'mappedTags[20]')
    metadataexif.c:224: warning: excess elements in struct initializer
    metadataexif.c:224: warning: (near initialization for 'mappedTags[20]')
    metadataexif.c:225: warning: excess elements in struct initializer
    metadataexif.c:225: warning: (near initialization for 'mappedTags[20]')
    metadataexif.c:227: error: 'EXIF_TAG_DATE_TIME_DIGITIZED' undeclared here (not in a function)
    metadataexif.c:227: warning: excess elements in struct initializer
    metadataexif.c:227: warning: (near initialization for 'mappedTags[21]')
    metadataexif.c:227: warning: excess elements in struct initializer
    metadataexif.c:227: warning: (near initialization for 'mappedTags[21]')
    metadataexif.c:228: warning: excess elements in struct initializer
    metadataexif.c:228: warning: (near initialization for 'mappedTags[21]')
    metadataexif.c:230: error: 'EXIF_TAG_DATE_TIME' undeclared here (not in a function)
    metadataexif.c:230: warning: excess elements in struct initializer
    metadataexif.c:230: warning: (near initialization for 'mappedTags[22]')
    metadataexif.c:230: warning: excess elements in struct initializer
    metadataexif.c:230: warning: (near initialization for 'mappedTags[22]')
    metadataexif.c:231: warning: excess elements in struct initializer
    metadataexif.c:231: warning: (near initialization for 'mappedTags[22]')
    metadataexif.c:233: error: 'EXIF_TAG_DATE_TIME_ORIGINAL' undeclared here (not in a function)
    metadataexif.c:233: warning: excess elements in struct initializer
    metadataexif.c:233: warning: (near initialization for 'mappedTags[23]')
    metadataexif.c:233: warning: excess elements in struct initializer
    metadataexif.c:233: warning: (near initialization for 'mappedTags[23]')
    metadataexif.c:234: warning: excess elements in struct initializer
    metadataexif.c:234: warning: (near initialization for 'mappedTags[23]')
    metadataexif.c:236: error: 'EXIF_TAG_IMAGE_DESCRIPTION' undeclared here (not in a function)
    metadataexif.c:236: warning: excess elements in struct initializer
    metadataexif.c:236: warning: (near initialization for 'mappedTags[24]')
    metadataexif.c:236: warning: excess elements in struct initializer
    metadataexif.c:236: warning: (near initialization for 'mappedTags[24]')
    metadataexif.c:237: warning: excess elements in struct initializer
    metadataexif.c:237: warning: (near initialization for 'mappedTags[24]')
    metadataexif.c:239: error: 'EXIF_TAG_MAKE' undeclared here (not in a function)
    metadataexif.c:239: warning: excess elements in struct initializer
    metadataexif.c:239: warning: (near initialization for 'mappedTags[25]')
    metadataexif.c:239: warning: excess elements in struct initializer
    metadataexif.c:239: warning: (near initialization for 'mappedTags[25]')
    metadataexif.c:240: warning: excess elements in struct initializer
    metadataexif.c:240: warning: (near initialization for 'mappedTags[25]')
    metadataexif.c:242: error: 'EXIF_TAG_MODEL' undeclared here (not in a function)
    metadataexif.c:242: warning: excess elements in struct initializer
    metadataexif.c:242: warning: (near initialization for 'mappedTags[26]')
    metadataexif.c:242: warning: excess elements in struct initializer
    metadataexif.c:242: warning: (near initialization for 'mappedTags[26]')
    metadataexif.c:243: warning: excess elements in struct initializer
    metadataexif.c:243: warning: (near initialization for 'mappedTags[26]')
    metadataexif.c:245: error: 'EXIF_TAG_MAKER_NOTE' undeclared here (not in a function)
    metadataexif.c:245: warning: excess elements in struct initializer
    metadataexif.c:245: warning: (near initialization for 'mappedTags[27]')
    metadataexif.c:245: warning: excess elements in struct initializer
    metadataexif.c:245: warning: (near initialization for 'mappedTags[27]')
    metadataexif.c:246: warning: excess elements in struct initializer
    metadataexif.c:246: warning: (near initialization for 'mappedTags[27]')
    metadataexif.c:248: error: 'EXIF_TAG_PIXEL_Y_DIMENSION' undeclared here (not in a function)
    metadataexif.c:248: warning: excess elements in struct initializer
    metadataexif.c:248: warning: (near initialization for 'mappedTags[28]')
    metadataexif.c:248: warning: excess elements in struct initializer
    metadataexif.c:248: warning: (near initialization for 'mappedTags[28]')
    metadataexif.c:249: warning: excess elements in struct initializer
    metadataexif.c:249: warning: (near initialization for 'mappedTags[28]')
    metadataexif.c:251: error: 'EXIF_TAG_PIXEL_X_DIMENSION' undeclared here (not in a function)
    metadataexif.c:251: warning: excess elements in struct initializer
    metadataexif.c:251: warning: (near initialization for 'mappedTags[29]')
    metadataexif.c:251: warning: excess elements in struct initializer
    metadataexif.c:251: warning: (near initialization for 'mappedTags[29]')
    metadataexif.c:252: warning: excess elements in struct initializer
    metadataexif.c:252: warning: (near initialization for 'mappedTags[29]')
    metadataexif.c:254: error: 'EXIF_TAG_X_RESOLUTION' undeclared here (not in a function)
    metadataexif.c:254: warning: excess elements in struct initializer
    metadataexif.c:254: warning: (near initialization for 'mappedTags[30]')
    metadataexif.c:254: warning: excess elements in struct initializer
    metadataexif.c:254: warning: (near initialization for 'mappedTags[30]')
    metadataexif.c:255: warning: excess elements in struct initializer
    metadataexif.c:255: warning: (near initialization for 'mappedTags[30]')
    metadataexif.c:257: error: 'EXIF_TAG_Y_RESOLUTION' undeclared here (not in a function)
    metadataexif.c:257: warning: excess elements in struct initializer
    metadataexif.c:257: warning: (near initialization for 'mappedTags[31]')
    metadataexif.c:257: warning: excess elements in struct initializer
    metadataexif.c:257: warning: (near initialization for 'mappedTags[31]')
    metadataexif.c:258: warning: excess elements in struct initializer
    metadataexif.c:258: warning: (near initialization for 'mappedTags[31]')
    metadataexif.c:260: error: 'EXIF_TAG_GPS_ALTITUDE' undeclared here (not in a function)
    metadataexif.c:260: warning: excess elements in struct initializer
    metadataexif.c:260: warning: (near initialization for 'mappedTags[32]')
    metadataexif.c:260: error: 'EXIF_IFD_GPS' undeclared here (not in a function)
    metadataexif.c:260: warning: excess elements in struct initializer
    metadataexif.c:260: warning: (near initialization for 'mappedTags[32]')
    metadataexif.c:261: warning: excess elements in struct initializer
    metadataexif.c:261: warning: (near initialization for 'mappedTags[32]')
    metadataexif.c:263: error: 'EXIF_TAG_GPS_LATITUDE' undeclared here (not in a function)
    metadataexif.c:263: warning: excess elements in struct initializer
    metadataexif.c:263: warning: (near initialization for 'mappedTags[33]')
    metadataexif.c:263: warning: excess elements in struct initializer
    metadataexif.c:263: warning: (near initialization for 'mappedTags[33]')
    metadataexif.c:264: warning: excess elements in struct initializer
    metadataexif.c:264: warning: (near initialization for 'mappedTags[33]')
    metadataexif.c:266: error: 'EXIF_TAG_GPS_LONGITUDE' undeclared here (not in a function)
    metadataexif.c:266: warning: excess elements in struct initializer
    metadataexif.c:266: warning: (near initialization for 'mappedTags[34]')
    metadataexif.c:266: warning: excess elements in struct initializer
    metadataexif.c:266: warning: (near initialization for 'mappedTags[34]')
    metadataexif.c:267: warning: excess elements in struct initializer
    metadataexif.c:267: warning: (near initialization for 'mappedTags[34]')
    metadataexif.c:269: warning: excess elements in struct initializer
    metadataexif.c:269: warning: (near initialization for 'mappedTags[35]')
    metadataexif.c:269: error: 'EXIF_IFD_COUNT' undeclared here (not in a function)
    metadataexif.c:269: warning: excess elements in struct initializer
    metadataexif.c:269: warning: (near initialization for 'mappedTags[35]')
    metadataexif.c:269: warning: excess elements in struct initializer
    metadataexif.c:269: warning: (near initialization for 'mappedTags[35]')
    metadataexif.c:282: error: expected ')' before 'exif'
    metadataexif.c:286: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'metadatamux_exif_get_exif_from_tag'
    metadataexif.c:290: error: expected ')' before '*' token
    metadataexif.c:294: error: expected ')' before '*' token
    metadataexif.c:298: error: expected ')' before '*' token
    metadataexif.c: In function 'metadataparse_exif_tag_list_add':
    metadataexif.c:334: error: 'ExifData' undeclared (first use in this function)
    metadataexif.c:334: error: (Each undeclared identifier is reported only once
    metadataexif.c:334: error: for each function it appears in.)
    metadataexif.c:334: error: 'exif' undeclared (first use in this function)
    metadataexif.c:335: warning: excess elements in struct initializer
    metadataexif.c:335: warning: (near initialization for 'user_data')
    metadataexif.c:335: warning: excess elements in struct initializer
    metadataexif.c:335: warning: (near initialization for 'user_data')
    metadataexif.c:335: warning: excess elements in struct initializer
    metadataexif.c:335: warning: (near initialization for 'user_data')
    metadataexif.c:335: warning: excess elements in struct initializer
    metadataexif.c:335: warning: (near initialization for 'user_data')
    metadataexif.c:335: warning: ISO C90 forbids mixed declarations and code
    metadataexif.c:351: warning: implicit declaration of function 'exif_data_new_from_data'
    metadataexif.c:356: warning: implicit declaration of function 'exif_data_foreach_content'
    metadataexif.c:357: error: 'metadataparse_exif_data_foreach_content_func' undeclared (first use in this function)
    metadataexif.c:362: warning: implicit declaration of function 'exif_data_unref'
    metadataexif.c: In function 'metadatamux_exif_create_chunk_from_tag_list':
    metadataexif.c:385: error: 'ExifData' undeclared (first use in this function)
    metadataexif.c:385: error: 'ed' undeclared (first use in this function)
    metadataexif.c:386: warning: ISO C90 forbids mixed declarations and code
    metadataexif.c:407: warning: implicit declaration of function 'exif_data_new'
    metadataexif.c:411: warning: implicit declaration of function 'exif_data_set_byte_order'
    metadataexif.c:411: error: 'EXIF_BYTE_ORDER_MOTOROLA' undeclared (first use in this function)
    metadataexif.c:414: error: 'EXIF_BYTE_ORDER_INTEL' undeclared (first use in this function)
    metadataexif.c:419: warning: implicit declaration of function 'exif_data_set_data_type'
    metadataexif.c:419: error: 'EXIF_DATA_TYPE_COMPRESSED' undeclared (first use in this function)
    metadataexif.c:420: warning: implicit declaration of function 'exif_data_fix'
    metadataexif.c:425: warning: implicit declaration of function 'exif_data_save_data'
    metadataexif.c: At top level:
    metadataexif.c:458: error: expected ')' before 'exif'
    metadataexif.c:492: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'metadatamux_exif_get_exif_from_tag'
    metadataexif.c:525: error: expected ')' before '*' token
    metadataexif.c:553: error: expected ')' before '*' token
    metadataexif.c:790: error: expected ')' before '*' token
    metadataexif.c: In function 'metadatamux_exif_for_each_tag_in_list':
    metadataexif.c:889: error: 'ExifData' undeclared (first use in this function)
    metadataexif.c:889: error: 'ed' undeclared (first use in this function)
    metadataexif.c:889: error: expected expression before ')' token
    metadataexif.c:890: error: 'ExifTag' undeclared (first use in this function)
    metadataexif.c:890: error: expected ';' before 'exif_tag'
    metadataexif.c:891: warning: ISO C90 forbids mixed declarations and code
    metadataexif.c:892: error: 'ExifEntry' undeclared (first use in this function)
    metadataexif.c:892: error: 'entry' undeclared (first use in this function)
    metadataexif.c:893: error: 'ExifIfd' undeclared (first use in this function)
    metadataexif.c:893: error: expected ';' before 'ifd'
    metadataexif.c:894: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'byte_order'
    metadataexif.c:894: warning: ISO C90 forbids mixed declarations and code
    metadataexif.c:894: error: 'byte_order' undeclared (first use in this function)
    metadataexif.c:894: warning: implicit declaration of function 'exif_data_get_byte_order'
    metadataexif.c:896: error: 'exif_tag' undeclared (first use in this function)
    metadataexif.c:896: warning: implicit declaration of function 'metadatamux_exif_get_exif_from_tag'
    metadataexif.c:896: error: 'ifd' undeclared (first use in this function)
    metadataexif.c:901: warning: implicit declaration of function 'exif_data_get_entry'
    metadataexif.c:904: warning: implicit declaration of function 'exif_entry_ref'
    metadataexif.c:906: warning: implicit declaration of function 'exif_entry_new'
    metadataexif.c:907: warning: implicit declaration of function 'exif_content_add_entry'
    metadataexif.c:908: warning: implicit declaration of function 'exif_entry_initialize'
    metadataexif.c:913: error: 'EXIF_FORMAT_RATIONAL' undeclared (first use in this function)
    metadataexif.c:915: warning: implicit declaration of function 'exif_format_get_size'
    metadataexif.c:932: error: 'EXIF_FORMAT_SRATIONAL' undeclared (first use in this function)
    metadataexif.c:934: error: 'ExifSRational' undeclared (first use in this function)
    metadataexif.c:934: error: expected ';' before 'sr'
    metadataexif.c:936: warning: implicit declaration of function 'exif_set_srational'
    metadataexif.c:936: error: 'sr' undeclared (first use in this function)
    metadataexif.c:941: error: 'ExifRational' undeclared (first use in this function)
    metadataexif.c:941: error: expected ';' before 'r'
    metadataexif.c:945: error: 'unit_entry' undeclared (first use in this function)
    metadataexif.c:947: error: 'EXIF_TAG_RESOLUTION_UNIT' undeclared (first use in this function)
    metadataexif.c:950: error: 'ExifShort' undeclared (first use in this function)
    metadataexif.c:950: error: expected ';' before 'vsh'
    metadataexif.c:952: error: 'vsh' undeclared (first use in this function)
    metadataexif.c:953: warning: implicit declaration of function 'exif_set_short'
    metadataexif.c:956: error: 'r' undeclared (first use in this function)
    metadataexif.c:962: warning: implicit declaration of function 'exif_set_rational'
    metadataexif.c:1012: error: expected ';' before 'v_short'
    metadataexif.c:1021: error: 'EXIF_FORMAT_SHORT' undeclared (first use in this function)
    metadataexif.c:1031: error: 'v_short' undeclared (first use in this function)
    metadataexif.c:1034: error: 'EXIF_FORMAT_LONG' undeclared (first use in this function)
    metadataexif.c:1035: warning: implicit declaration of function 'exif_set_long'
    metadataexif.c:1050: error: 'rt' undeclared (first use in this function)
    metadataexif.c:1050: error: expected expression before ')' token
    metadataexif.c:1051: warning: ISO C90 forbids mixed declarations and code
    metadataexif.c:1052: error: 'ref_entry' undeclared (first use in this function)
    metadataexif.c:1053: warning: ISO C90 forbids mixed declarations and code
    metadataexif.c:1054: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ref_tag'
    metadataexif.c:1054: error: 'ref_tag' undeclared (first use in this function)
    metadataexif.c:1055: error: 'EXIF_TAG_GPS_LATITUDE_REF' undeclared (first use in this function)
    metadataexif.c:1055: error: 'EXIF_TAG_GPS_LONGITUDE_REF' undeclared (first use in this function)
    metadataexif.c:1096: error: 'EXIF_FORMAT_ASCII' undeclared (first use in this function)
    metadataexif.c:1103: warning: implicit declaration of function 'exif_entry_unref'
    metadataexif.c:1106: error: expected expression before ')' token
    metadataexif.c:1113: error: 'EXIF_TAG_GPS_ALTITUDE_REF' undeclared (first use in this function)
    metadataexif.c:1122: error: 'EXIF_FORMAT_BYTE' undeclared (first use in this function)
    make[4]: *** [libgstmetadata_la-metadataexif.lo] Error 1
    make[4]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/ext/metadata'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/ext'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14'
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14'
    make: *** [/opt/picocom3/buildroot-2010.08/output/build/gst-plugins-bad-0.10.14/.stamp_built] Error 2
    root@slax:/opt/picocom3/buildroot-2010.08#

  • The metadata subdirectory isn't compiled here on my PC at all. When I built the root filesystem, I piped the whole build output to a file. So now I could still check what went on. The configuration for these plugins went like this:


    Code
    1. configure: *** checking feature: METADATA muxer and demuxer ***
    2. configure: *** for plug-ins: metadata ***
    3. checking for EXIF... no
    4. checking for IPTC... no
    5. checking for XMP... no
    6. checking for XMP_1_99_5... no
    7. no
    8. configure: WARNING: no of metadata libraries (exif, iptc or xmp) found
    9. configure: *** These plugins will not be built: metadata


    So here no metadata library was found and therefore no metadata plugin built. Did you activate some other option in the package selection?


    Can you check this part of the compilation process? Remove the whole directory output/build/gst-plugins-bad-0.10.14, then run


    Code
    1. make 2>&1 | tee make.out


    Then after the build process (or most probably the same error) you can check file make.out what is says about the metadata configuration.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • I used config generated by make picocom3_defconfig with no chages.


    Result for metadata part is here:


    configure: *** checking feature: METADATA muxer and demuxer ***
    configure: *** for plug-ins: metadata ***
    checking for EXIF... yes
    checking for IPTC... no
    checking for XMP... no
    checking for XMP_1_99_5... no
    no
    configure: *** These plugins will be built: metadata


    I was then trying to find out why exif modul is preseting - that's because there is libexif 0.6.16 in host linux (according to result of pkg-config).
    Could I somehow manually turn off metadata feature? I don't know what part of system is using this library and how could I get rid of it.


    Kamil

  • I think I've found a solution for you:


    Edit file package/multimedia/gst-plugins-bad/gst-plugins-bad.mk and change the part

    Code
    1. GST_PLUGINS_BAD_CONF_OPT = \
    2. --disable-examples


    to

    Code
    1. GST_PLUGINS_BAD_CONF_OPT = \
    2. --disable-examples --disable-metadata


    Then remove the whole directory output/build/gst-plugins-bad-0.10.14/ again and continue build with "make". This should leave out the metadata plugin.


    I think there is an error that the configure script looks on the host for this library instead of in the buildroot-directory where the libraries for the target are located. These are common problems when cross-compiling something and this is the big advantage that BuildRoot gives us. Because using BuildRoot we (usually) don't have to bother about how something is being cross-compiled. This is the task of BuildRoot.


    We could report this as a problem to BuildRoot now, but as the 2010.08 version is rather old, it does not make sense. However if we find some day that this is still a problem in the newest version, then we should actually report it.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.