From lmaza at ipn.mx Mon Oct 15 14:46:17 2007 From: lmaza at ipn.mx (Lamberto Maza Casas) Date: Mon Oct 15 15:49:43 2007 Subject: [pocket-linux] make[1]: *** [llseek.o] Error 1 Message-ID: Hello I am following the Pocket Linux Guide I apologize if there is son document I should read before making this question here. If it is the case Please tell me what should I read and where can I get the information. I have got stuck in Chapter 5 Checking and Mountoing Disks I do make the changes: Change "CPU=$(shell uname -m)" to "CPU=i386" Change "HAVE_SHADOW=yes" to "HAVE_SHADOW=no" When I type in the directory /usr/src/util-linux-2.12p bash#./configure I get several messages like you have < ... > the bad one seems to be you need -lcrypt I do have installed the libc6-dev package which somewhere I read is the one contains libcrypt in Debian GNU/Linux I don't know if that message is critical or not. Anyway I continued with bash#make and compilation stops with the following message make[1]: se ingresa al directorio `/usr/src/util-linux-2.12p/fdisk' gcc -march=i386 -c -pipe -O2 -mtune=i386 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 llseek.c -o llseek.o llseek.c:34: error: expected declaration specifiers or '...' before '_llseek' llseek.c:34: error: expected declaration specifiers or '...' before 'fd' llseek.c:34: error: expected declaration specifiers or '...' before 'offset_high' llseek.c:34: error: expected declaration specifiers or '...' before 'offset_low' llseek.c:34: error: expected declaration specifiers or '...' before 'result' llseek.c:34: error: expected declaration specifiers or '...' before 'origin' llseek.c:48: warning: return type defaults to 'int' llseek.c: In function '_syscall5': llseek.c:50: error: storage class specified for parameter 'my_llseek' llseek.c:50: warning: 'used' attribute ignored llseek.c:50: error: expected ',' or ';' before '{' token llseek.c:66: warning: 'used' attribute ignored llseek.c:66: error: expected ',' or ';' before '{' token llseek.c:91: error: old-style parameter declarations in prototyped function definition llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:91: error: expected '{' at end of input make[1]: *** [llseek.o] Error 1 make[1]: se sale del directorio `/usr/src/util-linux-2.12p/fdisk' make: *** [all] Error 1 UTEyCV:/usr/src/util-linux-2.12p# Does sombody know how to solve this problem???? Thanks in advance. From lmaza at ipn.mx Mon Oct 15 14:49:08 2007 From: lmaza at ipn.mx (Lamberto Maza Casas) Date: Mon Oct 15 15:52:39 2007 Subject: [pocket-linux] make[1]: *** [llseek.o] Error 1 Message-ID: Hello I am following the Pocket Linux Guide I apologize if there is son document I should read before making this question here. If it is the case Please tell me what should I read and where can I get the information. I have got stuck in Chapter 5 Checking and Mountoing Disks I do make the changes: Change "CPU=$(shell uname -m)" to "CPU=i386" Change "HAVE_SHADOW=yes" to "HAVE_SHADOW=no" When I type in the directory /usr/src/util-linux-2.12p bash#./configure I get several messages like you have < ... > the bad one seems to be you need -lcrypt I do have installed the libc6-dev package which somewhere I read is the one contains libcrypt in Debian GNU/Linux I don't know if that message is critical or not. Anyway I continued with bash#make and compilation stops with the following message make[1]: se ingresa al directorio `/usr/src/util-linux-2.12p/fdisk' gcc -march=i386 -c -pipe -O2 -mtune=i386 -fomit-frame-pointer -I../lib -Wall -Wmissing-prototypes -Wstrict-prototypes -DNCH=1 -D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" -DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" -DLOCALEDIR=\"/usr/share/locale\" -O2 llseek.c -o llseek.o llseek.c:34: error: expected declaration specifiers or '...' before '_llseek' llseek.c:34: error: expected declaration specifiers or '...' before 'fd' llseek.c:34: error: expected declaration specifiers or '...' before 'offset_high' llseek.c:34: error: expected declaration specifiers or '...' before 'offset_low' llseek.c:34: error: expected declaration specifiers or '...' before 'result' llseek.c:34: error: expected declaration specifiers or '...' before 'origin' llseek.c:48: warning: return type defaults to 'int' llseek.c: In function '_syscall5': llseek.c:50: error: storage class specified for parameter 'my_llseek' llseek.c:50: warning: 'used' attribute ignored llseek.c:50: error: expected ',' or ';' before '{' token llseek.c:66: warning: 'used' attribute ignored llseek.c:66: error: expected ',' or ';' before '{' token llseek.c:91: error: old-style parameter declarations in prototyped function definition llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:34: error: parameter name omitted llseek.c:91: error: expected '{' at end of input make[1]: *** [llseek.o] Error 1 make[1]: se sale del directorio `/usr/src/util-linux-2.12p/fdisk' make: *** [all] Error 1 UTEyCV:/usr/src/util-linux-2.12p# Does sombody know how to solve this problem???? Thanks in advance.