[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Ftpfs for Sparc with 2.4.17



On Tue, Jan 22, 2002 at 03:31:21PM +0100, Tille, Andreas wrote:
> Hello,
> 
> I tried to build the ftpfs module with kernel-source-2.4.17.
> The kernel package builded fine, but
>     fakeroot make-kpkg modules_image
> failed (log attached to this mail). Did anybody had success with this
> funny thing?  It's great if you use Zope.
> 
> gcc  -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2  -Wall -I/usr/src/linux/include -DMODULE -D__KERNEL__ -DLINUX -DEXPORT_SYMTAB  -c cache.c -o cache.o

Ftpfs is using the userspace compiler when it shouldn't. Sparc64
requires using sparc64-linux-gcc. Probably need to make sure that -m
elf64_sparc is passed to "ld" aswell.


Ben

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: