[#5821] Fail to build pngview on regression machines with suse 10.2

Document created by Aaronwu Employee on Sep 5, 2013
Version 1Show Document
  • View in full screen mode

[#5821] Fail to build pngview on regression machines with suse 10.2

Submitted By: Vivi Li

Open Date

2010-01-11 04:53:28     Close Date

2010-01-11 21:23:57

Priority:

Medium     Assignee:

Nobody

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.3_trunk3771

App binary format:

N/A     

Summary: Fail to build pngview on regression machines with suse 10.2

Details:

 

Fail to build pngview on some regression machine with suse 10.2.

 

The last passed uclinux-dist version is 9351.

The first failed uclinux-dist version is 9367.

 

Bellow is the log:

--

test@uclinux54-adv7393-ad1981-usb1362:~/work/cruise/checkouts/uclinux-dist> make user/blkfin-apps/pngview_only

make[1]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user'

touch blkfin-apps/pngview/.sgbuilt_user && make -C blkfin-apps/pngview -j4

make[2]: Entering directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview'

bfin-uclinux-gcc -pipe -Wall -g -O2      -mcpu=bf537-0.2 -Wall -DEMBED -D__uClinux__ -I/home/test/work/cruise/checkouts/uclinux-dist  -mcpu=bf537-0.2  -c -o pngview.o pngview.c

cross-pkg-config: error: pkg-config is too old ... upgrade to at least v0.23

bfin-uclinux-gcc  -Wl,-elf2flt    -mcpu=bf537-0.2  pngview.o   -o pngview

pngview.o: In function `read_png_file':

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:198: undefined reference to `_png_check_sig'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:201: undefined reference to `_png_create_read_struct'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:205: undefined reference to `_png_create_info_struct'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:222: undefined reference to `_png_init_io'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:223: undefined reference to `_png_set_sig_bytes'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:224: undefined reference to `_png_read_info'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:225: undefined reference to `_png_get_IHDR'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:232: undefined reference to `_png_get_valid'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:241: undefined reference to `_png_read_update_info'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:242: undefined reference to `_png_get_rowbytes'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:251: undefined reference to `_png_read_image'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:215: undefined reference to `_png_destroy_read_struct'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:279: undefined reference to `_png_read_end'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:280: undefined reference to `_png_destroy_read_struct'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:207: undefined reference to `_png_destroy_read_struct'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:233: undefined reference to `_png_set_expand'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:229: undefined reference to `_png_set_expand'

/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview/pngview.c:231: undefined reference to `_png_set_expand'

collect2: ld returned 1 exit status

make[2]: *** [pngview] Error 1

make[2]: Leaving directory `/home/test/work/cruise/checkouts/uclinux-dist/user/blkfin-apps/pngview'

--

 

Follow-ups

 

--- Mike Frysinger                                           2010-01-11 11:41:03

do what the error told you to:

cross-pkg-config: error: pkg-config is too old ... upgrade to at least v0.23

 

--- Mike Frysinger                                           2010-01-11 14:24:50

apparently Debian hasnt gotten around to packaging a release that has been out

for two years, so ive relaxed the requirement for now to pkg-config 0.20

 

--- Vivi Li                                                  2010-01-11 21:23:50

It's OK now. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes