Re: Has anyone compiled it on a x86_64 ??

Andreas Billmeier <[email protected]> Wed, 15 Mar 2006 08:14:28 +0100
Newsgroups gmane.comp.encryption.cipe
Organization Ede Vau & Partner
Message-ID <[email protected]>
On Wed, 15 Mar 2006 07:27:59 +0100 Andreas Billmeier <[email protected]> wrote:

> 
> Hi,
> 
> can't compile on:
> 
> Linux 2.6.15.5-3w #2 SMP Sat Mar 4 15:00:12 CET 2006 x86_64
> x86_64 x86_64 GNU/Linux, Opensuse10.
> 
> I already applied the 2.6.14 patch from Dick St.Peters,
> which fixed a coupled of other errors.

Me again, 
sorry for my question, fixed it already
though i don't talk C, this was really easy.

Perhaps somebody talking C should have a look on it....

>   CC [M]  /usr/src/cipe-1.6.0/2.6.15.5-3w-x86_64-SMP-cb/output.o
/usr/src/cipe-1.6.0/2.6.15.5-3w-x86_64-SMP-cb/output.c:287: warning:
format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’

Changed the format string in line 287 to

            if (length-skb->len > skb->end-skb->tail) {
                printk(KERN_ERR "%s: tailroom problem line 287", dev->name);
                goto tx_error; 
            }

> include/linux/byteorder/little_endian.h:80: error: previous definition of ‘__be32_to_cpup’ was here
> include/linux/byteorder/little_endian.h:56: error: previous definition of ‘__le32_to_cpup’ was here

Removed both functions from bf.c

Don't understand why the '#IFNDEF' didn't do it,
but afterwards the driver compiled nice and seems to work.

\B.

--
Message sent by the [email protected] mailing list.
Unsubscribe: mail [email protected], "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>