Problem with building on linux 2.6.15

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

Problem with building on linux 2.6.15

by Jon Foster :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I receive the following error when trying to compile against Linux 2.6.15:

  CC [M]  /usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.o
/usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c: In function
`cipe_decrypt_skb':
/usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c:321: structure has
no member named `stamp'
/usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c:350: structure has
no member named `stamp'
/usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c: In function
`cipe_recvmsg':
/usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c:512: structure has
no member named `stamp'

I had patched it with the recently posted patch for 2.6.12. This fixed
several other errors. Can someone give me a patch for this kernel version?

THX - Jon

--
Jon Foster
JF Possibilities, Inc.
jon@...
541-410-2760
Making computers work for you!


--
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: Problem with building on linux 2.6.15

by Dick St.Peters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jon Foster writes:

> I receive the following error when trying to compile against Linux 2.6.15:
>
>   CC [M]  /usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.o
> /usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c: In function
> `cipe_decrypt_skb':
> /usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c:321: structure has
> no member named `stamp'
> /usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c:350: structure has
> no member named `stamp'
> /usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c: In function
> `cipe_recvmsg':
> /usr/src/RPM/BUILD/cipe-1.6.0/2.6.15-i386-cb/sock.c:512: structure has
> no member named `stamp'
>
> I had patched it with the recently posted patch for 2.6.12. This fixed
> several other errors. Can someone give me a patch for this kernel version?

These look like they result from the kernel API changes introduced in
2.6.13 or 2.6.14.  Try my 2.6.14 patch:

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

On my TODO list is to combine my patches into a single patch to make
cipe recognize the kernel release and build accordingly.  That's not
hard, but tracking down which release introduced which API change is a
bit tedious.  I'm lazy and tend to produce patches only for kernels I
actually use.

--
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>