Bug 127868

Summary: irda: compilation errors
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Stanislav Brabec <sbrabec>
Component: ConsoleAppsAssignee: Christian Zoz <zoz>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Stanislav Brabec 2005-10-12 16:48:12 UTC
Compiling irda on x86_64, I got follwing build errors. Note that RPM is created
from the rest, even if error occurs.

Note that the bug is unrelated to my last submit (use of glib2).

make[1]: Entering directory `/usr/src/packages/BUILD/irda-utils-0.9.16/tekram'
gcc -O2 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -I/usr/src/linux/include
-I/usr/include -I../include -Wall -Wstrict-prototypes -I/usr/src/linux/include
-I/usr/include -I../include -c irkbd.c
In file included from /usr/include/asm-x86_64/byteorder.h:31,
                 from /usr/include/asm/byteorder.h:4,
                 from irkbd.c:48:
/usr/include/linux/byteorder/little_endian.h:43: error: syntax error before
'__cpu_to_le64p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_le64p':
/usr/include/linux/byteorder/little_endian.h:45: error: '__le64' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h:45: error: (Each undeclared
identifier is reported only once
/usr/include/linux/byteorder/little_endian.h:45: error: for each function it
appears in.)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:47: error: syntax error before '*'
token
/usr/include/linux/byteorder/little_endian.h: In function '__le64_to_cpup':
/usr/include/linux/byteorder/little_endian.h:49: error: 'p' undeclared (first
use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:51: error: syntax error before
'__cpu_to_le32p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_le32p':
/usr/include/linux/byteorder/little_endian.h:53: error: '__le32' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:55: error: syntax error before '*'
token
/usr/include/linux/byteorder/little_endian.h: In function '__le32_to_cpup':
/usr/include/linux/byteorder/little_endian.h:57: error: 'p' undeclared (first
use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:59: error: syntax error before
'__cpu_to_le16p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_le16p':
/usr/include/linux/byteorder/little_endian.h:61: error: '__le16' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:63: error: syntax error before '*'
token
/usr/include/linux/byteorder/little_endian.h: In function '__le16_to_cpup':
/usr/include/linux/byteorder/little_endian.h:65: error: 'p' undeclared (first
use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:67: error: syntax error before
'__cpu_to_be64p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_be64p':
/usr/include/linux/byteorder/little_endian.h:69: error: '__be64' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h:69: error: syntax error before
'__swab64p'
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:71: error: syntax error before '*'
token
/usr/include/linux/byteorder/little_endian.h: In function '__be64_to_cpup':
/usr/include/linux/byteorder/little_endian.h:73: error: 'p' undeclared (first
use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:75: error: syntax error before
'__cpu_to_be32p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_be32p':
/usr/include/linux/byteorder/little_endian.h:77: error: '__be32' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h:77: error: syntax error before
'__swab32p'
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:79: error: syntax error before '*'
token
/usr/include/linux/byteorder/little_endian.h: In function '__be32_to_cpup':
/usr/include/linux/byteorder/little_endian.h:81: error: 'p' undeclared (first
use in this function)
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:83: error: syntax error before
'__cpu_to_be16p'
/usr/include/linux/byteorder/little_endian.h: In function '__cpu_to_be16p':
/usr/include/linux/byteorder/little_endian.h:85: error: '__be16' undeclared
(first use in this function)
/usr/include/linux/byteorder/little_endian.h:85: error: syntax error before
'__swab16p'
/usr/include/linux/byteorder/little_endian.h: At top level:
/usr/include/linux/byteorder/little_endian.h:87: error: syntax error before '*'
token
/usr/include/linux/byteorder/little_endian.h: In function '__be16_to_cpup':
/usr/include/linux/byteorder/little_endian.h:89: error: 'p' undeclared (first
use in this function)
irkbd.c: In function 'irkbd_discover_devices':
irkbd.c:139: warning: pointer targets in passing argument 5 of 'getsockopt'
differ in signedness
irkbd.c: In function 'irkbd_connect_request':
irkbd.c:206: warning: pointer targets in passing argument 5 of 'getsockopt'
differ in signedness
irkbd.c: In function 'irkbd_handle_response':
irkbd.c:289: error: syntax error before string constant
make[1]: *** [irkbd.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/irda-utils-0.9.16/tekram'
Comment 1 Stefan Scheler 2006-01-31 13:21:03 UTC
fixed