kompilace kernelu s linprocfs

=?koi8-r?Q?=22?=Scoobie Ray=?koi8-r?Q?=22=20?= scoobie at mail.ru
Fri Mar 19 10:36:35 CET 2004


Dobry den!
   Mam FreeBSD 5.2.1. Chtel bych si nainstalovat pres porty jdk14, ktera vsak pri kompilaci vyzaduje namountovani linuxprocfs. Takze jsem kvuli tomu kompiloval jadro , coz se nepovedlo. Zahlasilo to tuto chybovou hlasku:
   linking kernel
   linprocfs.o: In function `linprocfs_domtab':
   linprocfs.o(.text+0x2f0): undefined reference to `linux_emul_path'
   linprocfs.o(.text+0x32f): undefined reference to `linux_emul_path'
   linprocfs.o: In function `linprocfs_doversion':
   linprocfs.o(.text+0x8fd): undefined reference to `linux_get_osname'
   linprocfs.o(.text+0x90a): undefined reference to `linux_get_osrelease'
   linprocfs.o: In function `linprocfs_donetdev':
   linprocfs.o(.text+0x1645): undefined reference to `linux_ifname'
   *** Error code 1

Setkal uz jste se s tim nekdo? Muze mi nekdo pomoci?

Mam nasledujici konfiguraci kernelu:

machine         i386
cpu             I686_CPU
ident           XYZ

#To statically compile in device wiring instead of /boot/device.hints
options         SCHED_4BSD              #4BSD scheduler
options         INET                    #InterNETworking
options         INET6                   #IPv6 communications protocols
options         FFS                     #Berkeley Fast Filesystem
options         SOFTUPDATES             #Enable FFS soft updates support
options         UFS_ACL                 #Support for access control lists
options         UFS_DIRHASH             #Improve performance on big directories
options         MD_ROOT                 #MD is a potential root device
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem (requires PSEUDOFS)
options         PSEUDOFS                #Pseudo-filesystem framework
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]
options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         AHC_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~128k to driver.
options         AHD_REG_PRETTY_PRINT    # Print register bitfields in debug
                                        # output.  Adds ~215k to driver.
options         PFIL_HOOKS              # pfil(9) framework
options         PROCFS                  # proc filesystem
options         LINPROCFS               # linux proc filesystem


#IPFilter options
option          IPFILTER
option          IPFILTER_LOG
option          IPFILTER_DEFAULT_BLOCK

#m-buffs option
option          NMBCLUSTERS=3200        # optimalozation for 50 users from net

# Debugging for use in -current
options         INVARIANT_SUPPORT       #Extra sanity checks of internal structures, required by INVARIANTS

device          isa
device          eisa
device          pci

# Floppy drives
device          fdc

# ATA and ATAPI devices
device          ata
device          atadisk                 # ATA disk drives
#device         ataraid                 # ATA RAID drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
#device         atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
device          psm             # PS/2 mouse

device          vga             # VGA video card driver

device          splash          # Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device          sc

# Enable this for the pcvt (VT220 compatible) console driver

device          agp             # support several AGP chipsets

# Floating point support - do not disable.
device          npx

# Power management support (see NOTES for more options)
device          apm
# Add suspend/resume support for the i8254.
device          pmtimer

# Serial (COM) ports
device          sio             # 8250, 16[45]50 based serial ports

# Parallel port
device          ppc
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          rl              # RealTek 8129/8139

# Pseudo devices - the number indicates how many units to allocate.
device          random          # Entropy device
device          loop            # Network loopback
device          ether           # Ethernet support
device          tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
device          gif             # IPv6 and IPv4 tunneling
device          faith           # IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device          bpf             # Berkeley packet filter

#sound card
device          pcm             # Sound card device

Dekuji!



More information about the Users-l mailing list