|
From: Apoc M. <mat...@gm...> - 2008-12-07 12:39:48
|
I managed to compile genesis with kubuntu 8.6 but with the 8.10 I'm having a
compatibility issue:
In file included from
/usr/include/unistd.h:1100,
from
sim_notes.c:54:
/usr/include/bits/unistd.h: In function
'GetHeader':
/usr/include/bits/unistd.h:36: error: nested function 'read' declared
'extern'
/usr/include/bits/unistd.h:35: error: static declaration of 'read' follows
non-static declaration
/usr/include/unistd.h:327: error: previous declaration of 'read' was
here
/usr/include/bits/unistd.h:142: error: nested function 'readlink' declared
'extern'
/usr/include/bits/unistd.h:140: error: static declaration of 'readlink'
follows non-static declaration
/usr/include/unistd.h:775: error: previous declaration of 'readlink' was
here
/usr/include/bits/unistd.h:202: error: nested function 'getcwd' declared
'extern'
/usr/include/bits/unistd.h:201: error: static declaration of 'getcwd'
follows non-static declaration
/usr/include/unistd.h:471: error: previous declaration of 'getcwd' was
here
/usr/include/bits/unistd.h:223: error: nested function 'getwd' declared
'extern'
/usr/include/bits/unistd.h:222: error: static declaration of 'getwd' follows
non-static declaration
/usr/include/unistd.h:484: error: previous declaration of 'getwd' was
here
/usr/include/bits/unistd.h:242: error: nested function 'confstr' declared
'extern'
/usr/include/bits/unistd.h:241: error: static declaration of 'confstr'
follows non-static declaration
/usr/include/unistd.h:568: error: previous declaration of 'confstr' was
here
/usr/include/bits/unistd.h:267: error: nested function 'getgroups' declared
'extern'
/usr/include/bits/unistd.h:266: error: static declaration of 'getgroups'
follows non-static declaration
/usr/include/unistd.h:656: error: previous declaration of 'getgroups' was
here
/usr/include/bits/unistd.h:293: error: nested function 'ttyname_r' declared
'extern'
/usr/include/bits/unistd.h:292: error: static declaration of 'ttyname_r'
follows non-static declaration
/usr/include/unistd.h:740: error: previous declaration of 'ttyname_r' was
here
/usr/include/bits/unistd.h:319: error: nested function 'getlogin_r' declared
'extern'
/usr/include/bits/unistd.h:318: error: static declaration of 'getlogin_r'
follows non-static declaration
/usr/include/unistd.h:823: error: previous declaration of 'getlogin_r' was
here
/usr/include/bits/unistd.h:346: error: nested function 'gethostname'
declared 'extern'
/usr/include/bits/unistd.h:345: error: static declaration of 'gethostname'
follows non-static declaration
/usr/include/unistd.h:845: error: previous declaration of 'gethostname' was
here
/usr/include/bits/unistd.h:375: error: nested function 'getdomainname'
declared 'extern'
/usr/include/bits/unistd.h:374: error: static declaration of 'getdomainname'
follows non-static declaration
/usr/include/unistd.h:863: error: previous declaration of 'getdomainname'
was here
anybody managed it before?
|