2010-08-28 19:25:40     Problem with compiling

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

2010-08-28 19:25:40     Problem with compiling

Mateusz Krupiński (POLAND)

Message: 92897   

 

Hello guys,

 

I have tried to compile this dist : blackfin-toolchain-snapshot-uclinux-SVN.i386.rpm. My toolchains are

 

blackfin-toolchain-snapshot-uclinux-SVN.i386.rpm

 

blackfin-toolchain-snapshot-linux-uclibc-SVN.i386.rpm

 

Every time when I use default settings for the command make menuconfig and then after compilation I am using order make, everything its done and working fine. However I have to get settings for asterisk on platform Blackfin Stamp 533 (I mark there such options like librabry libSSL and option Asterisk PBX) and if try later make a compilation, every time I see errors below. Do you know what is the reason? I have spent on this problem already 2 days, without results. All rigts are changed for the user using command sudo chown -R 1000:100 *. Have I wrong type of toolchain or maybe wrong version of uClinux? Please help

 

 

installing etip.h in /home/kompilacja/uclinux-dist-trunk-svn-9793/staging/usr/include

make[5]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/ncurses/build-ncurses-5.7/c++'

make[4]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/ncurses/build-ncurses-5.7'

make post-build

make[4]: Entering directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/ncurses'

make[4]: Nothing to be done for `post-build'.

make[4]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/ncurses'

/home/kompilacja/uclinux-dist-trunk-svn-9793/tools/cross-fix-root

make[3]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/ncurses'

make[2]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib'

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

make[1]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib'

make: *** [subdirs] Error 1

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793>

QuoteReplyEditDelete

 

 

2010-08-28 19:38:26     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 92898   

 

you've snipped the actual error from the log.  you need to either scroll up and find out what actually failed, or run `make single` so the build aborts on the first error.

QuoteReplyEditDelete

 

 

2010-08-29 13:39:11     Re: Problem with compiling

Mateusz Krupiński (POLAND)

Message: 92908   

 

So I have made commend make single, the result is below:

 

/opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libc.a(ntop.o): In function `inet_ntop4':

libc/inet/ntop.c:74: undefined reference to `___umulsi3_highpart'

libc/inet/ntop.c:76: undefined reference to `___umulsi3_highpart'

libc/inet/ntop.c:76: undefined reference to `___umulsi3_highpart'

/opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libc.a(ntop.o):libc/inet/ntop.c:79: more undefined references to `___umulsi3_highpart' follow

/opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(e_exp.o): In function `__ieee754_exp':

libm/e_exp.c:144: undefined reference to `___fixdfsi'

/opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(e_rem_pio2.o): In function `__ieee754_rem_pio2':

libm/e_rem_pio2.c:131: undefined reference to `___fixdfsi'

libm/e_rem_pio2.c:176: undefined reference to `___fixdfsi'

/opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(k_cos.o): In function `__kernel_cos':

libm/k_cos.c:80: undefined reference to `___fixdfsi'

/opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(k_rem_pio2.o): In function `__kernel_rem_pio2':

libm/k_rem_pio2.c:202: undefined reference to `___fixdfsi'

/opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(k_rem_pio2.o):libm/k_rem_pio2.c:203: more undefined references to `___fixdfsi' follow

collect2: ld returned 1 exit status

make[6]: *** [obj/bfin-uclinux-gcc/so/libstlport.so.5.2.1] Error 1

make[6]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/STLport/STLport-5.2.1/build/lib'

make[5]: *** [install] Error 2

make[5]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/STLport/STLport-5.2.1'

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

make[4]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/STLport'

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

make[3]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib'

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

make[2]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib'

make[1]: *** [subdirs] Error 1

make[1]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793'

make: *** [single] Error 2

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> /opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libc.a(ntop.o): In function `inet_ntop4':

bash: syntax error near unexpected token `ntop.o'

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> libc/inet/ntop.c:74: undefined reference to `___umulsi3_highpart'

> libc/inet/ntop.c:76: undefined reference to `___umulsi3_highpart'

> libc/inet/ntop.c:76: undefined reference to `___umulsi3_highpart'

bash: command substitution: line 1: unexpected EOF while looking for matching `''

bash: command substitution: line 3: syntax error: unexpected end of file

bash: libc/inet/ntop.c:74:: No such file or directory

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> /opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libc.a(ntop.o):libc/inet/ntop.c:79: more undefined references to `___umulsi3_highpart' follow

bash: syntax error near unexpected token `ntop.o'

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> /opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(e_exp.o): In function `__ieee754_exp':

bash: syntax error near unexpected token `e_exp.o'

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> libm/e_exp.c:144: undefined reference to `___fixdfsi'

> /opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(e_rem_pio2.o): In function `__ieee754_rem_pio2':

> libm/e_rem_pio2.c:131: undefined reference to `___fixdfsi'

bash: command substitution: line 1: unexpected EOF while looking for matching `''

bash: command substitution: line 3: syntax error: unexpected end of file

bash: libm/e_exp.c:144:: No such file or directory

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> libm/e_rem_pio2.c:176: undefined reference to `___fixdfsi'

> /opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(k_cos.o): In function `__kernel_cos':

> libm/k_cos.c:80: undefined reference to `___fixdfsi'

bash: command substitution: line 1: unexpected EOF while looking for matching `''

bash: command substitution: line 3: syntax error: unexpected end of file

bash: libm/e_rem_pio2.c:176:: No such file or directory

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> /opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(k_rem_pio2.o): In function `__kernel_rem_pio2':

bash: syntax error near unexpected token `k_rem_pio2.o'

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> libm/k_rem_pio2.c:202: undefined reference to `___fixdfsi'

> /opt/uClinux-SVN/bfin-uclinux/bin/../bfin-uclinux/runtime/usr/lib/libm.a(k_rem_pio2.o):libm/k_rem_pio2.c:203: more undefined references to `___fixdfsi' follow

> collect2: ld returned 1 exit status

> make[6]: *** [obj/bfin-uclinux-gcc/so/libstlport.so.5.2.1] Error 1

> make[6]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/STLport/STLport-5.2.1/build/lib'

bash: command substitution: line 1: unexpected EOF while looking for matching `''

bash: command substitution: line 3: syntax error: unexpected end of file

bash: libm/k_rem_pio2.c:202:: No such file or directory

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> make[5]: *** [install] Error 2

If 'make[5]:' is not a typo you can use command-not-found to lookup the package that contains it, like this:

    cnf make[5]:

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> make[5]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/STLport/STLport-5.2.1'

> make[4]: *** [all] Error 2

> make[4]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib/STLport'

> make[3]: *** [STLport] Error 2

> make[3]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib'

bash: command substitution: line 1: unexpected EOF while looking for matching `''

bash: command substitution: line 4: syntax error: unexpected end of file

If 'make[5]:' is not a typo you can use command-not-found to lookup the package that contains it, like this:

    cnf make[5]:

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> make[2]: *** [all] Error 2

If 'make[2]:' is not a typo you can use command-not-found to lookup the package that contains it, like this:

    cnf make[2]:

radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793> make[2]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793/lib'

> make[1]: *** [subdirs] Error 1

> make[1]: Leaving directory `/home/kompilacja/uclinux-dist-trunk-svn-9793'

> make: *** [single] Error 2

> radioglowi@linux-m24k:/home/kompilacja/uclinux-dist-trunk-svn-9793>

> ^C

QuoteReplyEditDelete

 

 

2010-08-29 16:46:37     Re: Problem with compiling

Mateusz Krupiński (POLAND)

Message: 92910   

 

Do you have any idea? please help me, I have to make it during this week

QuoteReplyEditDelete

 

 

2010-08-29 17:53:50     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 92911   

 

shared libraries really only work with FDPIC toolchains, not FLAT toolchains.  we havent really tested STLport, so you may have to toy around with it.

QuoteReplyEditDelete

 

 

2010-08-29 18:03:18     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 92912   

 

please refrain from spurious comments like this.  they'll simply be deleted.  if you want deterministic support, there are plenty of 3rd parties willing to assist.

QuoteReplyEditDelete

 

 

2010-08-29 19:50:27     Re: Problem with compiling

Mateusz Krupiński (POLAND)

Message: 92914   

 

Thank you Mike for advice, off course this will never happen. However could you give additional feedback, which toolchain I should precisely use?

QuoteReplyEditDelete

 

 

2010-08-30 02:45:50     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 92922   

 

  docs.blackfin.uclinux.org/doku.php?id=toolchain:executable_file_formats

  docs.blackfin.uclinux.org/doku.php?id=toolchain:targets

QuoteReplyEditDelete

 

 

2010-08-30 13:13:33     Re: Problem with compiling

Mateusz Krupiński (POLAND)

Message: 92934   

 

Hello guys,

 

I have this problem once again. I have choosed all option for support shared librabries:

 

Linux Kernel Configuration

Executable file formats  --->

[*] Kernel support for FDPIC ELF binaries

<*> Kernel support for flat binaries

     [ ]   Enable ZFLAT support

     [ ]   Enable shared FLAT support

 

Vendor/User Settings

  Blackfin build Options  --->

    (FDPIC) Binary format

 

I have still the same error like above. I do not understand this case. I have made compilation using such toolchain: balckfin-toolchain-linux-uclibc (support for FDPIC Elf) and blackfin-toolchain-uclinux. I have tried also with blackfin-toolchain-elf, nothing working. Where is the problem, what I should use?

QuoteReplyEditDelete

 

 

2010-08-30 13:17:08     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 92935   

 

current svn trunk of uclinux-dist and the toolchain builds fine for me using FDPIC and STLport

 

please make sure you're using trunk of both, and you do `make clean` when switching binary formats as documented

QuoteReplyEditDelete

 

 

2010-08-30 13:57:29     Re: Problem with compiling

Mateusz Krupiński (POLAND)

Message: 92936   

 

I have downloaded uclinux-dist-trunk-svn.src.tar.bz2 from Nightly Snapshot repository, after unpacking I have got name:  uclinux-dist-trunk-svn-9793.

 

Toolchain files which I use are:                                                                                                                                                                           -rw-r--r--  1 radioglowi users  49164689 2010-08-30 11:25 blackfin-toolchain-elf-gcc-4.1-09r1-10.i386.rpm

-rw-r--r--  1 radioglowi users 130222080 2010-08-30 12:32 blackfin-toolchain-linux-uclibc-SVN.i386.tar

-rw-r--r--  1 radioglowi users 199106560 2010-08-30 12:35 blackfin-toolchain-uclinux-SVN.i386.tar

 

I have made such export order and this is saved in ~/.bashrc:

 

export PATH=$PATH:/opt/uClinux/bfin-linux-uclibc/bin:/opt/uClinux/bfin-uclinux/bin:/opt/uClinux/bfin-elf/bin/

 

Mike, do you have the same settings?

QuoteReplyEditDelete

 

 

2010-08-30 14:10:11     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 92937   

 

please read the FAQ.  you must use the same version of things.  mixing 2009R1 and trunk is not supported.

QuoteReplyEditDelete

 

 

2010-08-30 16:18:23     Re: Problem with compiling

Mateusz Krupiński (POLAND)

Message: 92938   

 

Mike,

 

every advice from you was very helpfull. Right now I have, like you said, toolchain and distro from the same family:

 

-rw-r--r--  1 radioglowi users 156600320 2010-08-30 20:42 blackfin-toolchain-elf-SVN.i386.tar                                                                                                             

-rw-r--r--  1 radioglowi users 130222080 2010-08-30 12:32 blackfin-toolchain-linux-uclibc-SVN.i386.tar                                                                                                                                                                                               

-rw-r--r--  1 radioglowi users 199106560 2010-08-30 12:35 blackfin-toolchain-uclinux-SVN.i386.tar  

 

and distro uclinux-dist-trunk-svn.src.tar

 

 

However at the moment appears to me another case, it seems something wrong with asterisk. Those are results from order make single:

 

Created dependencies.

make[4]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/lib/libopenh323'

make[3]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/lib'

[ -z "libopenh323" ] || /usr/src/moje/uclinux-dist-trunk-svn-9793/tools/cross-fix-root

[ -z "" ] || make -j1  || exit $?

[ -z "" ] || /usr/src/moje/uclinux-dist-trunk-svn-9793/tools/cross-fix-root

[ -z "" ] || make -j1  || exit $?

[ -z "" ] || /usr/src/moje/uclinux-dist-trunk-svn-9793/tools/cross-fix-root

[ -z "" ] || make -j1  || exit $?

[ -z "" ] || /usr/src/moje/uclinux-dist-trunk-svn-9793/tools/cross-fix-root

[ -z "" ] || make -j1  || exit $?

[ -z "" ] || /usr/src/moje/uclinux-dist-trunk-svn-9793/tools/cross-fix-root

make[2]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/lib'

make[2]: Entering directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user'

make -j1 /usr/src/moje/uclinux-dist-trunk-svn-9793/prop /usr/src/moje/uclinux-dist-trunk-svn-9793/vendors/AnalogDevices/BF533-STAMP/. asterisk asterisk-addons blkfin-apps blkfin-drvs blkfin-test boa busybox dhcpcd-new dhrystone ftp ftpd games gdbserver inetd init jpegview lrzsz mtd-utils play portmap strace sysutils telnet telnetd threaddemos version vplay watchdogd whetstone || exit $?

make[3]: Entering directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user'

[ ! -d "/usr/src/moje/uclinux-dist-trunk-svn-9793/prop" ] || ( touch /usr/src/moje/uclinux-dist-trunk-svn-9793/prop/.sgbuilt_user && make -C /usr/src/moje/uclinux-dist-trunk-svn-9793/prop ) || exit $?

make[3]: Nothing to be done for `/usr/src/moje/uclinux-dist-trunk-svn-9793/vendors/AnalogDevices/BF533-STAMP/.'.

[ ! -d "asterisk" ] || ( touch asterisk/.sgbuilt_user && make -C asterisk ) || exit $?

make[4]: Entering directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk'

make[5]: Entering directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/db1-ast'

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash.o hash/hash.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_bigkey.o hash/hash_bigkey.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_buf.o hash/hash_buf.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_func.o hash/hash_func.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_log2.o hash/hash_log2.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o hash_page.o hash/hash_page.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ihash -o ndbm.o hash/ndbm.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_close.o btree/bt_close.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_conv.o btree/bt_conv.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_debug.o btree/bt_debug.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_delete.o btree/bt_delete.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_get.o btree/bt_get.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_open.o btree/bt_open.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_overflow.o btree/bt_overflow.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_page.o btree/bt_page.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_put.o btree/bt_put.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_search.o btree/bt_search.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_seq.o btree/bt_seq.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_split.o btree/bt_split.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -Ibtree -o bt_utils.o btree/bt_utils.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -pipe  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -O6 -I/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/tinytcap -DASTERISK_VERSION=\"1.0.7\" -DASTETCDIR=\"/etc/config/asterisk\" -DASTLIBDIR=\"/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/config/asterisk/asterisk.conf\" -DASTMODDIR=\"/lib/asterisk/modules\" -DASTAGIDIR=\"/agi-bin\"     -DBUSYDETECT_MARTIN      -Wall -c -D__DBINTERFACE_PRIVATE -O2 -I. -Iinclude -o db.o db/db.c

{standard input}: Assembler messages:

{standard input}:12: Error: syntax error. Input text was dbopen.

{standard input}:12: Error:

make[5]: *** [db.o] Error 1

make[5]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk/db1-ast'

make[4]: *** [db1-ast/libdb1.a] Error 2

make[4]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/asterisk'

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

make[3]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user'

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

make[2]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user'

make[1]: *** [subdirs] Error 1

make[1]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793'

make: *** [single] Error 2

radioglowi@linux-0uk5:/usr/src/moje/uclinux-dist-trunk-svn-9793>

 

 

If you will have a little bit time, could look on it? Thanks a lot

QuoteReplyEditDelete

 

 

2010-08-30 16:28:12     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 92939   

 

we never test asterisk anymore, sorry.  only place to find info on that is here:

  blackfin.uclinux.org/gf/project/asterisk

 

we certainly accept patches, but no one has submitted them, so ...

QuoteReplyEditDelete

 

 

2010-08-31 04:52:19     Re: Problem with compiling

Mateusz Krupiński (POLAND)

Message: 92961   

 

Hallo Mike,

 

I have made a test. For all options I turned off packeges for asterisk and I got similar errors. Now it looks like:

 

Final link with: <none>

  DOC     busybox.pod

  DOC     BusyBox.txt

  DOC     BusyBox.1

  DOC     BusyBox.html

make[5]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/busybox/build-busybox-1.16.2'

make[4]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/busybox'

[ ! -d "dhcpcd-new" ] || ( touch dhcpcd-new/.sgbuilt_user && make -C dhcpcd-new ) || exit $?

make[4]: Entering directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/dhcpcd-new'

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -D_BSD_SOURCE=1 -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o arp.o arp.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -D_BSD_SOURCE=1 -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o buildmsg.o buildmsg.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -D_BSD_SOURCE=1 -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o client.o client.c

client.c: In function ‘classIDsetup’:

client.c:339: warning: pointer targets in passing argument 1 of ‘snprintf’ differ in signedness

client.c: In function ‘dhcpConfig’:

client.c:893: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness

client.c:600: warning: unused variable ‘cmd’

client.c: In function ‘readDhcpCache’:

client.c:1153: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness

client.c: In function ‘openSocket’:

client.c:1183: warning: implicit declaration of function ‘deletePidFile’

client.c: In function ‘checkIfAlreadyRunning’:

client.c:1576: warning: implicit declaration of function ‘kill’

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -D_BSD_SOURCE=1 -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o dhcpcd.o dhcpcd.c

dhcpcd.c: In function ‘main’:

dhcpcd.c:176: warning: pointer targets in assignment differ in signedness

dhcpcd.c:179: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness

dhcpcd.c:185: warning: pointer targets in assignment differ in signedness

dhcpcd.c:188: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -D_BSD_SOURCE=1 -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o peekfd.o peekfd.c

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -D_BSD_SOURCE=1 -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o signals.o signals.c

signals.c: In function ‘killPid’:

signals.c:55: warning: implicit declaration of function ‘exit’

signals.c:55: warning: incompatible implicit declaration of built-in function ‘exit’

signals.c:57: warning: incompatible implicit declaration of built-in function ‘exit’

signals.c: In function ‘writePidFile’:

signals.c:69: warning: incompatible implicit declaration of built-in function ‘exit’

signals.c: In function ‘sigHandler’:

signals.c:125: warning: incompatible implicit declaration of built-in function ‘exit’

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -D_BSD_SOURCE=1 -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o udpipgen.o udpipgen.c

bfin-linux-uclibc-gcc     -mcpu=bf533-0.3 -o dhcpcd arp.o buildmsg.o client.o dhcpcd.o peekfd.o signals.o udpipgen.o

make[4]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/dhcpcd-new'

[ ! -d "dhrystone" ] || ( touch dhrystone/.sgbuilt_user && make -C dhrystone ) || exit $?

make[4]: Entering directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/dhrystone'

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -DNO_PROTOTYPES=1 -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o dhry_1.o dhry_1.c

dhry_1.c:31: warning: conflicting types for built-in function ‘malloc’

dhry_1.c:78: warning: return type defaults to ‘int’

dhry_1.c: In function ‘main’:

dhry_1.c:98: warning: implicit declaration of function ‘strcpy’

dhry_1.c:98: warning: incompatible implicit declaration of built-in function ‘strcpy’

dhry_1.c:110: warning: implicit declaration of function ‘atoi’

dhry_1.c:157: warning: implicit declaration of function ‘Proc_5’

dhry_1.c:158: warning: implicit declaration of function ‘Proc_4’

dhry_1.c:164: warning: implicit declaration of function ‘Func_2’

dhry_1.c:170: warning: implicit declaration of function ‘Proc_7’

dhry_1.c:175: warning: implicit declaration of function ‘Proc_8’

dhry_1.c:177: warning: implicit declaration of function ‘Proc_1’

dhry_1.c:184: warning: implicit declaration of function ‘Proc_6’

dhry_1.c:195: warning: implicit declaration of function ‘Proc_2’

dhry_1.c:292: warning: implicit declaration of function ‘exit’

dhry_1.c:292: warning: incompatible implicit declaration of built-in function ‘exit’

dhry_1.c: At top level:

dhry_1.c:299: warning: return type defaults to ‘int’

dhry_1.c: In function ‘Proc_1’:

dhry_1.c:312: warning: implicit declaration of function ‘Proc_3’

dhry_1.c: At top level:

dhry_1.c:335: warning: return type defaults to ‘int’

dhry_1.c:358: warning: return type defaults to ‘int’

dhry_1.c:371: warning: return type defaults to ‘int’

dhry_1.c:383: warning: return type defaults to ‘int’

dhry_1.c: In function ‘Proc_5’:

dhry_1.c:386: warning: control reaches end of non-void function

dhry_1.c: In function ‘Proc_4’:

dhry_1.c:377: warning: control reaches end of non-void function

dhry_1.c: In function ‘Proc_3’:

dhry_1.c:365: warning: control reaches end of non-void function

dhry_1.c: In function ‘Proc_2’:

dhry_1.c:350: warning: control reaches end of non-void function

dhry_1.c: In function ‘Proc_1’:

dhry_1.c:327: warning: control reaches end of non-void function

dhry_1.c: In function ‘main’:

dhry_1.c:80: warning: ‘Int_2_Loc’ may be used uninitialized in this function

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -DNO_PROTOTYPES=1 -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o dhry_2.o dhry_2.c

dhry_2.c:35: warning: return type defaults to ‘int’

dhry_2.c: In function ‘Proc_6’:

dhry_2.c:39: warning: implicit declaration of function ‘Func_3’

dhry_2.c: At top level:

dhry_2.c:73: warning: return type defaults to ‘int’

dhry_2.c:89: warning: return type defaults to ‘int’

dhry_2.c: In function ‘Func_2’:

dhry_2.c:164: warning: implicit declaration of function ‘strcmp’

dhry_2.c: In function ‘Proc_8’:

dhry_2.c:106: warning: control reaches end of non-void function

dhry_2.c: In function ‘Proc_7’:

dhry_2.c:81: warning: control reaches end of non-void function

dhry_2.c: In function ‘Proc_6’:

dhry_2.c:61: warning: control reaches end of non-void function

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -DNO_PROTOTYPES=1 -o dhrystone dhry_1.o dhry_2.o -lm

make[4]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/dhrystone'

[ ! -d "flatfsd" ] || ( touch flatfsd/.sgbuilt_user && make -C flatfsd ) || exit $?

make[4]: Entering directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/flatfsd'

bfin-linux-uclibc-gcc -pipe -Wall -g -O2      -mcpu=bf533-0.3 -Wall -Werror -DUSING_MTD_DEVICE=1 -DFLATFSD_VERSION='"3.0.1mtd"' -DEMBED -D__uClinux__ -I/usr/src/moje/uclinux-dist-trunk-svn-9793  -mcpu=bf533-0.3  -c -o flatfsd.o flatfsd.c

flatfsd.c:29:28: error: linux/autoconf.h: No such file or directory

make[4]: *** [flatfsd.o] Error 1

make[4]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user/flatfsd'

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

make[3]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user'

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

make[2]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793/user'

make[1]: *** [subdirs] Error 1

make[1]: Leaving directory `/usr/src/moje/uclinux-dist-trunk-svn-9793'

make: *** [single] Error 2

 

 

For instance this it's more clear for you, thanks in advance for your replay

QuoteReplyEditDelete

 

 

2010-08-31 08:58:05     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 92965   

 

dont enable flatfsd.  it really makes no sense anymore, and has never been tested/used on Blackfin systems.

QuoteReplyEditDelete

 

 

2010-09-03 04:47:35     Re: Problem with compiling

Mateusz Krupiński (POLAND)

Message: 93103   

 

Hallo guys,

 

I have few more questions, couse  I can't resolve problem with compiling uClinux including Astersik PBX. I want to try with earlier versions of toolchan and distro. However few years ago was nothing mention about such toolchain like blackfin-toolchain-linux-uclibc on which depend installng shared libraries (I supose). Do you have any knownledge, whether this PBX was working before. If yes, which toolchain and distro will be proper for such project? Thanks a lot for a answer!

QuoteReplyEditDelete

 

 

2010-09-03 11:27:07     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 93114   

 

the asterisk guys have their own dist i believe.  you could ask on their forums ...

QuoteReplyEditDelete

 

 

2010-09-06 16:55:35     Re: Problem with compiling

Mateusz Krupiński (POLAND)

Message: 93189   

 

Hello guys once again,

 

I want to now enlarge my romfs size. In the instruction is writtin, that I should change omfs from default 8192 to 25600 in uClinux-dist/vendors/AnalogDevices/BF533-STAMP/Makefile. However unfortunetely I don't known, where in this file I shoul that change. Makefile of distro from 2006R2 looks like:

 

#

#    Makefile -- Build instructions for ADI/Blackfin

#

 

.EXPORT_ALL_VARIABLES:

include $(LINUX_CONFIG)

include $(CONFIG_CONFIG)

 

ROMFS_DIRS-y = bin etc etc/dhcpc home lib mnt proc sys usr var root home tmp etc/config var/run var/lib/misc

ETC_FILES-y = \

    filesystems group issue mdev.conf mime.types modprobe.conf motd \

    passwd profile rc TZ tux-bf.gif

WEB_FILES-y =

 

ETC_FILES-$(CONFIG_NET) += hosts host.conf protocols services

ETC_FILES-$(CONFIG_USER_INETD_INETD) += inetd.conf

ETC_FILES-$(CONFIG_USER_BUSYBOX_INETD) += inetd.conf

 

ROMFS_DIRS-$(CONFIG_USER_BOA_SRC_BOA) += home/httpd home/httpd/cgi-bin etc/boa var/log/boa

ETC_FILES-$(CONFIG_USER_BOA_SRC_BOA) += boa.conf

WEB_FILES-$(CONFIG_USER_BOA_SRC_BOA) += boa.conf index.html tux-bf.gif tux-wink.gif tuxsit_small.gif favicon.ico

 

all::

 

romfs.post:: romfs.shared.libs

 

romfs::

    mkdir -p $(ROMFSDIR)

    cd $(ROMFSDIR) && mkdir -p $(ROMFS_DIRS-y)

    chmod 1777 $(ROMFSDIR)/tmp

    $(ROMFSINST) -s bin /sbin

 

    $(ROMFSINST) /etc/inittab

 

    set -e ; \

    for f in $(ETC_FILES-y) ; do \

        $(ROMFSINST) ../common/$$f /etc/$$f ; \

    done ; \

    for f in $(WEB_FILES-y) ; do \

        $(ROMFSINST) ../common/$$f /home/httpd/$$f ; \

    done

 

    echo "$(VERSIONSTR) -- `date`" > $(ROMFSDIR)/etc/version

ifeq ($(CONFIG_BLACKFIN_INSTALL_UCLINUX_CONFIG),y)

    gzip -9c $(ROOTDIR)/config/.config > $(ROMFSDIR)/root/uclinux-config.gz

    gzip -9c $(ROOTDIR)/.config > $(ROMFSDIR)/root/vendor-board-config.gz

endif

 

ifeq ($(CONFIG_USER_DEV_DYNAMIC),y)

DEVICE_TABLE = device_table-min.txt

else

ifeq ($(CONFIG_USER_BUSYBOX_MDEV),y)

$(warning )

$(warning You have busybox's mdev enabled.  The static device tree will be)

$(warning overridden during boot by a tmpfs in /dev.)

$(warning )

endif

DEVICE_TABLE = device_table.txt

endif

 

# these targets can be found in AnalogDevices/vendor.mak

image::

    mkdir -p $(IMAGEDIR)

    rm -rf $(IMAGEDIR)/*

 

    $(MAKE) image.rootfs.all

    $(MAKE) image.kernel.all

    $(MAKE) image.uimage.all

 

clean::

 

.PHONY: all clean image romfs

 

include ../../AnalogDevices/vendor.mak

 

 

Thanks for your response!

QuoteReplyEditDelete

 

 

2010-09-06 17:00:07     Re: Problem with compiling

Mike Frysinger (UNITED STATES)

Message: 93191   

 

just declare the variable the same as in the past

Attachments

    Outcomes