GEOM_BDE

From: Jacek Serwatynski <tutus_at_trynet.eu.org>
Date: Tue, 14 Oct 2003 21:49:03 +0200
Hi

I have problem with compiling my kernel. I wanted to play with gbde so i
added options GEOM_BDE.I have been doing cvsup at Tue Oct 14 20:43:17 2003 CEST
My config kernel:

machine         i386
cpu             I686_CPU
ident           BSD5m
makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug
symbols
options         SC_PIXEL_MODE
options         IPFIREWALL
options         IPDIVERT
options         IPFIREWALL_VERBOSE
options         IPFIREWALL_VERBOSE_LIMIT=100
options         IPFIREWALL_FORWARD
options         TCP_DROP_SYNFIN
options         PFIL_HOOKS
options         QUOTA
options         EXT2FS
options         MAXCONS=20
options         SC_HISTORY_SIZE=5000
options         CPU_ENABLE_SSE
options         GEOM_BDE
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
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP
options         COMPAT_FREEBSD4         #Compatible with FreeBSD4
options         SCSI_DELAY=5000 #Delay (in ms) before probing SCSI
options         KTRACE                  #ktrace(1) support
options         _KPOSIX_PRIORITY_SCHEDULING
options         KBD_INSTALL_CDEV
options         AHC_REG_PRETTY_PRINT
options         AHD_REG_PRETTY_PRINT
options         DDB                     #Enable the kernel debugger
options         CONSPEED=115200
device          isa
device          pci
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering
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
device          sc
device          npx
device          sio             # 8250, 16[45]50 based serial ports
device          ppc
device          ppbus           # Parallel port bus (required)
device          loop            # Network loopback
device          ether           # Ethernet support
device          pty             # Pseudo-ttys (telnet etc)
device          bpf             # Berkeley packet filter

Errors during compile:

cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -fno-common - finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror  vers.c
g_bde_crypt.o: In function `g_bde_kkey':
/usr/src/sys/geom/bde/g_bde.h:189: undefined reference to `rijndael_makeKey'
g_bde_crypt.o: In function `g_bde_crypt_read':
/usr/src/sys/geom/bde/g_bde.h:180: undefined reference to `rijndael_cipherInit'
/usr/src/sys/geom/bde/g_bde.h:207: undefined reference to `rijndael_blockDecrypt'
/usr/src/sys/geom/bde/g_bde.h:189: undefined reference to `rijndael_makeKey'
/usr/src/sys/geom/bde/g_bde.h:207: undefined reference to `rijndael_blockDecrypt'
g_bde_crypt.o: In function `g_bde_crypt_write':
/usr/src/sys/geom/bde/g_bde.h:180: undefined reference to `rijndael_cipherInit'
/usr/src/sys/geom/bde/g_bde.h:189: undefined reference to `rijndael_makeKey'
/usr/src/sys/geom/bde/g_bde.h:198: undefined reference to `rijndael_blockEncrypt'
/usr/src/sys/geom/bde/g_bde.h:198: undefined reference to `rijndael_blockEncrypt'
g_bde_crypt.o: In function `g_bde_crypt_delete':
/usr/src/sys/geom/bde/g_bde.h:180: undefined reference to `rijndael_cipherInit'
/usr/src/sys/geom/bde/g_bde.h:189: undefined reference to `rijndael_makeKey'
/usr/src/sys/geom/bde/g_bde.h:198: undefined reference to `rijndael_blockEncrypt'
g_bde_lock.o: In function `g_bde_hash_pass':
/usr/src/sys/geom/bde/g_bde_lock.c:81: undefined reference to `SHA512_Init'
/usr/src/sys/geom/bde/g_bde_lock.c:82: undefined reference to `SHA512_Update'
/usr/src/sys/geom/bde/g_bde_lock.c:83: undefined reference to `SHA512_Final'

g_bde_lock.o: In function `g_bde_keyloc_encrypt':
/usr/src/sys/geom/bde/g_bde.h:180: undefined reference to `rijndael_cipherInit'
/usr/src/sys/geom/bde/g_bde.h:189: undefined reference to `rijndael_makeKey'
/usr/src/sys/geom/bde/g_bde.h:198: undefined reference to `rijndael_blockEncrypt'
g_bde_lock.o: In function `g_bde_keyloc_decrypt':
/usr/src/sys/geom/bde/g_bde.h:180: undefined reference to `rijndael_cipherInit'
/usr/src/sys/geom/bde/g_bde.h:189: undefined reference to `rijndael_makeKey'
/usr/src/sys/geom/bde/g_bde.h:207: undefined reference to `rijndael_blockDecrypt'
g_bde_lock.o: In function `g_bde_decrypt_lockx':
/usr/src/sys/geom/bde/g_bde.h:180: undefined reference to `rijndael_cipherInit'
/usr/src/sys/geom/bde/g_bde.h:189: undefined reference to `rijndael_makeKey'
/usr/src/sys/geom/bde/g_bde.h:207: undefined reference to `rijndael_blockDecrypt'
*** Error code 1

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

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

Stop in /usr/src.


-- 
Jacek Serwatynski <tutus_at_trynet.eu.org> | PGP_key: www.trynet.eu.org/pub.key
------ PGP_finger: 5E30 D9C4 976C E9B1 9920  B155 962A 737B 1EFA 5987 ------
Received on Tue Oct 14 2003 - 10:49:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:25 UTC