WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Myoung 2.6.32 Kernel on CentOS5

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Myoung 2.6.32 Kernel on CentOS5
From: Juergen Gotteswinter <jg@xxxxxxxxxxxx>
Date: Thu, 23 Dec 2010 14:49:45 +0100
Delivery-date: Thu, 23 Dec 2010 05:53:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Reply-to: jg@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
Hello,

i try to rebuild myoungs fedora 12 kernel on centos, the complete development packages are installed but i run into this while rebuilding the rpm:

+ head -1 .config
++ cut -b 3-
+ Arch=x86_64
+ make ARCH=x86_64 nonint_oldconfig
In file included from scripts/basic/fixdep.c:106:
/usr/include/sys/types.h:27:22: error: features.h: No such file or directory
In file included from /usr/include/bits/types.h:31,
                 from /usr/include/sys/types.h:31,
                 from scripts/basic/fixdep.c:106:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h:214: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/include/sys/types.h:133:18: error: time.h: No such file or directory
/usr/include/sys/types.h:158:20: error: missing binary operator before token "("
In file included from scripts/basic/fixdep.c:107:
/usr/include/sys/stat.h:103: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__BEGIN_DECLS'
In file included from scripts/basic/fixdep.c:107:
/usr/include/sys/stat.h: In function 'stat':
/usr/include/sys/stat.h:208: error: expected declaration specifiers before '__THROW' /usr/include/sys/stat.h:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:281: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:307: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:317: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:346: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:381: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:383: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:385: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:388: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:424: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/stat.h:428: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
/usr/include/sys/stat.h:434: error: expected ')' before '(' token
/usr/include/sys/stat.h:448: error: expected ')' before '(' token
/usr/include/sys/stat.h:515: error: expected declaration specifiers before '__END_DECLS'
In file included from scripts/basic/fixdep.c:108:
/usr/include/sys/mman.h:77: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/mman.h:82: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/mman.h:90: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:90: error: storage class specified for parameter 'msync' /usr/include/sys/mman.h:104: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:104: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/mman.h:107: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/mman.h:112: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/mman.h:116: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/mman.h:145: error: storage class specified for parameter 'shm_open' /usr/include/sys/mman.h:148: error: storage class specified for parameter 'shm_unlink' /usr/include/sys/mman.h:150: error: expected declaration specifiers before '__END_DECLS'
scripts/basic/fixdep.c:109:20: error: unistd.h: No such file or directory
scripts/basic/fixdep.c:110:19: error: fcntl.h: No such file or directory
scripts/basic/fixdep.c:111:20: error: string.h: No such file or directory
scripts/basic/fixdep.c:112:20: error: stdlib.h: No such file or directory
scripts/basic/fixdep.c:113:19: error: stdio.h: No such file or directory
In file included from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h:11,
                 from scripts/basic/fixdep.c:114:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
scripts/basic/fixdep.c:115:19: error: ctype.h: No such file or directory
In file included from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/netinet/in.h:23:20: error: stdint.h: No such file or directory
In file included from /usr/include/sys/uio.h:29,
                 from /usr/include/sys/socket.h:27,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/bits/uio.h:48: error: expected declaration specifiers before ';' token
In file included from /usr/include/sys/socket.h:27,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/sys/uio.h:40: error: storage class specified for parameter 'readv' /usr/include/sys/uio.h:50: error: storage class specified for parameter 'writev' /usr/include/sys/uio.h:52: error: expected declaration specifiers before '__END_DECLS'
In file included from /usr/include/bits/socket.h:142,
                 from /usr/include/sys/socket.h:35,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/bits/sockaddr.h:29: error: storage class specified for parameter 'sa_family_t'
In file included from /usr/include/sys/socket.h:35,
                 from /usr/include/netinet/in.h:24,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/bits/socket.h:147: error: expected specifier-qualifier-list before 'sa_family_t' /usr/include/bits/socket.h:164: error: expected specifier-qualifier-list before 'sa_family_t' /usr/include/bits/socket.h:218: error: expected specifier-qualifier-list before 'socklen_t' /usr/include/bits/socket.h:235: error: expected specifier-qualifier-list before 'size_t' /usr/include/bits/socket.h:264: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW'
In file included from /usr/include/netinet/in.h:24,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/sys/socket.h:65:43: error: missing binary operator before token "("
In file included from /usr/include/netinet/in.h:24,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/sys/socket.h:88: error: storage class specified for parameter '__SOCKADDR_ARG' /usr/include/sys/socket.h:92: error: storage class specified for parameter '__CONST_SOCKADDR_ARG' /usr/include/sys/socket.h:100: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/socket.h:107: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/socket.h:110: error: expected declaration specifiers or '...' before '__CONST_SOCKADDR_ARG' /usr/include/sys/socket.h:110: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/sys/socket.h:111: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/socket.h:114: error: expected declaration specifiers or '...' before '__SOCKADDR_ARG' /usr/include/sys/socket.h:115: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/sys/socket.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/socket.h:124: error: expected declaration specifiers or '...' before '__CONST_SOCKADDR_ARG' /usr/include/sys/socket.h:124: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/sys/socket.h:124: error: storage class specified for parameter 'connect' /usr/include/sys/socket.h:128: error: expected declaration specifiers or '...' before '__SOCKADDR_ARG' /usr/include/sys/socket.h:129: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/sys/socket.h:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/socket.h:136: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/socket.h:136: error: storage class specified for parameter 'send' /usr/include/sys/socket.h:143: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/socket.h:143: error: storage class specified for parameter 'recv' /usr/include/sys/socket.h:150: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/socket.h:151: error: expected declaration specifiers or '...' before '__CONST_SOCKADDR_ARG' /usr/include/sys/socket.h:152: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/sys/socket.h:152: error: storage class specified for parameter 'sendto' /usr/include/sys/socket.h:161: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/socket.h:162: error: expected declaration specifiers or '...' before '__SOCKADDR_ARG' /usr/include/sys/socket.h:163: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/sys/socket.h:163: error: storage class specified for parameter 'recvfrom' /usr/include/sys/socket.h:172: error: storage class specified for parameter 'sendmsg' /usr/include/sys/socket.h:179: error: storage class specified for parameter 'recvmsg' /usr/include/sys/socket.h:187: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/sys/socket.h:187: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/socket.h:193: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/sys/socket.h:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/socket.h:199: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/socket.h:209: error: expected declaration specifiers or '...' before '__SOCKADDR_ARG' /usr/include/sys/socket.h:210: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/sys/socket.h:210: error: storage class specified for parameter 'accept' /usr/include/sys/socket.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/sys/socket.h:240: error: expected declaration specifiers before '__END_DECLS'
In file included from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/netinet/in.h:88: error: expected declaration specifiers before ';' token /usr/include/netinet/in.h:92: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'in_port_t' /usr/include/netinet/in.h:136: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'in_addr_t' /usr/include/netinet/in.h:139: error: expected specifier-qualifier-list before 'in_addr_t' /usr/include/netinet/in.h:197: error: expected specifier-qualifier-list before 'uint8_t' /usr/include/netinet/in.h:206: error: storage class specified for parameter 'in6addr_any' /usr/include/netinet/in.h:207: error: storage class specified for parameter 'in6addr_loopback' /usr/include/netinet/in.h:221: error: expected specifier-qualifier-list before 'sa_family_t' /usr/include/netinet/in.h:235: error: expected specifier-qualifier-list before 'sa_family_t' /usr/include/netinet/in.h:280: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:289: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:309: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:324: error: expected specifier-qualifier-list before 'uint32_t'
In file included from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/netinet/in.h:354: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ntohl' /usr/include/netinet/in.h:355: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ntohs' /usr/include/netinet/in.h:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'htonl' /usr/include/netinet/in.h:359: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'htons'
In file included from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/netinet/in.h:362:20: error: endian.h: No such file or directory
In file included from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:116:
/usr/include/netinet/in.h:428: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/netinet/in.h:432: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/netinet/in.h:466: error: expected specifier-qualifier-list before 'uint32_t' /usr/include/netinet/in.h:551: error: expected declaration specifiers before '__END_DECLS'
In file included from scripts/basic/fixdep.c:116:
/usr/include/arpa/inet.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_lnaof'
/usr/include/arpa/inet.h:42: error: expected ')' before '__net'
/usr/include/arpa/inet.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_netof' /usr/include/arpa/inet.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'inet_network' /usr/include/arpa/inet.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/arpa/inet.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/arpa/inet.h:66: error: expected declaration specifiers or '...' before 'socklen_t' /usr/include/arpa/inet.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__THROW' /usr/include/arpa/inet.h:104: error: expected declaration specifiers before '__END_DECLS' scripts/basic/fixdep.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
scripts/basic/fixdep.c:141: error: parameter 'str_config' is initialized
scripts/basic/fixdep.c:142: error: parameter 'size_config' is initialized
scripts/basic/fixdep.c:143: error: parameter 'len_config' is initialized
scripts/basic/fixdep.c:150: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:166: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:182: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:203: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:223: error: expected declaration specifiers or '...' before 'size_t' scripts/basic/fixdep.c:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:258: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:269: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:299: error: expected declaration specifiers or '...' before 'size_t' scripts/basic/fixdep.c:300: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:340: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:372: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:384: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token scripts/basic/fixdep.c:398: error: old-style parameter declarations in prototyped function definition
scripts/basic/fixdep.c:398: error: expected '{' at end of input
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.31974 (%prep)


Fehler beim Bauen des RPMS:
    Fehler-Status beim Beenden von /var/tmp/rpm-tmp.31974 (%prep)
[root@localhost SPECS]#



Anyone got a idea whats wrong here?

Thanks!

Juergen

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>