Well I decided that 2am on a thursday night would be a good time to try this and I've hit a wall... most of the other errors were pretty easy to fix. I just don't understand this one: --snip--snip--snip-- gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1 -mschedule=7100LC -DEXPORT_SYMTAB -c ksyms.c ksyms.c:247: `no_llseek' undeclared here (not in a function) ksyms.c:247: initializer element is not constant ksyms.c:247: (near initialization for `__ksymtab_no_llseek.value') --snip--snip--snip-- Uuhh... how do I fix that? ksym.c:247 gives this: --snip--snip--snip-- EXPORT_SYMBOL(no_llseek); --snip--snip--snip-- TIA, --timball -- GPG key available on pgpkeys.mit.edu pub 1024R/CFF85605 1999-06-10 Timothy L. Ball <timball@sheergenius.com> Key fingerprint = 8A 8E 64 D6 21 C0 90 29 9F D6 1E DC F8 18 CB CD
Hi, On Fri, Sep 07, 2001 at 02:43:25AM -0400, Timothy Ball wrote:> Well I decided that 2am on a thursday night would be a good time to try > this and I've hit a wall... most of the other errors were pretty easy to > fix. I just don't understand this one:> --snip--snip--snip-- > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1 -mschedule=7100LC -DEXPORT_SYMTAB -c ksyms.c > ksyms.c:247: `no_llseek' undeclared here (not in a function) > ksyms.c:247: initializer element is not constant > ksyms.c:247: (near initialization for `__ksymtab_no_llseek.value') > --snip--snip--snip--What patch were you applying, to what kernel version? Or was this an -ac kernel? More info, please! :-) Cheers, Stephen
On Fri, Sep 07, 2001 at 12:02:12PM +0100, Stephen C. Tweedie wrote:> Hi, > > On Fri, Sep 07, 2001 at 02:43:25AM -0400, Timothy Ball wrote: > > Well I decided that 2am on a thursday night would be a good time to > > try this and I've hit a wall... most of the other errors were pretty > > easy to fix. I just don't understand this one: > > > --snip--snip--snip-- gcc -D__KERNEL__ -I/usr/src/linux/include -Wall > > -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer > > -fno-strict-aliasing -fno-common -D__linux__ -pipe > > -fno-strength-reduce -mno-space-regs -mfast-indirect-calls > > -mdisable-fpregs -ffunction-sections -march=1.1 -mschedule=7100LC > > -DEXPORT_SYMTAB -c ksyms.c ksyms.c:247: `no_llseek' undeclared here > > (not in a function) ksyms.c:247: initializer element is not constant > > ksyms.c:247: (near initialization for `__ksymtab_no_llseek.value') > > --snip--snip--snip-- > > What patch were you applying, to what kernel version? Or was this an > -ac kernel? More info, please! :-) >Okay the kernel being patched is 2.4.9-pa17 (that's the parisc-port). I'm using the latest cvs of the ext3 patch from the sourceforge cvs. --timball -- GPG key available on pgpkeys.mit.edu pub 1024R/CFF85605 1999-06-10 Timothy L. Ball <timball@sheergenius.com> Key fingerprint = 8A 8E 64 D6 21 C0 90 29 9F D6 1E DC F8 18 CB CD