error compiling in knoppix 4.0.2/Debian 2.6.12

View: New views
4 Messages — Rating Filter:   Alert me  

error compiling in knoppix 4.0.2/Debian 2.6.12

by Bruce Forestal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Good Day,

I've not been able to compile cipe-1.6.0 in knoppix 4.0.2 which is  
actually Debian 2.6.12.  The make output with errors is below.  Any  
ideas on how to solve this?

Thanks in advance,
Bruce


root@wb6are9:~/cipe-1.6.0# make
make -C lib all
make[1]: Entering directory `/root/cipe-1.6.0/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/cipe-1.6.0/lib'
make -C 2.6.12-i386-SMP-cb all
make[1]: Entering directory `/root/cipe-1.6.0/2.6.12-i386-SMP-cb'
ln -sf ../cipe/*.[chS] .
ln -sf crc32.c ucrc32.c
make -C /usr/src/linux-2.6.12 SUBDIRS=/root/cipe-1.6.0/2.6.12-i386-
SMP-cb modules
make[2]: Entering directory `/usr/src/linux-2.6.12'
   CC [M]  /root/cipe-1.6.0/2.6.12-i386-SMP-cb/device.o
In file included from /root/cipe-1.6.0/2.6.12-i386-SMP-cb/device.c:15:
/root/cipe-1.6.0/2.6.12-i386-SMP-cb/cipe.h:274:1: warning:  
"CURRENT_TIME_SEC" redefined
In file included from include/linux/skbuff.h:20,
                  from include/linux/if_ether.h:107,
                  from include/linux/netdevice.h:29,
                  from /root/cipe-1.6.0/2.6.12-i386-SMP-cb/cipe.h:152,
                  from /root/cipe-1.6.0/2.6.12-i386-SMP-cb/device.c:15:
include/linux/time.h:93:1: warning: this is the location of the  
previous definition
/root/cipe-1.6.0/2.6.12-i386-SMP-cb/device.c: In function  
`cipe_dev_close':
/root/cipe-1.6.0/2.6.12-i386-SMP-cb/device.c:444: error: structure  
has no member named `sk_zapped'
make[3]: *** [/root/cipe-1.6.0/2.6.12-i386-SMP-cb/device.o] Error 1
make[2]: *** [_module_/root/cipe-1.6.0/2.6.12-i386-SMP-cb] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.12'
make[1]: *** [all25] Error 2
make[1]: Leaving directory `/root/cipe-1.6.0/2.6.12-i386-SMP-cb'
make: *** [all] Error 2
root@wb6are9:~/cipe-1.6.0#


--
Message sent by the cipe-l@... mailing list.
Unsubscribe: mail majordomo@..., "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>

Re: error compiling in knoppix 4.0.2/Debian 2.6.12

by Dick St.Peters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bruce Forestal writes:
> I've not been able to compile cipe-1.6.0 in knoppix 4.0.2 which is  
> actually Debian 2.6.12.  The make output with errors is below.  Any  
> ideas on how to solve this?

Apply my patch
   ftp://ftp.netheaven.com/pub/cipe/cipe-1.6.0-kernel-2.6.12.patch

--
Dick St.Peters, stpeters@...

--
Message sent by the cipe-l@... mailing list.
Unsubscribe: mail majordomo@..., "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>

Re: error compiling in knoppix 4.0.2/Debian 2.6.12

by Bruce Forestal :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 Dick,

I applied the patch and while the original error is gone I now get another one.

Thanks,
Bruce

root@wb6are9:/etc/cipe/cipe-1.6.0# make
make -C lib all
make[1]: Entering directory `/etc/cipe/cipe-1.6.0/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/etc/cipe/cipe-1.6.0/lib'
make -C 2.6.12-i386-SMP-cb all
make[1]: Entering directory `/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb'
ln -sf ../cipe/*.[chS] .
ln -sf crc32.c ucrc32.c
make -C /usr/src/linux-2.6.12 SUBDIRS=/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb modules
make[2]: Entering directory `/usr/src/linux-2.6.12'
  CC [M]  /etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.o
/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.c: In function `cipe_xmit':
/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.c:175: error: structure has no member named `inet'
/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.c:197: error: structure has no member named `inet'
make[3]: *** [/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.o] Error 1
make[2]: *** [_module_/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.12'
make[1]: *** [all25] Error 2
make[1]: Leaving directory `/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb'
make: *** [all] Error 2
root@wb6are9:/etc/cipe/cipe-1.6.0#

On Jan 26, 2006, at 3:48 PM, Dick St.Peters wrote:

Bruce Forestal writes:
I've not been able to compile cipe-1.6.0 in knoppix 4.0.2 which is  
actually Debian 2.6.12.  The make output with errors is below.  Any  
ideas on how to solve this?

Apply my patch

--
Dick St.Peters, stpeters@... 


Re: error compiling in knoppix 4.0.2/Debian 2.6.12

by Dick St.Peters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bruce Forestal writes:
> I applied the patch and while the original error is gone I now get  
> another one.
  ...

> root@wb6are9:/etc/cipe/cipe-1.6.0# make
> make -C lib all
> make[1]: Entering directory `/etc/cipe/cipe-1.6.0/lib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/etc/cipe/cipe-1.6.0/lib'
> make -C 2.6.12-i386-SMP-cb all
> make[1]: Entering directory `/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb'
> ln -sf ../cipe/*.[chS] .
> ln -sf crc32.c ucrc32.c
> make -C /usr/src/linux-2.6.12 SUBDIRS=/etc/cipe/cipe-1.6.0/2.6.12-
> i386-SMP-cb modules
> make[2]: Entering directory `/usr/src/linux-2.6.12'
>    CC [M]  /etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.o
> /etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.c: In function  
> `cipe_xmit':
> /etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.c:175: error:  
> structure has no member named `inet'
> /etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.c:197: error:  
> structure has no member named `inet'
> make[3]: *** [/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb/output.o] Error 1
> make[2]: *** [_module_/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.6.12'
> make[1]: *** [all25] Error 2
> make[1]: Leaving directory `/etc/cipe/cipe-1.6.0/2.6.12-i386-SMP-cb'
> make: *** [all] Error 2
> root@wb6are9:/etc/cipe/cipe-1.6.0#

Hmmm ... lines 175 and 197 both involve the IOPT macro, which is
changed by my 2.6.14 patch but not by my 2.6.12 patch even though my
2.6.14 patch says the change is needed for releases 2.6.12 and later.

Those two lines are also the only places the IOPT macro is used, and
they happen to both be in sections that I change in my own copy of
cipe.  I suspect that I screwed up in trying to make a public patch
for 2.6.12.  My 2.6.14 patch was a half-hearted attempt to include all
the changes wrapped in switches that would turn them on only for
releases for which they are needed.  Try using it:

   ftp://ftp.netheaven.com/pub/cipe/cipe-1.6.0-kernel-2.6.14.patch

Please let me know whether this works.

Unfortunately, part of the reason I've never gotten back to cleaning up
my patch(es) is that I lost my working directory in a disk corruption.

--
Dick St.Peters, stpeters@...

--
Message sent by the cipe-l@... mailing list.
Unsubscribe: mail majordomo@..., "unsubscribe cipe-l" in body
Other commands available with "help" in body to the same address.
CIPE info and list archive: <URL:http://sites.inka.de/~bigred/devel/cipe.html>