LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 08-06-2010, 04:51 AM   #1
sundar007
LQ Newbie
 
Registered: Jun 2010
Posts: 5

Rep: Reputation: 0
ucasterisk compilation problem


we are at a state of compilation of ucasterisk for a voip based project
when we are about to build the package we get into error follows.........


[root@localhost uCasterisk-0.1.9]# make
make -C package/libtool compile
make[1]: Entering directory `/root/Desktop/uCasterisk-0.1.9/package/libtool'
make[1]: Nothing to be done for `compile'.
make[1]: Leaving directory `/root/Desktop/uCasterisk-0.1.9/package/libtool'
make -C package/zlib compile
make[1]: Entering directory `/root/Desktop/uCasterisk-0.1.9/package/zlib'
make[1]: Nothing to be done for `compile'.
make[1]: Leaving directory `/root/Desktop/uCasterisk-0.1.9/package/zlib'
make -C package/openssl compile
make[1]: Entering directory `/root/Desktop/uCasterisk-0.1.9/package/openssl'
make[1]: Nothing to be done for `compile'.
make[1]: Leaving directory `/root/Desktop/uCasterisk-0.1.9/package/openssl'
make -C package/ncurses compile
make[1]: Entering directory `/root/Desktop/uCasterisk-0.1.9/package/ncurses'
make[1]: Nothing to be done for `compile'.
make[1]: Leaving directory `/root/Desktop/uCasterisk-0.1.9/package/ncurses'
make -C src
make[1]: Entering directory `/root/Desktop/uCasterisk-0.1.9/src'
make -C /home/david/uClinux-dist \
EXTRA_CFLAGS=-I/root/Desktop/uCasterisk-0.1.9/include \
SUBDIRS=/root/Desktop/uCasterisk-0.1.9 modules
make[2]: Entering directory `/home/david/uClinux-dist'
. linux-2.6.x/.config; if [ "$CONFIG_MODULES" = "y" ]; then \
[ -d linux-2.6.x/modules ] || mkdir linux-2.6.x/modules; \
make ARCH=blackfin CROSS_COMPILE=bfin-uclinux- -C linux-2.6.x modules; \
fi
make[3]: Entering directory `/home/david/uClinux-dist/linux-2.6.x'
Building modules, stage 2.
MODPOST 0 modules
make[3]: Leaving directory `/home/david/uClinux-dist/linux-2.6.x'
make[2]: Leaving directory `/home/david/uClinux-dist'
make[1]: Leaving directory `/root/Desktop/uCasterisk-0.1.9/src'
make -C package/zaptel compile
make[1]: Entering directory `/root/Desktop/uCasterisk-0.1.9/package/zaptel'
make -C "/root/Desktop/uCasterisk-0.1.9/build-bfin-uclinux/zaptel-1.2.11" \
OPTIMIZE=" " \
KSRC="/home/david/uClinux-dist/linux-2.6.x" \
HOSTCC="gcc" \
PATH=/opt/uClinux/bfin-uclinux/bin:/bin:/sbin:/usr/bin:/usr/sbin AR=/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-ar AS=/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-as LD=/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-ld NM=/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-nm CC=/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc GCC=/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc CXX=/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-g++ RANLIB=/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-ranlib \
LDFLAGS_EXTRA="-Wl,-elf2flt"
make[2]: Entering directory `/root/Desktop/uCasterisk-0.1.9/build-bfin-uclinux/zaptel-1.2.11'
ZAPTELVERSION="1.2.11" build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else \
mv version.h.tmp version.h ; \
fi

rm -f version.h.tmp
/opt/uClinux/bfin-uclinux/bin/bfin-uclinux-gcc -I. -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" -DHOTPLUG_FIRMWARE -c -o zttool.o zttool.c
zttool.c:135: error: expected ‘)’ before ‘spans’
zttool.c:156: error: expected ‘)’ before ‘c’
zttool.c:175: error: expected declaration specifiers or ‘...’ before ‘newtComponent’
zttool.c:175: error: expected declaration specifiers or ‘...’ before ‘newtComponent’
zttool.c:175: error: expected declaration specifiers or ‘...’ before ‘newtComponent’
zttool.c:175: error: expected declaration specifiers or ‘...’ before ‘newtComponent’
zttool.c:176: error: expected declaration specifiers or ‘...’ before ‘newtComponent’
zttool.c:176: error: expected declaration specifiers or ‘...’ before ‘newtComponent’
zttool.c:176: error: expected declaration specifiers or ‘...’ before ‘newtComponent’
zttool.c: In function ‘show_bits’:
zttool.c:271: warning: implicit declaration of function ‘newtTextboxSetText’
zttool.c:271: error: ‘bitbox’ undeclared (first use in this function)
zttool.c:271: error: (Each undeclared identifier is reported only once
zttool.c:271: error: for each function it appears in.)
zttool.c:273: error: ‘inuse’ undeclared (first use in this function)
zttool.c:277: error: ‘levels’ undeclared (first use in this function)
zttool.c:279: error: ‘bpvcount’ undeclared (first use in this function)
zttool.c:281: error: ‘irqmisses’ undeclared (first use in this function)
zttool.c:282: error: ‘alarms’ undeclared (first use in this function)
zttool.c:287: error: ‘syncsrc’ undeclared (first use in this function)
zttool.c: In function ‘do_loop’:
zttool.c:294: error: ‘newtComponent’ undeclared (first use in this function)
zttool.c:294: error: expected ‘;’ before ‘form’
zttool.c:295: error: expected ‘;’ before ‘label’
zttool.c:299: error: storage size of ‘es’ isn’t known
zttool.c:301: warning: implicit declaration of function ‘newtOpenWindow’
zttool.c:303: error: ‘form’ undeclared (first use in this function)
zttool.c:303: warning: implicit declaration of function ‘newtForm’
zttool.c:313: error: ‘label’ undeclared (first use in this function)
zttool.c:313: warning: implicit declaration of function ‘newtLabel’
zttool.c:314: warning: implicit declaration of function ‘newtFormAddComponent’
zttool.c:315: warning: implicit declaration of function ‘newtPushHelpLine’
zttool.c:317: warning: implicit declaration of function ‘newtFormSetTimer’
zttool.c:318: warning: implicit declaration of function ‘newtFormRun’
zttool.c:320: warning: implicit declaration of function ‘newtFormDestroy’
zttool.c:321: warning: implicit declaration of function ‘newtPopWindow’
zttool.c:322: warning: implicit declaration of function ‘newtPopHelpLine’
zttool.c:299: warning: unused variable ‘es’
zttool.c: At top level:
zttool.c:325: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘spans’
zttool.c: In function ‘show_span’:
zttool.c:328: error: ‘newtComponent’ undeclared (first use in this function)
zttool.c:328: error: expected ‘;’ before ‘form’
zttool.c:329: error: expected ‘;’ before ‘back’
zttool.c:330: error: expected ‘;’ before ‘loop’
zttool.c:331: error: expected ‘;’ before ‘label’
zttool.c:332: error: expected ‘;’ before ‘bitbox’
zttool.c:333: error: expected ‘;’ before ‘inuse’
zttool.c:334: error: expected ‘;’ before ‘levels’
zttool.c:335: error: expected ‘;’ before ‘bpvcount’
zttool.c:336: error: expected ‘;’ before ‘alarms’
zttool.c:337: error: expected ‘;’ before ‘syncsrc’
zttool.c:338: error: expected ‘;’ before ‘irqmisses’
zttool.c:344: error: storage size of ‘es’ isn’t known
zttool.c:351: warning: implicit declaration of function ‘newtListboxGetCurrent’
zttool.c:351: error: ‘spans’ undeclared (first use in this function)
zttool.c:351: warning: assignment makes pointer from integer without a cast
zttool.c:361: error: ‘back’ undeclared (first use in this function)
zttool.c:361: warning: implicit declaration of function ‘newtButton’
zttool.c:362: error: ‘loop’ undeclared (first use in this function)
zttool.c:363: error: ‘form’ undeclared (first use in this function)
zttool.c:365: warning: implicit declaration of function ‘newtFormAddComponents’
zttool.c:374: error: ‘bitbox’ undeclared (first use in this function)
zttool.c:374: warning: implicit declaration of function ‘newtTextbox’
zttool.c:377: error: ‘label’ undeclared (first use in this function)
zttool.c:383: warning: implicit declaration of function ‘newtFormAddHotKey’
zttool.c:383: error: ‘NEWT_KEY_F10’ undeclared (first use in this function)
zttool.c:414: error: ‘inuse’ undeclared (first use in this function)
zttool.c:420: error: ‘levels’ undeclared (first use in this function)
zttool.c:426: error: ‘bpvcount’ undeclared (first use in this function)
zttool.c:432: error: ‘irqmisses’ undeclared (first use in this function)
zttool.c:438: error: ‘syncsrc’ undeclared (first use in this function)
zttool.c:444: error: ‘alarms’ undeclared (first use in this function)
zttool.c:450: warning: implicit declaration of function ‘add_cards’
zttool.c:451: error: too many arguments to function ‘show_bits’
zttool.c:453: error: ‘NEWT_EXIT_TIMER’ undeclared (first use in this function)
zttool.c:455: error: ‘NEWT_EXIT_COMPONENT’ undeclared (first use in this function)
zttool.c:465: error: ‘NEWT_EXIT_HOTKEY’ undeclared (first use in this function)
zttool.c:344: warning: unused variable ‘es’
zttool.c: In function ‘show_spans’:
zttool.c:489: error: ‘newtComponent’ undeclared (first use in this function)
zttool.c:489: error: expected ‘;’ before ‘form’
zttool.c:490: error: expected ‘;’ before ‘quit’
zttool.c:491: error: expected ‘;’ before ‘label’
zttool.c:492: error: expected ‘;’ before ‘sel’
zttool.c:495: error: storage size of ‘es’ isn’t known
zttool.c:498: error: ‘quit’ undeclared (first use in this function)
zttool.c:499: error: ‘sel’ undeclared (first use in this function)
zttool.c:501: error: ‘spans’ undeclared (first use in this function)
zttool.c:501: warning: implicit declaration of function ‘newtListbox’
zttool.c:501: error: ‘NEWT_FLAG_SCROLL’ undeclared (first use in this function)
zttool.c:502: warning: implicit declaration of function ‘newtListboxSetWidth’
zttool.c:504: error: ‘label’ undeclared (first use in this function)
zttool.c:506: warning: implicit declaration of function ‘newtCenteredWindow’
zttool.c:507: error: ‘form’ undeclared (first use in this function)
zttool.c:513: warning: implicit declaration of function ‘newtComponentAddCallback’
zttool.c:513: error: ‘sel_callback’ undeclared (first use in this function)
zttool.c:515: error: ‘NEWT_KEY_F1’ undeclared (first use in this function)
zttool.c:516: error: ‘NEWT_KEY_F10’ undeclared (first use in this function)
zttool.c:523: error: ‘NEWT_EXIT_TIMER’ undeclared (first use in this function)
zttool.c:526: error: ‘NEWT_EXIT_COMPONENT’ undeclared (first use in this function)
zttool.c:535: error: ‘NEWT_EXIT_HOTKEY’ undeclared (first use in this function)
zttool.c:495: warning: unused variable ‘es’
zttool.c: In function ‘main’:
zttool.c:564: warning: implicit declaration of function ‘newtInit’
zttool.c:565: warning: implicit declaration of function ‘newtCls’
zttool.c:567: warning: implicit declaration of function ‘newtDrawRootText’
zttool.c:571: warning: implicit declaration of function ‘newtFinished’
make[2]: *** [zttool.o] Error 1
make[2]: Leaving directory `/root/Desktop/uCasterisk-0.1.9/build-bfin-uclinux/zaptel-1.2.11'
make[1]: *** [/root/Desktop/uCasterisk-0.1.9/build-bfin-uclinux/zaptel-1.2.11/.built] Error 2
make[1]: Leaving directory `/root/Desktop/uCasterisk-0.1.9/package/zaptel'
make: *** [all] Error 2



kindly do the clarification.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation problem rania kamal Linux - Newbie 4 10-08-2008 01:06 PM
compilation problem rania kamal Linux - General 1 09-28-2008 01:57 AM
compilation problem shariefbe Linux - Software 6 08-18-2008 09:12 AM
C++ Compilation problem with G++ nelnel Programming 6 07-06-2005 09:58 PM
Compilation Problem jonty_11 Programming 4 03-24-2005 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 12:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration