You need to apply the following patches to build 3.7.5 on Debian.
Anyway, I'm working with a potential new mainteiner to include 3.7.5 in
Debian, so I hope soon we'll have all the stuff included in the distro.

Regards,
-Andrea

Index: patches/util-linux.20.llseek.patch
===================================================================
--- patches/util-linux.20.llseek.patch  (revision 0)
+++ patches/util-linux.20.llseek.patch  (revision 0)
@@ -0,0 +1,32 @@
+--- util-linux-2.12r/fdisk/llseek.c.orig       2006-10-31 10:15:56.000000000 
+0100
++++ util-linux-2.12r/fdisk/llseek.c    2006-10-31 10:26:48.000000000 +0100
+@@ -31,9 +31,11 @@
+
+ #ifdef __NR__llseek
+
+-static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high,
+-               unsigned long, offset_low,long long *,result,
+-               unsigned int, origin)
++static int _llseek (unsigned int fd, unsigned long oh,
++                   unsigned long ol, long long *result,
++                   unsigned int origin) {
++       return syscall (__NR__llseek, fd, oh, ol, result, origin);
++}
+
+ #else
+
+--- util-linux-2.12r/fdisk/sfdisk.c.orig       2006-10-31 10:28:03.000000000 
+0100
++++ util-linux-2.12r/fdisk/sfdisk.c    2006-10-31 10:28:42.000000000 +0100
+@@ -178,8 +178,10 @@
+
+ #ifndef use_lseek
+ static __attribute__used
+-_syscall5(int,  _llseek,  unsigned int,  fd, ulong, hi, ulong, lo,
+-       loff_t *, res, unsigned int, wh);
++int _llseek (unsigned int fd, ulong hi, ulong lo,
++       loff_t *res, unsigned int wh) {
++       return syscall (__NR__llseek, fd, hi, lo, res, wh);
++}
+ #endif
+
+ static int
Index: initrd_source/patches/udpcast.ethtool_fix.patch
===================================================================
--- initrd_source/patches/udpcast.ethtool_fix.patch     (revision 0)
+++ initrd_source/patches/udpcast.ethtool_fix.patch     (revision 3793)
@@ -0,0 +1,10 @@
+--- udpcast-20060929/socklib.c.orig    2006-10-31 19:37:39.000000000 +0100
++++ udpcast-20060929/socklib.c 2006-10-31 19:38:05.000000000 +0100
+@@ -37,6 +37,7 @@
+ typedef unsigned short u16;
+ typedef unsigned char u8;
+
++#include <linux/types.h>
+ #include <linux/ethtool.h>
+ #include <linux/sockios.h>
+

Harry-Finn Andresen wrote:
> Hello List great development,
> 
> I successfully  compiled  systemimager-3.7.5 on debian3.1.
> 
> However, I get the same error as Carl  when  I try and make the client
> on Ubuntu 6.10 (Edgy).
> 
> Compilation on Debian initially failed but after apt-getting python2.3
> and python2.3-dev all went well.
> 
> Python2.3 does not seem to be available on Ubuntu 6.10.
> 
> Could this be an issue?
> 
> I tried to compile systemimager-3.7.5 on the Ubuntu 6.10 from scratch
> and got these errors.
> 
> isk.c:1002: warning: pointer targets in passing argument 1 of
> ‘valid_part_table_flag’ differ in signedness
> fdisk.c: At top level:
> fdisk.c:1256: warning: type qualifiers ignored on function return type
> cc -c -pipe -O2 -mtune=i486 -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:35: error: expected declaration specifiers or ‘...’ before
> ‘offset_low’
> llseek.c:35: error: expected declaration specifiers or ‘...’ before ‘result’
> llseek.c:36: error: expected declaration specifiers or ‘...’ before ‘origin’
> llseek.c:50: warning: return type defaults to ‘int’
> llseek.c: In function ‘_syscall5’:
> llseek.c:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘{’ token
> llseek.c:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
> before ‘{’ token
> llseek.c:34: error: parameter name omitted
> llseek.c:34: error: parameter name omitted
> llseek.c:34: error: parameter name omitted
> llseek.c:35: error: parameter name omitted
> llseek.c:35: error: parameter name omitted
> llseek.c:36: error: parameter name omitted
> llseek.c:93: error: expected ‘{’ at end of input
> make[2]: *** [llseek.o] Error 1
> make[2]: Leaving directory
> `/var/systemimager-3.7.5/src/util-linux-2.12r/fdisk'
> make[1]: *** [all] Error 1
> make[1]: Leaving directory `/var/systemimager-3.7.5/src/util-linux-2.12r'
> make: *** [/var/systemimager-3.7.5/src/util-linux-2.12r.build] Error 2
> 
> Hope the above will be useful
> ddave
> 
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sisuite-users mailing list
Sisuite-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to