Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2002 21:09:41 -1000 (HST)
From:      Vincent Poy <vince@oahu.WURLDLINK.NET>
To:        current@FreeBSD.ORG
Subject:   kernel build fails in latest -CURRENT
Message-ID:  <20020127210806.P37944-100000@oahu.WURLDLINK.NET>

next in thread | raw e-mail | index | archive | help
	With the latest -CURRENT, the kernel fails building with the SVR4
option but is fine without the SVR4 options as follows:

touch hack.c
cc -elf -shared -nostdlib hack.c -o hack.So
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh PELE
cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -ansi -g -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include  -D_KERNEL
-ffreestanding -include opt_global.h -fno-common -elf
-mpreferred-stack-boundary=2  vers.c
linking kernel.debug
svr4_filio.o: In function `svr4_fil_ioctl':
/usr/src/sys/compat/svr4/svr4_filio.c(.text+0xbd): undefined reference to
`mtx_lock'
/usr/src/sys/compat/svr4/svr4_filio.c(.text+0x118): undefined reference to
`mtx_unlock'
/usr/src/sys/compat/svr4/svr4_filio.c(.text+0x130): undefined reference to
`mtx_unlock'
/usr/src/sys/compat/svr4/svr4_filio.c(.text+0x141): undefined reference to
`mtx_unlock'
/usr/src/sys/compat/svr4/svr4_filio.c(.text+0x1ed): undefined reference to
`mtx_unlock'
*** Error code 1

Stop in /usr/obj/usr/src/sys/PELE.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
root@pele [9:08pm][/usr/src] >>


Cheers,
Vince - vince@WURLDLINK.NET - Vice President             ________   __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation                                  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong                  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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