LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-13-2013, 03:12 AM   #1
niti gupta
LQ Newbie
 
Registered: Nov 2013
Posts: 1

Rep: Reputation: Disabled
is configure.ac dependent upon the hardware


I am new in Linux. Currently I am working in porting of Sipxtapi (http://sipxtapi.sipfoundry.org/wiki/SipXtapi) on Xilinx arm with platform linux.
Sipxtapi is an open source for SIP-based user agents. It contains following six libraries
(1) sipXportLib
(2) sipXsdpLib
(3) sipxtacklib
(4) sipxmediaLib
(5) sipxmediainterfaceLib
(6) sipXcalllib
(7) sipxtapilib

I am able to port it on linux (having intel) using the instructions given over here https://code.google.com/p/sipxtapi/wiki/Compilation.

for example : in order to build sipXportlib I have the do the following

cd sipXportLib
dos2unix configure.ac
autoreconf -fi
./configure --prefix=/tmp/stage
make;make install
cd ..

But I try to follow the same instructions on Xilinx arm, while executing ./configure --prefix=/tmp/stage, i am getting following errors
checking for gcc option to accept ISO C89... ./configure: line 1512: as_fn_set_status: command not found
./configure: line 1512: as_fn_set_status: command not found
./configure: line 1512: as_fn_set_status: command not found
./configure: line 1512: as_fn_set_status: command not found
./configure: line 1512: as_fn_set_status: command not found
./configure: line 1512: as_fn_set_status: command not found
./configure: line 1512: as_fn_set_status: command not found
./configure: line 1512: as_fn_set_status: command not found
unsupported
sys/time.h
checking for uid_t in sys/types.h... checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
yes
checking for working volatile... checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes./configure: line 1512: as_fn_set_status: command not found
no
checking whether closedir returns void... ./configure: line 1668: as_fn_set_status: command not found
yes
checking for pid_t... ./configure: line 1512: as_fn_set_status: command not found
no
checking vfork.h usability... ./configure: line 1512: as_fn_set_status: command not found

I am failing to understand this. Either it is related to arm or something or I need to modify something in configure.ac which is related to arm
Also is configure.ac related to hardware?
I am completely a begginner and completely stuck over here.
Kindly help to solve this issue
 
Old 11-13-2013, 10:09 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
A question
"dos2unix configure.ac"

dos2unix ???

did you edit the M4 macro files like the autotools configure config file(configure.ac) on a windows OS ?

editing linux files on a windows Operating system is NOT recommended

Are the other autotools macro files also present in the build folder ?

and what is on line 1512 of the generated "configure" file
./configure: line 1512:


the autools m4 macros are hardware dependent and system dependent


also what compiler are you using on both and what versions are they
code wrote for gcc 4.1 will not likely build with gcc 4.8

Last edited by John VV; 11-13-2013 at 10:10 PM.
 
Old 11-14-2013, 03:02 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
It looks like you're missing a necessary header file from a certain library that supplies as_fn_set_status function, or an alias to it. Or, as_fn_set_status could be a function that is supplied but it is calling a program that is not in the path. config.log is the log from the config program. You can look in it to find what's going on. The build tools, or tool-chain, is a little different from architecture to architecture, because the processors on different platforms use unique commands.

ARM, which is RISC ( Reduced Instruction Set Computing ) uses certain compiler-based optimizations that CISC ( Complex Instruction Set Computing ), i.e. Intel processors, do not use. So, I guess config.ac is tool-chain dependent and the tool chain is platform dependent.
 
  


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
configure path for dependent rpm packages for building source rpm package embeddedlinuxforall Linux - Newbie 1 03-01-2013 11:39 AM
Device Driver - Hardware Dependent dlh Linux - Kernel 2 06-26-2012 08:16 AM
[SOLVED] Is hardware support kernel dependent? win_to_lin_migrant Linux - General 11 01-05-2012 03:51 PM
[SOLVED] int size is compiler dependent or OS dependent tarunchawla Programming 4 11-30-2011 03:46 AM
how do you configure hardware without kudzu? thrice Slackware 16 08-15-2003 04:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:46 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