99pl12 : kernel.o undef symbol _sys_quotactl in compile

99pl12 : kernel.o undef symbol _sys_quotactl in compile

Post by Jeff Blai » Wed, 25 Aug 1993 10:21:36



In making 0.99pl12 from the SLS 1.03 distribution:

ld  -T 100000 -M boot/head.o init/main.o tools/version.o kernel/kernel.o mm/mm.o fs/fs.o net/net.o ipc/ipc.o fs/filesystems.a kernel/blk_drv/blk_drv.a kernel/chr_drv/chr_drv.a kernel/blk_drv/scsi/scsi.a kernel/chr_drv/sound/sound.a ibcs/ibcs.o kernel/FPU-emu/math.a lib/lib.a -o tools/zSystem > zSystem.map
kernel/kernel.o: Undefined symbol _sys_quotactl referenced from data segment
make: *** [tools/zSystem] Error 1

I specifically said "no quotas" in make config.
Anyone?

--


 
 
 

99pl12 : kernel.o undef symbol _sys_quotactl in compile

Post by <CGS.. » Wed, 25 Aug 1993 08:56:21



says:

>In making 0.99pl12 from the SLS 1.03 distribution:

>ld  -T 100000 -M boot/head.o init/main.o tools/version.o kernel/kernel.o      o
>mm/mm.
>fs/fs.o net/net.o ipc/ipc.o fs/filesystems.a kernel/blk_drv/blk_drv.a
>kernel/chr_drv/chr_drv.a kernel/blk_drv/scsi/scsi.a                           a
>kernel/chr_drv/sound/sound.
>ibcs/ibcs.o kernel/FPU-emu/math.a lib/lib.a -o tools/zSystem > zSystem.map
>kernel/kernel.o: Undefined symbol _sys_quotactl referenced from data segment
>make: *** [tools/zSystem] Error 1

>I specifically said "no quotas" in make config.
>Anyone?

>--



I posted a fix for this tonight under a thread called "Kernel compile
problem" in this newsgroup. (There may have been a crosspost to c.o.l
as well.)  More problems with ifdefs.

Carl

 
 
 

99pl12 : kernel.o undef symbol _sys_quotactl in compile

Post by Danny ter Ha » Fri, 27 Aug 1993 08:34:11




>says:

>>I specifically said "no quotas" in make config.

Yep, that's the problem.
in linux/fs/quota.c add

extern "C" define _sys_quota
^^^^^^^^^^
 || add ||

when switching to c++ this was forgotten.
In pl13 the qouto will be standard and a new version.
have fun,

_____
Danny

--
<=====================================================================>

Robins law #103: 'a couple of lightyears can't part good friends'

 
 
 

1. Error compiling 1.1.81 kernel (undef'd symbol)

Can anybody out there say me what's going wrong during building
a new kernel (1.1.81)?

After compiling a while and, i think, near the end of the compilation process,
i get a linker warning from the following command:
ld -qmagic -Ttext 0xfffe0 arch/i386/kernel/head.o init/main.o init/version.o \
  arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o \
  net/net.o ipc/ipc.o fs/filesystems.o /drivers/block/block.a /drivers/char/char.a \
  drivers/net/net.a drivers/scsi/scsi.a /lib/lib.a -o vmlinux

drivers/scsi/scsi.a(sr.o) Undefined symbol _sg_template referenced from text segment
(This message two times)

The build process stops there.

Now, what have i made wrong. I loaded the kernel source completely from
sunsite, tried to ftp it once again but no success.

I have a 486/33 with 32MB ram, Adaptec 1542B with three hd's and one tapedrive
and so did i "make config"

Any tips?

Thanx in advance!


2. Unix Upgrade...

3. 2.4.14 Kernel compile fails with undef symbol

4. Access to Solaris via Telnet

5. Kernel Rebuild Error: Undefined symbol _sys_quotactl referenced...

6. Expect Binary for Solaris 2.5.1

7. depmod - how to get rid of undef'd symbols?

8. Blackdown JDK 1.2: Can't find libjava.so

9. ld : undef. symbol : main ?!?!?

10. Apache 1.1.1/Linux: Undef. symbol _frexp

11. undef symbol problem

12. sqrt: undef symbol.

13. Error make'ing Appache; Undef'ed symbol '_crypt'...