2010-01-05 10:27:11     uCilnux make issues on new machine

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

2010-01-05 10:27:11     uCilnux make issues on new machine

Kevin Greene (UNITED STATES)

Message: 84201   

 

Hi,

 

I'm trying to get our new server up and running to compile our version of uClinux.

 

The toolchain is set up and we simply copied the source to the new computer directly from the old one.

 

However, I cannot get it to build and I'm struggling to figure out what's wrong.

 

I've attached the output from doing a make clean and then running make as make_clean_and_make_output.txt. Interestingly, I get a different output if I then run make again (without cleaning) -- attached as make_output.txt. Even more interestingly, if I run "make -B" the install goes recursive and I get the output in make_always_make.txt.

 

Clearly something is set up wrong on this machine.

 

If you need more information from me, just let me know =)

 

Thank you for the help,

 

 

 

Kevin

 

make_always_make.txt

make_output.txt

make_clean_and_make_output.txt

QuoteReplyEditDelete

 

 

2010-01-05 10:40:12     Re: uCilnux make issues on new machine

Mike Frysinger (UNITED STATES)

Message: 84202   

 

you didnt install all the packages the documentation told you to:

  docs.blackfin.uclinux.org/doku.php?id=installing_linux

 

the error in the logs seems pretty clear to me:

checking for GNU xgettext... configure: error:

*** GNU gettext is required. The latest version

*** is always available from ftp://ftp.gnu.org/gnu/gettext/.

QuoteReplyEditDelete

 

 

2010-01-05 11:32:45     Re: uCilnux make issues on new machine

Kevin Greene (UNITED STATES)

Message: 84203   

 

Ah, you're right I was definitely missing a few packages.

 

Now I've installed the necessary packages, but it's still stopping in the same place.

 

I also noticed the following lines that may be of interest:

 

make -C speex

set -e ; \

    rm -rf build-readline-5.2_p12 ; \

    mkdir build-readline-5.2_p12 ; \

    cd build-readline-5.2_p12 ; \

    CROSS_COMPILE="" \

    ../readline-5.2_p12/configure --host=bfin-linux-uclibc --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib

make[3]: Entering directory `/home/stevestrobel/Blackfin/uClinux-test/lib/speex'

find speex-svn-13013 -type f -print0 | xargs -0 touch -r speex-svn-13013/configure

set -e ; \

    rm -rf build-popt-1.13 ; \

    mkdir build-popt-1.13 ; \

    cd build-popt-1.13 ; \

    ac_cv_va_copy=C99 \

    ../popt-1.13/configure --host=bfin-linux-uclibc --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib

make -C zlib

set -e ; \

    rm -rf build-libosip2-3.0.3-2 ; \

    mkdir build-libosip2-3.0.3-2 ; \

    cd build-libosip2-3.0.3-2 ; \

    ../libosip2-3.0.3-2/configure \

        --host=bfin-linux-uclibc --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib

set -e ; \

    rm -rf build-ncurses-5.6 ; \

    mkdir build-ncurses-5.6 ; \

    cd build-ncurses-5.6 ; \

    ../ncurses-5.6/configure \

        --host=bfin-linux-uclibc --build=i686-pc-linux-gnu --prefix=/usr --sysconfdir=/etc --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localstatedir=/var/lib \

        --with-shared \

        --disable-termcap \

        --without-ada \

        --with-manpage-format=normal \

        --with-manpage-renames=no \

        --with-manpage-aliases=no \

        --with-manpage-symlinks=no \

        --enable-symlinks \

        --enable-const

make[3]: Entering directory `/home/stevestrobel/Blackfin/uClinux-test/lib/zlib'

bfin-linux-uclibc-gcc -pipe -Wall -g -O2 -fpic       -mcpu=bf537-0.2 -DEMBED -D__uClinux__ -I/home/stevestrobel/Blackfin/uClinux-test     -mcpu=bf537-0.2  -c -o adler32.o adler32.c

touch: failed to get attributes of `speex-svn-13013/configure': No such file or directory

make[3]: *** [build-speex-svn-13013/Makefile] Error 123

make[3]: Leaving directory `/home/stevestrobel/Blackfin/uClinux-test/lib/speex'

make[2]: *** [speex] Error 2

make[2]: *** Waiting for unfinished jobs....

 

That doesn't cause it to stop (immediately) though.

 

Attached is the new output I get from make after running make clean.

 

output.txt

QuoteReplyEditDelete

 

 

2010-01-05 14:11:37     Re: uCilnux make issues on new machine

Mike Frysinger (UNITED STATES)

Message: 84205   

 

your source is broken and is not the 2009R1+ release (i really have no idea what source tree you're using).  use the 2009R1 branch or get the latest 2009R1.1 release.

 

QuoteReplyEditDelete

 

 

2010-01-05 15:31:28     Re: uCilnux make issues on new machine

Kevin Greene (UNITED STATES)

Message: 84207   

 

We're using the 2008 release from sometime in fall. However, it would be a large effort for us to update to the current release given the proprietary additions and modifications we have made over the years.

 

It seems odd that the exact same source compiles and works fine on the old machines, but not on the new server. I'm not really sure what's different apart from a newer version of Ubuntu and a 64-bit, quad-core processor (still running 32-bit Ubuntu though) and more RAM.

 

Any idea how we can make it work quickly without going through the trouble of merging our changes with the changes in the 2009R1.1 release?

QuoteReplyEditDelete

 

 

2010-01-05 15:41:42     Re: uCilnux make issues on new machine

Mike Frysinger (UNITED STATES)

Message: 84208   

 

something is screwed up on your side then as the directory in question (speex-svn-13013) is in the 2008R1 and 2008R1.5 release tarball.  figure out where you lost it.

Outcomes