[linux-audio-dev] compiler problem?

Gene Heskett gene.heskett at verizon.net
Fri May 26 10:05:56 UTC 2006


Greetings;

Since I can't get any of the common VoIP things to work due to a lack of 
duplex function in my lappy's chipset, and my inability to convince the 
person bugtrack assigned to my bugzilla entry that its not my fault, I 
thought I'd try zfone next.

Unforch, the first step, ./configure, fails with 2 stanza's of this:
checking linux/byteorder/little_endian.h usability... no
checking linux/byteorder/little_endian.h presence... yes
configure: WARNING: linux/byteorder/little_endian.h: present but cannot 
be compiled
configure: WARNING: linux/byteorder/little_endian.h:     check for 
missing prerequisite headers?
configure: WARNING: linux/byteorder/little_endian.h: see the Autoconf 
documentation
configure: WARNING: linux/byteorder/little_endian.h:     section 
"Present But Cannot Be Compiled"
configure: WARNING: linux/byteorder/little_endian.h: proceeding with the 
preprocessor's result
configure: WARNING: linux/byteorder/little_endian.h: in the future, the 
compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for linux/byteorder/little_endian.h... yes
checking linux/byteorder/big_endian.h usability... no
checking linux/byteorder/big_endian.h presence... yes
configure: WARNING: linux/byteorder/big_endian.h: present but cannot be 
compiled
configure: WARNING: linux/byteorder/big_endian.h:     check for missing 
prerequisite headers?
configure: WARNING: linux/byteorder/big_endian.h: see the Autoconf 
documentation
configure: WARNING: linux/byteorder/big_endian.h:     section "Present 
But Cannot Be Compiled"
configure: WARNING: linux/byteorder/big_endian.h: proceeding with the 
preprocessor's result
configure: WARNING: linux/byteorder/big_endian.h: in the future, the 
compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for linux/byteorder/big_endian.h... yes

I've googled in vain for a solution as the make also fails later:

gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../include -I../bnlib/ 
-I../srtp/include -I../srtp/crypto/include    -Wno-unused -g -O2 -c -o 
base32.o `test -f './base32.c' || echo './'`./base32.c
In file included from ../srtp/crypto/include/datatypes.h:60,
                  from ../srtp/crypto/include/err.h:49,
                  from ../srtp/crypto/include/rand_source.h:49,
                  from ../srtp/crypto/include/crypto_kernel.h:49,
                  from ../srtp/include/srtp.h:53,
                  from ../include/zrtp_protocol.h:13,
                  from ../include/zrtp_types.h:184,
                  from ./base32.c:7:
/usr/include/netinet/in.h:354: error: expected declaration specifiers or 
‘...’ before ‘(’ token
/usr/include/netinet/in.h:354: error: expected ‘)’ before ‘?’ token
/usr/include/netinet/in.h:355: error: expected declaration specifiers or 
‘...’ before ‘(’ token
/usr/include/netinet/in.h:355: error: expected ‘)’ before ‘?’ token
/usr/include/netinet/in.h:357: error: expected declaration specifiers or 
‘...’ before ‘(’ token
/usr/include/netinet/in.h:357: error: expected ‘)’ before ‘?’ token
/usr/include/netinet/in.h:359: error: expected declaration specifiers or 
‘...’ before ‘(’ token
/usr/include/netinet/in.h:359: error: expected ‘)’ before ‘?’ token
./base32.c: In function ‘b2a’:
./base32.c:59: warning: comparison of distinct pointer types lacks a cast
make[1]: *** [base32.o] Error 1
make[1]: Leaving directory `/usr/src/Zfone/libzrtp-0.2.0/src'
make: *** [all-recursive] Error 1

This is after outputting dozens of warnings about 'too many arguments 
for function'

Phil Zimmerman's code is usually of quite high quality...


-- 
Cheers, Gene




More information about the Linux-audio-dev mailing list