You are not logged in.

#1 2006-01-15 20:12:43

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

klibc error

Hello,

follwing Gensplash Guide a part of the dependicy is klibc, searching the forum i've found this but i have a problem compiling it sad

make[1]: Entering directory `/home/wael/Files/Packages/klibc/src/klibc-1.1/klibc'
gcc -Wp,-MT,vsnprintf.o,-MD,./.vsnprintf.o.d -march=i386 -Os -g -fomit-frame-pointer -falign-functions=0 -falign-jumps=0 -falign-loops=0 -m32 -D__KLIBC__=1 -D__KLIBC_MINOR__=1 -nostdlib -nostdinc -iwithprefix include -I../include/arch/i386 -I../include/bits32 -I../include -I../linux/include -I../linux/include2 -I../linux/include -I./zlib -I./zlib -mregparm=3 -D_REGPARM=3 -DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -DDYNAMIC_CRC_TABLE -c -o vsnprintf.o vsnprintf.c
In file included from vsnprintf.c:12:
../include/limits.h:38:26: error: linux/limits.h: No such file or directory
In file included from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/sys/types.h:15:31: error: linux/posix_types.h: No such file or directory
../include/sys/types.h:16:23: error: asm/types.h: No such file or directory
In file included from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/sys/types.h:21: error: syntax error before 'fd_set'
../include/sys/types.h:21: warning: type defaults to 'int' in declaration of 'fd_set'
../include/sys/types.h:21: warning: data definition has no type or storage class
../include/sys/types.h:23: error: syntax error before 'ino_t'
../include/sys/types.h:23: warning: type defaults to 'int' in declaration of 'ino_t'
../include/sys/types.h:23: warning: data definition has no type or storage class
../include/sys/types.h:24: error: syntax error before 'mode_t'
../include/sys/types.h:24: warning: type defaults to 'int' in declaration of 'mode_t'
../include/sys/types.h:24: warning: data definition has no type or storage class
../include/sys/types.h:25: error: syntax error before 'nlink_t'
../include/sys/types.h:25: warning: type defaults to 'int' in declaration of 'nlink_t'
../include/sys/types.h:25: warning: data definition has no type or storage class
../include/sys/types.h:26: error: syntax error before 'off_t'
../include/sys/types.h:26: warning: type defaults to 'int' in declaration of 'off_t'
../include/sys/types.h:26: warning: data definition has no type or storage class
../include/sys/types.h:27: error: syntax error before 'loff_t'
../include/sys/types.h:27: warning: type defaults to 'int' in declaration of 'loff_t'
../include/sys/types.h:27: warning: data definition has no type or storage class
../include/sys/types.h:28: error: syntax error before 'pid_t'
../include/sys/types.h:28: warning: type defaults to 'int' in declaration of 'pid_t'
../include/sys/types.h:28: warning: data definition has no type or storage class
../include/sys/types.h:29: error: syntax error before 'daddr_t'
../include/sys/types.h:29: warning: type defaults to 'int' in declaration of 'daddr_t'
../include/sys/types.h:29: warning: data definition has no type or storage class
../include/sys/types.h:30: error: syntax error before 'key_t'
../include/sys/types.h:30: warning: type defaults to 'int' in declaration of 'key_t'
../include/sys/types.h:30: warning: data definition has no type or storage class
../include/sys/types.h:31: error: syntax error before 'suseconds_t'
../include/sys/types.h:31: warning: type defaults to 'int' in declaration of 'suseconds_t'
../include/sys/types.h:31: warning: data definition has no type or storage class
../include/sys/types.h:35: error: syntax error before 'uid_t'
../include/sys/types.h:35: warning: type defaults to 'int' in declaration of 'uid_t'
../include/sys/types.h:35: warning: data definition has no type or storage class
../include/sys/types.h:36: error: syntax error before 'gid_t'
../include/sys/types.h:36: warning: type defaults to 'int' in declaration of 'gid_t'
../include/sys/types.h:36: warning: data definition has no type or storage class
../include/sys/types.h:38: error: syntax error before 'fsid_t'
../include/sys/types.h:38: warning: type defaults to 'int' in declaration of 'fsid_t'
../include/sys/types.h:38: warning: data definition has no type or storage class
../include/sys/types.h:61: error: syntax error before 'time_t'
../include/sys/types.h:61: warning: type defaults to 'int' in declaration of 'time_t'
../include/sys/types.h:61: warning: data definition has no type or storage class
../include/sys/types.h:66: error: syntax error before 'clock_t'
../include/sys/types.h:66: warning: type defaults to 'int' in declaration of 'clock_t'
../include/sys/types.h:66: warning: data definition has no type or storage class
../include/sys/types.h:71: error: syntax error before 'caddr_t'
../include/sys/types.h:71: warning: type defaults to 'int' in declaration of 'caddr_t'
../include/sys/types.h:71: warning: data definition has no type or storage class
In file included from ../include/sys/select.h:9,
                 from ../include/unistd.h:12,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/sys/time.h:10:24: error: linux/time.h: No such file or directory
In file included from ../include/sys/select.h:9,
                 from ../include/unistd.h:12,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/sys/time.h:12: warning: 'struct timezone' declared inside parameter list
../include/sys/time.h:12: warning: its scope is only this definition or declaration, which is probably not what you want
../include/sys/time.h:12: warning: 'struct timeval' declared inside parameter list
../include/sys/time.h:13: warning: 'struct timezone' declared inside parameter list
../include/sys/time.h:13: warning: 'struct timeval' declared inside parameter list
../include/sys/time.h:14: warning: 'struct itimerval' declared inside parameter list
../include/sys/time.h:15: warning: 'struct itimerval' declared inside parameter list
../include/sys/time.h:16: warning: 'struct timeval' declared inside parameter list
In file included from ../include/unistd.h:12,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/sys/select.h:12: error: syntax error before 'fd_set'
../include/sys/select.h:12: warning: function declaration isn't a prototype
In file included from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../include/unistd.h:17: error: syntax error before 'fork'
../include/unistd.h:17: warning: type defaults to 'int' in declaration of 'fork'
../include/unistd.h:17: warning: data definition has no type or storage class
../include/unistd.h:18: error: syntax error before 'vfork'
../include/unistd.h:18: warning: type defaults to 'int' in declaration of 'vfork'
../include/unistd.h:18: warning: data definition has no type or storage class
../include/unistd.h:19: error: syntax error before 'getpid'
../include/unistd.h:19: warning: type defaults to 'int' in declaration of 'getpid'
../include/unistd.h:19: warning: data definition has no type or storage class
../include/unistd.h:20: error: syntax error before 'getpgid'
../include/unistd.h:20: warning: type defaults to 'int' in declaration of 'getpgid'
../include/unistd.h:20: warning: parameter names (without types) in function declaration
../include/unistd.h:20: warning: data definition has no type or storage class
../include/unistd.h:21: warning: parameter names (without types) in function declaration
../include/unistd.h:22: error: syntax error before 'getppid'
../include/unistd.h:22: warning: type defaults to 'int' in declaration of 'getppid'
../include/unistd.h:22: warning: data definition has no type or storage class
../include/unistd.h:23: error: syntax error before 'getpgrp'
../include/unistd.h:23: warning: type defaults to 'int' in declaration of 'getpgrp'
../include/unistd.h:23: warning: data definition has no type or storage class
../include/unistd.h:25: error: syntax error before 'setsid'
../include/unistd.h:25: warning: type defaults to 'int' in declaration of 'setsid'
../include/unistd.h:25: warning: data definition has no type or storage class
../include/unistd.h:26: error: syntax error before 'getsid'
../include/unistd.h:26: warning: type defaults to 'int' in declaration of 'getsid'
../include/unistd.h:26: warning: parameter names (without types) in function declaration
../include/unistd.h:26: warning: data definition has no type or storage class
../include/unistd.h:36: warning: parameter names (without types) in function declaration
../include/unistd.h:37: error: syntax error before 'getuid'
../include/unistd.h:37: warning: type defaults to 'int' in declaration of 'getuid'
../include/unistd.h:37: warning: data definition has no type or storage class
../include/unistd.h:38: warning: parameter names (without types) in function declaration
../include/unistd.h:39: error: syntax error before 'geteuid'
../include/unistd.h:39: warning: type defaults to 'int' in declaration of 'geteuid'
../include/unistd.h:39: warning: data definition has no type or storage class
../include/unistd.h:40: warning: parameter names (without types) in function declaration
../include/unistd.h:41: error: syntax error before 'getgid'
../include/unistd.h:41: warning: type defaults to 'int' in declaration of 'getgid'
../include/unistd.h:41: warning: data definition has no type or storage class
../include/unistd.h:42: warning: parameter names (without types) in function declaration
../include/unistd.h:43: error: syntax error before 'getegid'
../include/unistd.h:43: warning: type defaults to 'int' in declaration of 'getegid'
../include/unistd.h:43: warning: data definition has no type or storage class
../include/unistd.h:44: error: syntax error before 'gid_t'
../include/unistd.h:44: warning: function declaration isn't a prototype
../include/unistd.h:45: warning: type defaults to 'int' in declaration of 'gid_t'
../include/unistd.h:45: error: syntax error before '*' token
../include/unistd.h:45: warning: function declaration isn't a prototype
../include/unistd.h:46: warning: parameter names (without types) in function declaration
../include/unistd.h:47: warning: parameter names (without types) in function declaration
../include/unistd.h:48: warning: parameter names (without types) in function declaration
../include/unistd.h:49: warning: parameter names (without types) in function declaration
../include/unistd.h:50: warning: parameter names (without types) in function declaration
../include/unistd.h:51: warning: parameter names (without types) in function declaration
../include/unistd.h:64: error: syntax error before 'mode_t'
../include/unistd.h:64: warning: function declaration isn't a prototype
../include/unistd.h:65: error: syntax error before 'mode_t'
../include/unistd.h:65: warning: function declaration isn't a prototype
../include/unistd.h:66: error: syntax error before 'mode_t'
../include/unistd.h:66: warning: function declaration isn't a prototype
../include/unistd.h:72: error: syntax error before 'uid_t'
../include/unistd.h:72: warning: function declaration isn't a prototype
../include/unistd.h:73: error: syntax error before 'uid_t'
../include/unistd.h:73: warning: function declaration isn't a prototype
../include/unistd.h:74: error: syntax error before 'uid_t'
../include/unistd.h:74: warning: function declaration isn't a prototype
../include/unistd.h:84: error: syntax error before 'lseek'
../include/unistd.h:84: error: syntax error before 'off_t'
../include/unistd.h:84: warning: type defaults to 'int' in declaration of 'lseek'
../include/unistd.h:84: warning: function declaration isn't a prototype
../include/unistd.h:84: warning: data definition has no type or storage class
../include/unistd.h:86: error: syntax error before 'llseek'
../include/unistd.h:86: error: syntax error before 'off_t'
../include/unistd.h:86: warning: return type defaults to 'int'
../include/unistd.h:86: warning: function declaration isn't a prototype
../include/unistd.h: In function 'llseek':
../include/unistd.h:87: error: '__f' undeclared (first use in this function)
../include/unistd.h:87: error: (Each undeclared identifier is reported only once
../include/unistd.h:87: error: for each function it appears in.)
../include/unistd.h:87: error: '__o' undeclared (first use in this function)
../include/unistd.h:87: error: '__w' undeclared (first use in this function)
../include/unistd.h: At top level:
../include/unistd.h:92: error: syntax error before 'off_t'
../include/unistd.h:92: warning: function declaration isn't a prototype
../include/unistd.h:93: error: syntax error before 'off_t'
../include/unistd.h:93: warning: function declaration isn't a prototype
../include/unistd.h:102: error: syntax error before 'off_t'
../include/unistd.h:102: warning: function declaration isn't a prototype
In file included from vsnprintf.c:13:
../include/stdio.h:61: error: syntax error before 'off_t'
../include/stdio.h:62: warning: function declaration isn't a prototype
../include/stdio.h: In function 'fseek':
../include/stdio.h:63: error: syntax error before 'lseek'
../include/stdio.h:64: error: '__f' undeclared (first use in this function)
../include/stdio.h:64: error: '__o' undeclared (first use in this function)
../include/stdio.h:64: error: '__w' undeclared (first use in this function)
../include/stdio.h: At top level:
../include/stdio.h:66: error: syntax error before 'ftell'
../include/stdio.h:67: warning: return type defaults to 'int'
../include/stdio.h: In function 'ftell':
../include/stdio.h:68: error: syntax error before 'lseek'
make[1]: *** [vsnprintf.o] Error 1
make[1]: Leaving directory `/home/wael/Files/Packages/klibc/src/klibc-1.1/klibc'
make: *** [all] Error 2

any help appreciated

P.S:

[wael@nasreddine klibc]$ uname -r
2.6.15-archck

Offline

#2 2006-01-16 09:41:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: klibc error

I can't help you with those errors, but I've been running gensplash for a long time now, and I've never needed klibc. I also don't see it mentioned on the wiki page. :?

If you go up a couple of directories from that PKGBUILD, dibble has a klibc package already compiled - maybe try that instead. I'd be interested to know what you're trying to achieve, though.

Offline

#3 2006-01-16 19:20:15

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: klibc error

Well am trying to re-compile gensplash because i installed 2.6.15-archck1 with gensplash compiled it didn't work, i want to try to re-compile it maybe it will, but it does not compile without klibc

Offline

Board footer

Powered by FluxBB