|Summary:||ASTERISK-11632: Failed to cross compile on arm|
|Reporter:||Ori Idan (oriidan)||Labels:|
|Date Opened:||2008-03-13 06:30:15||Date Closed:||2008-03-13 14:02:11|
|Description:||using ./configure --host=i686 --build=arm-linux-gnu|
CC environment variable was set to my cross compiler.
I got an error from configure that termcap is not installed.
I tried using the same configure line when CC was not set, the configure script was done without errors.
I then manually edited makeopts to set the path for my cross compiler and got the following error:
smsq.c:499: error: `POPT_BADOPTION_NOALIAS' undeclared (first use in this function)
****** ADDITIONAL INFORMATION ******
Host operating system: Ubuntu 7.10
Arm cross compiler arm-linux-gcc version 3.3.1
|Comments:||By: Brandon Kruse (bkruse) 2008-03-13 13:20:55|
I cross compiled for openmoko (arm) fine.
By: Ori Idan (oriidan) 2008-03-13 13:50:32
?How exactly did you do it?
I posted it as a question on asterisk-embedded mailing list few weeks ago and got no reply.
I have spent about 10 hours trying different ways and could not compile.
Perhaps there is something I am missing here and would be happy to know how it's done.
By: Jason Parker (jparker) 2008-03-13 13:51:24
This is a build system configuration issue. We cannot help you with that here.
By: Ori Idan (oriidan) 2008-03-13 13:54:33
Sorry that I do not understand.
What do you build system issue?
Asterisk can not be compiled on ARM so I think this is a bug.
If it can be compiled, please explain me what have I done wrong?
By: Brandon Kruse (bkruse) 2008-03-13 14:00:30
Please read up on cross-compiling. This is NOT a bug, and I just compiled it for the openmoko platform, with some tweaking. You will have to do this tweaking as your build environment is probably messed up somehow. I doubt that is the full log, look for missing include paths, etc.
By: Jason Parker (jparker) 2008-03-13 14:02:11
We are not going to go through every configuration option on your cross-toolchain to attempt to find the issue. There is nothing for us to fix.