Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2008 09:06:42 +0200
From:      Indiana Jones <indiana99@inbox.lv>
To:        freebsd-questions@freebsd.org
Subject:   Error code 1 upon building-installing kernel FreeBSD 7.0
Message-ID:  <1205996802.47e20d02a9909@www.inbox.lv>

next in thread | raw e-mail | index | archive | help
Hi,=0A=0AIf anybody could help, I'd be most grateful.=0AI have been getting=
 this error message during buildinfg and=0Ainstalling a custom kernel on Fr=
eeBSD 7.0, after make depend command!=0A=0Alinking kernel.debug =0Auipc_sys=
calls.o(.text+0x3c1): In function `sctp_generic_recvmsg': =0A../../../kern/=
uipc_syscalls.c:2608: undefined reference to=0A`sctp_sorecvmsg' =0Auipc_sys=
calls.o(.text+0x21a2): In function=0A`sctp_generic_sendmsg_iov': =0A../../.=
./kern/uipc_syscalls.c:2486: undefined reference to=0A`sctp_lower_sosend' =
=0Auipc_syscalls.o(.text+0x249d): In function `sctp_generic_sendmsg': =0A..=
/../../kern/uipc_syscalls.c:2379: undefined reference to=0A`sctp_lower_sose=
nd' =0Auipc_syscalls.o(.text+0x266c): In function `sctp_peeloff': =0A../../=
../kern/uipc_syscalls.c:2246: undefined reference to=0A`sctp_can_peel_off' =
=0Auipc_syscalls.o(.text+0x28e6):../../../kern/uipc_syscalls.c:2287:=0Aunde=
fined reference to `sctp_do_peeloff' =0Artsock.o(.text+0xb7d): In function =
`rt_newaddrmsg': =0A../../../net/rtsock.c:897: undefined reference to `sctp=
_addr_change' =0Ain_proto.o(.data+0xa8): undefined reference to `sctp_input=
' =0Ain_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' =0Ain_p=
roto.o(.data+0xb4): undefined reference to `sctp_ctloutput' =0Ain_proto.o(.=
data+0xbc): undefined reference to `sctp_init' =0Ain_proto.o(.data+0xc8): u=
ndefined reference to `sctp_drain' =0Ain_proto.o(.data+0xcc): undefined ref=
erence to `sctp_usrreqs' =0Ain_proto.o(.data+0xdc): undefined reference to =
`sctp_input' =0Ain_proto.o(.data+0xe4): undefined reference to `sctp_ctlinp=
ut' =0Ain_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' =0Ai=
n_proto.o(.data+0xfc): undefined reference to `sctp_drain' =0Ain_proto.o(.d=
ata+0x100): undefined reference to `sctp_usrreqs' =0Ain_proto.o(.data+0x110=
): undefined reference to `sctp_input' =0Ain_proto.o(.data+0x118): undefine=
d reference to `sctp_ctlinput' =0Ain_proto.o(.data+0x11c): undefined refere=
nce to `sctp_ctloutput' =0Ain_proto.o(.data+0x130): undefined reference to =
`sctp_drain' =0Ain_proto.o(.data+0x134): undefined reference to `sctp_usrre=
qs' =0A=0A*** Error code 1 =0A=0AStop in /usr/src/sys/i386/compile/WWW. =0A=
WWW# =0A=0AMy Config file is as follows:=0A=0A# =0A# GENERIC -- Generic ker=
nel configuration file for FreeBSD/i386 =0A# =0A# For more information on t=
his file, please read the handbook section=0Aon =0A# Kernel Configuration F=
iles: =0A# =0A#=0Ahttp://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook=
/kernelconfig-config.html=0A=0A# =0A# The handbook is also available locall=
y in /usr/share/doc/handbook =0A# if you've installed the doc distribution,=
 otherwise always see the =0A# FreeBSD World Wide Web server (http://www.Fr=
eeBSD.org/) for the =0A# latest information. =0A# =0A# An exhaustive list o=
f options and more detailed explanations of the=0A=0A# device lines is also=
 present in the ../../conf/NOTES and NOTES=0Afiles. =0A# If you are in doub=
t as to the purpose or necessity of a line, check=0Afirst =0A# in NOTES. =
=0A# =0A# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06=0A=
03:24:28 scottl Exp $ =0A=0A#cpu I486_CPU =0A#cpu I586_CPU =0Acpu I686_CPU =
=0Aident WWW =0A=0A# To statically compile in device wiring instead of=0A/b=
oot/device.hints =0A#hints "GENERIC.hints" # Default places to look for dev=
ices. =0A=0Amakeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols=
 =0A=0Aoptions SCHED_4BSD # 4BSD scheduler =0Aoptions PREEMPTION # Enable k=
ernel thread preemption =0Aoptions INET # InterNETworking =0A#options INET6=
 # IPv6 communications protocols =0Aoptions SCTP # Stream Control Transmiss=
ion Protocol =0Aoptions FFS # Berkeley Fast Filesystem =0Aoptions SOFTUPDAT=
ES # Enable FFS soft updates support =0Aoptions UFS_ACL # Support for acces=
s control lists =0Aoptions UFS_DIRHASH # Improve performance on big directo=
ries =0Aoptions UFS_GJOURNAL # Enable gjournal-based UFS journaling =0Aopti=
ons MD_ROOT # MD is a potential root device =0A#options NFSCLIENT # Network=
 Filesystem Client =0A#options NFSSERVER # Network Filesystem Server =0A#op=
tions NFS_ROOT # NFS usable as /, requires NFSCLIENT =0A#options MSDOSFS # =
MSDOS Filesystem =0Aoptions CD9660 # ISO 9660 Filesystem =0Aoptions PROCFS =
# Process filesystem (requires PSEUDOFS) =0Aoptions PSEUDOFS # Pseudo-files=
ystem framework =0Aoptions GEOM_PART_GPT # GUID Partition Tables. =0Aoption=
s GEOM_LABEL # Provides labelization =0Aoptions COMPAT_43TTY # BSD 4.3 TTY =
compat [KEEP THIS!] =0Aoptions COMPAT_FREEBSD4 # Compatible with FreeBSD4 =
=0Aoptions COMPAT_FREEBSD5 # Compatible with FreeBSD5 =0Aoptions COMPAT_FRE=
EBSD6 # Compatible with FreeBSD6 =0A#options SCSI_DELAY=3D5000 # Delay (in =
ms) before probing SCSI =0Aoptions KTRACE # ktrace(1) support =0Aoptions SY=
SVSHM # SYSV-style shared memory =0Aoptions SYSVMSG # SYSV-style message qu=
eues =0Aoptions SYSVSEM # SYSV-style semaphores =0Aoptions _KPOSIX_PRIORITY=
_SCHEDULING # POSIX P1003_1B real-time=0Aextensions =0Aoptions KBD_INSTALL_=
CDEV # install a CDEV entry in /dev =0Aoptions ADAPTIVE_GIANT # Giant mutex=
 is adaptive. =0Aoptions STOP_NMI # Stop CPUS using NMI instead of IPI =0Ao=
ptions AUDIT # Security event auditing =0A=0A# To make an SMP kernel, the n=
ext two lines are needed =0Aoptions SMP # Symmetric MultiProcessor Kernel =
=0Adevice apic # I/O APIC =0A=0A#IPFIREWALL =0Aoptions IPFIREWALL #firewall=
 =0Aoptions IPFIREWALL_VERBOSE #enable logging to syslogd(8) =0Aoptions IPF=
IREWALL_FORWARD #enable transparent proxy support =0Aoptions IPFIREWALL_VER=
BOSE_LIMIT=3D10 #limit verbosity =0Aoptions IPDIVERT =0Aoptions IPFIREWALL_=
DEFAULT_TO_ACCEPT #allow everything by default =0Aoptions DUMMYNET =0Aoptio=
ns HZ=3D2000 =0A# CPU frequency control =0Adevice cpufreq =0A=0A# Bus suppo=
rt. =0Adevice eisa =0Adevice pci =0A=0A# Floppy drives =0A#device fdc =0A=
=0A# ATA and ATAPI devices =0Adevice ata =0Adevice atadisk # ATA disk drive=
s =0Adevice ataraid # ATA RAID drives =0Adevice atapicd # ATAPI CDROM drive=
s =0Adevice atapifd # ATAPI floppy drives =0A#device atapist # ATAPI tape d=
rives =0Aoptions ATA_STATIC_ID # Static device numbering =0A=0A# SCSI Contr=
ollers =0A#device ahb # EISA AHA1742 family =0A#device ahc # AHA2940 and on=
board AIC7xxx devices =0A#options AHC_REG_PRETTY_PRINT # Print register bit=
fields in debug =0A# output. Adds ~128k to driver. =0A#device ahd # AHA3932=
0/29320 and onboard AIC79xx devices =0A#options AHD_REG_PRETTY_PRINT # Prin=
t register bitfields in debug =0A# output. Adds ~215k to driver. =0A#device=
 amd # AMD 53C974 (Tekram DC-390(T)) =0A#device hptiop # Highpoint RocketRa=
id 3xxx series =0A#device isp # Qlogic family =0A#device ispfw # Firmware f=
or QLogic HBAs- normally a module =0A#device mpt # LSI-Logic MPT-Fusion =0A=
#device ncr # NCR/Symbios Logic =0A#device sym # NCR/Symbios Logic (newer c=
hipsets + those of `ncr') =0A#device trm # Tekram DC395U/UW/F DC315U adapte=
rs =0A=0A#device adv # Advansys SCSI adapters =0A#device adw # Advansys wid=
e SCSI adapters =0A#device aha # Adaptec 154x SCSI adapters =0A#device aic =
# Adaptec 15[012]x SCSI adapters, AIC-6[23]60. =0A#device bt # Buslogic/Myl=
ex MultiMaster SCSI adapters =0A=0A#device ncv # NCR 53C500 =0A#device nsp =
# Workbit Ninja SCSI-3 =0A#device stg # TMC 18C30/18C50 =0A=0A# SCSI periph=
erals =0A#device scbus # SCSI bus (required for SCSI) =0A#device ch # SCSI =
media changers =0A#device da # Direct Access (disks) =0A#device sa # Sequen=
tial Access (tape etc) =0A#device cd # CD =0A#device pass # Passthrough dev=
ice (direct SCSI access) =0A#device ses # SCSI Environmental Services (and =
SAF-TE)# =0A=0A# RAID controllers interfaced to the SCSI subsystem =0A#devi=
ce amr # AMI MegaRAID =0A#device arcmsr # Areca SATA II RAID =0A#device asr=
 # DPT SmartRAID V, VI and Adaptec SCSI RAID =0A#device ciss # Compaq Smart=
 RAID 5* =0A#device dpt # DPT Smartcache III, IV - See NOTES for options =
=0A#device hptmv # Highpoint RocketRAID 182x =0A#device hptrr # Highpoint R=
ocketRAID 17xx, 22xx, 23xx, 25xx =0A#device iir # Intel Integrated RAID =0A=
#device ips # IBM (Adaptec) ServeRAID =0A#device mly # Mylex AcceleRAID/eXt=
remeRAID =0A#device twa # 3ware 9000 series PATA/SATA RAID =0A=0A# RAID con=
trollers =0A#device aac # Adaptec FSA RAID =0A#device aacp # SCSI passthrou=
gh for aac (requires CAM) =0A#device ida # Compaq Smart RAID =0A#device mfi=
 # LSI MegaRAID SAS =0A#device mlx # Mylex DAC960 family =0A#device pst # P=
romise Supertrak SX6000 =0A#device twe # 3ware ATA RAID =0A=0A# atkbdc0 con=
trols both the keyboard and the PS/2 mouse =0Adevice atkbdc # AT keyboard c=
ontroller =0Adevice atkbd # AT keyboard =0Adevice psm # PS/2 mouse =0A=0A#d=
evice kbdmux # keyboard multiplexer =0A=0Adevice vga # VGA video card drive=
r =0A=0A#device splash # Splash screen and screen saver support =0A=0A# sys=
cons is the default console driver, resembling an SCO console =0Adevice sc =
=0A=0Adevice agp # support several AGP chipsets =0A=0A# Power management su=
pport (see NOTES for more options) =0A#device apm =0A# Add suspend/resume s=
upport for the i8254. =0Adevice pmtimer =0A=0A# PCCARD (PCMCIA) support =0A=
# PCMCIA and cardbus bridge support =0A#device cbb # cardbus (yenta) bridge=
 =0A#device pccard # PC Card (16-bit) bus =0A#device cardbus # CardBus (32-=
bit) bus =0A=0A# Serial (COM) ports =0A#device sio # 8250, 16[45]50 based s=
erial ports =0A#device uart # Generic UART driver =0A=0A# Parallel port =0A=
#device ppc =0A#device ppbus # Parallel port bus (required) =0A#device lpt =
# Printer =0A#device plip # TCP/IP over parallel =0A#device ppi # Parallel =
port interface device =0A#device vpo # Requires scbus and da =0A=0A# If you=
've got a "dumb" serial or parallel PCI card that is =0A# supported by the =
puc(4) glue driver, uncomment the following =0A# line to enable it (connect=
s to sio, uart and/or ppc drivers): =0A#device puc =0A=0A# PCI Ethernet NIC=
s. =0Adevice de # DEC/Intel DC21x4x (``Tulip'') =0Adevice em # Intel PRO/10=
00 adapter Gigabit Ethernet Card =0Adevice ixgb # Intel PRO/10GbE Ethernet =
Card =0Adevice le # AMD Am7900 LANCE and Am79C9xx PCnet =0Adevice txp # 3Co=
m 3cR990 (``Typhoon'') =0A#device vx # 3Com 3c590, 3c595 (``Vortex'') =0A=
=0A# PCI Ethernet NICs that use the common MII bus controller code. =0A# NO=
TE: Be sure to keep the 'device miibus' line in order to use=0Athese NICs! =
=0Adevice miibus # MII bus support =0Adevice bce # Broadcom BCM5706/BCM5708=
 Gigabit Ethernet =0A#device bfe # Broadcom BCM440x 10/100 Ethernet =0Adevi=
ce bge # Broadcom BCM570xx Gigabit Ethernet =0A#device dc # DEC/Intel 21143=
 and various workalikes =0Adevice fxp # Intel EtherExpress PRO/100B (82557,=
 82558) =0Adevice lge # Level 1 LXT1001 gigabit Ethernet =0Adevice msk # Ma=
rvell/SysKonnect Yukon II Gigabit Ethernet =0Adevice nfe # nVidia nForce MC=
P on-board Ethernet =0A#device nge # NatSemi DP83820 gigabit Ethernet =0A#d=
evice nve # nVidia nForce MCP on-board Ethernet Networking =0A#device pcn #=
 AMD Am79C97x PCI 10/100 (precedence over 'le') =0A#device re # RealTek 813=
9C+/8169/8169S/8110S =0Adevice rl # RealTek 8129/8139 =0A#device sf # Adapt=
ec AIC-6915 (``Starfire'') =0A#device sis # Silicon Integrated Systems SiS =
900/SiS 7016 =0Adevice sk # SysKonnect SK-984x & SK-982x gigabit Ethernet =
=0Adevice ste # Sundance ST201 (D-Link DFE-550TX) =0Adevice stge # Sundance=
/Tamarack TC9021 gigabit Ethernet =0Adevice ti # Alteon Networks Tigon I/II=
 gigabit Ethernet =0Adevice tl # Texas Instruments ThunderLAN =0A#device tx=
 # SMC EtherPower II (83c170 ``EPIC'') =0A#device vge # VIA VT612x gigabit =
Ethernet =0A#device vr # VIA Rhine, Rhine II =0A#device wb # Winbond W89C84=
0F =0Adevice xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') =0A=0A# ISA Ether=
net NICs. pccard NICs included. =0Adevice cs # Crystal Semiconductor CS89x0=
 NIC =0A# 'device ed' requires 'device miibus' =0A#device ed # NE[12]000, S=
MC Ultra, 3c503, DS8390 cards =0A#device ex # Intel EtherExpress Pro/10 and=
 Pro/10+ =0A#device ep # Etherlink III based cards =0A#device fe # Fujitsu =
MB8696x based cards =0A#device ie # EtherExpress 8/16, 3C507, StarLAN 10 et=
c. =0A#device sn # SMC's 9000 series of Ethernet chips =0A#device xe # Xirc=
om pccard Ethernet =0A=0A# Wireless NIC cards =0A#device wlan # 802.11 supp=
ort =0A#device wlan_wep # 802.11 WEP support =0A#device wlan_ccmp # 802.11 =
CCMP support =0A#device wlan_tkip # 802.11 TKIP support =0A#device wlan_amr=
r # AMRR transmit rate control algorithm =0A#device wlan_scan_ap # 802.11 A=
P mode scanning =0A#device wlan_scan_sta # 802.11 STA mode scanning =0A#dev=
ice an # Aironet 4500/4800 802.11 wireless NICs. =0A#device ath # Atheros p=
ci/cardbus NIC's =0A#device ath_hal # Atheros HAL (Hardware Access Layer) =
=0A#device ath_rate_sample # SampleRate tx rate control for ath =0A#device =
awi # BayStack 660 and others =0A#device ral # Ralink Technology RT2500 wir=
eless NICs. =0A#device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. =
=0A#device wl # Older non 802.11 Wavelan wireless NIC. =0A=0A# Pseudo devic=
es. =0Adevice loop # Network loopback =0Adevice random # Entropy device =0A=
device ether # Ethernet support =0A#device sl # Kernel SLIP =0Adevice ppp #=
 Kernel PPP =0Adevice tun # Packet tunnel. =0Adevice pty # Pseudo-ttys (tel=
net etc) =0Adevice md # Memory "disks" =0Adevice gif # IPv6 and IPv4 tunnel=
ing =0A#device faith # IPv6-to-IPv4 relaying (translation) =0Adevice firmwa=
re # firmware assist module =0A=0A# The `bpf' device enables the Berkeley P=
acket Filter. =0A# Be aware of the administrative consequences of enabling =
this! =0A# Note that 'bpf' is required for DHCP. =0Adevice bpf # Berkeley p=
acket filter =0A=0A# USB support =0A#device uhci # UHCI PCI->USB interface =
=0A#device ohci # OHCI PCI->USB interface =0A#device ehci # EHCI PCI->USB i=
nterface (USB 2.0) =0A#device usb # USB Bus (required) =0A#device udbp # US=
B Double Bulk Pipe devices =0A#device ugen # Generic =0A#device uhid # "Hum=
an Interface Devices" =0A#device ukbd # Keyboard =0A#device ulpt # Printer =
=0A#device umass # Disks/Mass storage - Requires scbus and da =0A#device um=
s # Mouse =0A#device ural # Ralink Technology RT2500USB wireless NICs =0A#d=
evice rum # Ralink Technology RT2501USB wireless NICs =0A#device urio # Dia=
mond Rio 500 MP3 player =0A#device uscanner # Scanners =0A# USB Ethernet, r=
equires miibus =0A#device aue # ADMtek USB Ethernet =0A#device axe # ASIX E=
lectronics USB Ethernet =0A#device cdce # Generic USB over Ethernet =0A#dev=
ice cue # CATC USB Ethernet =0A#device kue # Kawasaki LSI USB Ethernet =0A#=
device rue # RealTek RTL8150 USB Ethernet =0A=0A# FireWire support =0A#devi=
ce firewire # FireWire bus code =0A#device sbp # SCSI over FireWire (Requir=
es scbus and da) =0A#device fwe # Ethernet over FireWire (non-standard!) =
=0A#device fwip # IP over FireWire (RFC 2734,3146) =0A#device dcons # Dumb =
console driver =0A#device dcons_crom # Configuration ROM for dcons =0AThank=
s, =0AAlex =0A=0A 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1205996802.47e20d02a9909>