Summary:ASTERISK-04406: Asterisk doesn't compile after CVS checkout
Reporter:gunde (gunde)Labels:
Date Opened:2005-06-13 09:14:29Date Closed:2011-06-07 14:02:55
Versions:Frequency of
Description:An installation of Asterisk 1.0.7 from tarballs downloaded via FTP works fine. After a CVS download today for the latest updates via command
# cvs checkout zaptel libpri asterisk
zaptel and libpri compiled and installed well, asterisk stopped though with the following error:

=== snip ===
chan_sip.c:36: internal compiler error: output_operand: invalid expression as operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.suse.de/feedback> for instructions.
{standard input}: Assembler messages:
{standard input}:148310: Warning: partial line at end of file ignored
Preprocessed source stored into /tmp/ccbflXC6.out file, please attach this to your bugreport.
make[1]: *** [chan_sip.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk/channels'
make: *** [subdirs] Error 1


OS: Suse 9.3 Professional, Kernel 2.6
gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
Comments:By: Russell Bryant (russell) 2005-06-13 09:44:19

The message you are seeing is an error internal to the compiler.  You can try updating your compiler.  If you still have the same problem, please pursue this bug report through your distribution of Linux, as suggested by the output.

By: gunde (gunde) 2005-06-13 10:11:46

The compiler seems perfectly adequate for the stable release, if there is a special requirement for a specific version or later of the compiler, shouldn't that be documented somewhere?

By: Michael Jerris (mikej) 2005-06-13 10:25:59

You are using a prerelease compiler:  gcc (GCC) 3.3.5 20050117 (prerelease).  The error message clearly says that.  Try the latest stable release of the compiler for your distro, again, this appears to be a bug in your compiler.  Asterisk is known to compile fine with many compilers from GCC 2.95-4.0.