Summary:ASTERISK-14497: Asterisk fails to cross-compile (ppc-target)
Reporter:Florian Floimair (ffloimair)Labels:
Date Opened:2009-07-20 07:47:25Date Closed:2011-06-07 14:07:53
Versions:Frequency of
Description:Compilation always stops with an error in main/version.c
It seems that the compiler cannot find include/asterisk.h so there is probably a path problem.

If I try to fix this manually by editing the include path this causes further includes from asterisk.h itself to be not found.

Maybe you have an idea, what to do here. It's probably just a small thing to fix.


  [CC] version.c -> version.o
In file included from editline.c:8:
el.c: In function 'el_get':
el.c:284: warning: dereferencing type-punned pointer will break strict-aliasing rules
el.c:288: warning: dereferencing type-punned pointer will break strict-aliasing rules
readline.c:39:22: error: asterisk.h: No such file or directory
make[2]: *** [readline.o_a] Fehler 1
make[1]: *** [editline/libedit.a] Fehler 2
make: *** [main] Fehler 2
Comments:By: Florian Floimair (ffloimair) 2009-08-17 01:45:54

any ideas for this? Please let me know if I need to provide more info.

By: Leif Madsen (lmadsen) 2009-08-17 07:54:51

This is pretty low on the priority list. When it works its way up to being higher priority it will get more attention I'm sure.

By: Florian Floimair (ffloimair) 2010-02-23 06:50:38.000-0600

I had a misconfiguration in my cross-compilation scripts. The issue is not in Asterisk, but in my script.
Please close this issue and sorry for the inconvenience.

By: Leif Madsen (lmadsen) 2010-02-24 09:50:43.000-0600

Closed per the reporter. Thanks for following up!