Summary:ASTERISK-17601: Error during configure Script and make
Reporter:Sven Limbach (slimbach)Labels:
Date Opened:2011-03-24 06:56:55Date Closed:2011-06-07 14:04:54
Versions:1.4.40 Frequency of
Description:checking sys/capability.h presence... yes
configure: WARNING: sys/capability.h: present but cannot be compiled
configure: WARNING: sys/capability.h:     check for missing prerequisite headers?
configure: WARNING: sys/capability.h: see the Autoconf documentation
configure: WARNING: sys/capability.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/capability.h: proceeding with the preprocessor's result
configure: WARNING: sys/capability.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to https://issues.asterisk.org ##
configure: WARNING:     ## ------------------------------------------ ##


[root@ontrackdev1 asterisk-1.4.40]# make
CC="cc" CXX="" LD="" AR="" RANLIB="" CFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[1]: Entering directory `/opt/oracle/install/asterisk/asterisk-1.4.40/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/opt/oracle/install/asterisk/asterisk-1.4.40/menuselect'
Generating embedded module rules ...
  [CC] astman.c -> astman.o
  [CC] md5.c -> md5.o
  [LD] astman.o md5.o -> astman
  [CC] smsq.c -> smsq.o
  [CC] strcompat.c -> strcompat.o
  [LD] smsq.o strcompat.o -> smsq
  [CC] stereorize.c -> stereorize.o
  [CC] frame.c -> frame.o
  [LD] stereorize.o frame.o -> stereorize
  [CC] streamplayer.c -> streamplayer.o
  [LD] streamplayer.o -> streamplayer
  [CC] aelparse.c -> aelparse.o
  [CC] aelbison.c -> aelbison.o
  [CC] pbx_ael.c -> pbx_ael.o
  [CC] ael_main.c -> ael_main.o
  [CC] ast_expr2f.c -> ast_expr2f.o
  [CC] ast_expr2.c -> ast_expr2.o
  [LD] aelparse.o aelbison.o pbx_ael.o ael_main.o ast_expr2f.o ast_expr2.o strcompat.o -> aelparse
  [CC] muted.c -> muted.o
  [LD] muted.o -> muted
  [CC] eagi-test.c -> eagi-test.o
  [CC] strcompat.c -> strcompat.o
  [LD] eagi-test.o strcompat.o -> eagi-test
  [CC] eagi-sphinx-test.c -> eagi-sphinx-test.o
  [LD] eagi-sphinx-test.o -> eagi-sphinx-test
  [CC] res_adsi.c -> res_adsi.o
  [LD] res_adsi.o -> res_adsi.so
  [CC] res_agi.c -> res_agi.o
In file included from /usr/include/sys/capability.h:34,
                from res_agi.c:52:
/usr/include/linux/capability.h:73: error: expected specifier-qualifier-list before ‘__le32’
make[1]: *** [res_agi.o] Error 1
make: *** [res] Error 2
Comments:By: Paul Belanger (pabelanger) 2011-03-25 22:07:02

Your report is lacking information (see below). Please attach a copy of your config.log

Thank you for taking the time to report this bug and helping to make Asterisk better.

Unfortunately, we cannot work on this bug because your description did not include enough information.

You may find it helpful to read the Asterisk Issue Guidelines http://www.asterisk.org/developers/bug-guidelines.

We would be grateful if you would then provide a more complete description of the problem.

By: Leif Madsen (lmadsen) 2011-04-05 11:07:28

You're definitely going to need to provide information like the GCC version, the platform you're running on, and all that good stuff so we can reproduce the issue.

By: Leif Madsen (lmadsen) 2011-04-19 10:02:49

Closed due to lack of response from reporter.