[Home]

Summary:ASTERISK-13634: problems building asterisk 1.6.0.6
Reporter:Tamer Higazi (tameritoke)Labels:
Date Opened:2009-02-23 18:44:04.000-0600Date Closed:2009-03-10 15:18:29
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/Configuration
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hi!
I have problems building asterisk 1.6.0.6.

./configure --prefix=/usr
make

gets me:

enerating embedded module rules ...
  [CC] extconf.c -> extconf.o
In file included from /usr/local/include/datatypes.h:50,
                from /usr/local/include/err.h:49,
                from extconf.c:45:
/usr/local/include/integers.h:50:67: error: srtp_config.h: No such file
or directory
In file included from /usr/local/include/datatypes.h:50,
                from /usr/local/include/err.h:49,
                from extconf.c:45:
/usr/local/include/integers.h:103: error: conflicting types for 'uint64_t'
/usr/include/stdint.h:56: error: previous declaration of 'uint64_t' was here
make[1]: *** [extconf.o] Error 1
make: *** [utils] Error 2


Now, I think this is only a dependency problem. could anyone of you tell
me, which and where I am able to get the missing sources to successfully
compile asterisk?!

However, after I downloaded and installed the SVN srtp libraries I couldn't compile asterisk still.


Tamer
Comments:By: Tamer Higazi (tameritoke) 2009-02-24 02:57:50.000-0600

I installed before the error came the latest librtp from source

and it doesn't matter if I run the configure script with/without the prefix. Always the same error.


Tamer

By: Tilghman Lesher (tilghman) 2009-02-24 12:00:22.000-0600

Try:

mv /usr/local /usr/local2

and recompile.  It seems that the library installed in that directory is screwing up your installation of other packages.

By: Tamer Higazi (tameritoke) 2009-02-24 12:24:29.000-0600

I took out the partition from /etc/fstab, rebooted the machine and renamed /usr/local => /usr/local2 and the result is the same as before only with "/usr" instead of "/usr/local"


Output:

In file included from /usr/include/datatypes.h:50,
                from /usr/include/err.h:49,
                from extconf.c:45:
/usr/include/integers.h:50:67: error: srtp_config.h: No such file or directory
In file included from /usr/include/datatypes.h:50,
                from /usr/include/err.h:49,
                from extconf.c:45:
/usr/include/integers.h:103: error: conflicting types for 'uint64_t'
/usr/include/stdint.h:56: error: previous declaration of 'uint64_t' was here
make[1]: *** [extconf.o] Error 1
make: *** [utils] Error 2

By: Joshua C. Colp (jcolp) 2009-03-10 15:18:29

I'm closing this as it is outside of our control and not a problem with Asterisk. Your include directories have been tainted with header files from srtp and they are being used in place of some other critical ones. I suggest you reinstall or try to wipe out the srtp files somehow.