2008-10-28 16:12:52     Trouble building 2008R1.5-RC3

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

2008-10-28 16:12:52     Trouble building 2008R1.5-RC3

Jay Ku (UNITED STATES)

Message: 64293   

 

 

 

I just installed the following on a new machine (fresh install of Ubuntu 8.04):

 

  blackfin-toolchain-uclibc-full-08r1.5-14.i386.tar.gz

 

  blackfin-toolchain-08r1.5-14.i386.tar.gz

 

  uClinux-dist-2008R1.5-RC3.tar.gz

 

I'm selecting BF537-STAMP in menuconfig (and leaving all other defaults alone).   When I try to build I'm getting all sorts of errors.  My most recent try (with NON_SMP_BUILD=1) gave me:

 

...

 

/home/jayk/uClinux-dist-2008R1.5-RC3/user/blkfin-apps/pngview/pngview.c:231: undefined reference to `_png_set_expand'

/home/jayk/uClinux-dist-2008R1.5-RC3/user/blkfin-apps/pngview/pngview.c:207: undefined reference to `_png_destroy_read_struct'

/home/jayk/uClinux-dist-2008R1.5-RC3/user/blkfin-apps/pngview/pngview.c:233: undefined reference to `_png_set_expand'

/home/jayk/uClinux-dist-2008R1.5-RC3/user/blkfin-apps/pngview/pngview.c:229: undefined reference to `_png_set_expand'

collect2: ld returned 1 exit status

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

make[4]: Leaving directory `/home/jayk/uClinux-dist-2008R1.5-RC3/user/blkfin-apps/pngview'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/jayk/uClinux-dist-2008R1.5-RC3/user/blkfin-apps'

make[2]: *** [blkfin-apps] Error 2

make[2]: Leaving directory `/home/jayk/uClinux-dist-2008R1.5-RC3/user'

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

make[1]: Leaving directory `/home/jayk/uClinux-dist-2008R1.5-RC3/user'

make: *** [subdirs] Error 1

 

If I build without the NON_SMP_BUILD option (which I guess uses both cores by default - this is a dual-core machine), I get:

 

...

 

  CC      util-linux/mount.o

  CC      util-linux/umount.o

  AR      util-linux/lib.a

  LINK    busybox_unstripped

bfin-uclinux-strip: busybox_unstripped: File format not recognized

make[3]: Leaving directory `/home/jayk/uClinux-dist-2008R1.5-RC3/user/busybox'

make[2]: Leaving directory `/home/jayk/uClinux-dist-2008R1.5-RC3/user'

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

make[1]: Leaving directory `/home/jayk/uClinux-dist-2008R1.5-RC3/user'

make: *** [subdirs] Error 1

 

Not sure why they're so different.

 

I had previously been using 2008R1-RC8 (on a different machine) and I didn't notice any problem like this.

 

Is there something basic I'm doing wrong here?

 

 

 

Thanks,

 

Jay

 

 

QuoteReplyEditDelete

 

 

2008-10-28 16:52:03     Re: Trouble building 2008R1.5-RC3

Mike Frysinger (UNITED STATES)

Message: 64297   

 

do you have libpng enabled in the vendor/user settings ?

Attachments

    Outcomes