ядро с iconv
- From
- vadim s. sabinich (2:5070/665.264)
- To
- All
- Date
- 2006-12-16T13:52:26Z
- Area
- RU.UNIX.BSD
FreeBSD 6.1-RELEASE
Решил собрать ядро с опциями:
options CD9660_ICONV
options MSDOSFS_ICONV
options NTFS_ICONV
options UDF_ICONV
получаю такое: что я делаю не так?
mef@phobos /usr/src/sys/i386/compile/PHOBOS:$ sudo make all install
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror config.c
touch hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=make sh ../../../conf/newvers.sh PHOBOS
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c
linking kernel.debug
msdosfs_iconv.o(.text+0x2a): In function `msdosfs_iconv_mod_handler':
../../../fs/msdosfs/msdosfs_iconv.c:36: undefined reference to `iconv_vfs_refcount'
msdosfs_iconv.o(.data+0x0):../../../fs/msdosfs/msdosfs_iconv.c:36: undefined reference to `iconv_open'
msdosfs_iconv.o(.data+0x4):../../../fs/msdosfs/msdosfs_iconv.c:36: undefined reference to `iconv_close'
msdosfs_iconv.o(.data+0x8):../../../fs/msdosfs/msdosfs_iconv.c:36: undefined reference to `iconv_conv'
msdosfs_iconv.o(.data+0xc):../../../fs/msdosfs/msdosfs_iconv.c:36: undefined reference to `iconv_conv_case'
msdosfs_iconv.o(.data+0x10):../../../fs/msdosfs/msdosfs_iconv.c:36: undefined reference to `iconv_convchr'
msdosfs_iconv.o(.data+0x14):../../../fs/msdosfs/msdosfs_iconv.c:36: undefined reference to `iconv_convchr_case'
ntfs_iconv.o(.text+0x1a): In function `ntfs_iconv_mod_handler':
../../../fs/ntfs/ntfs_iconv.c:36: undefined reference to `ntfs_iconv'
ntfs_iconv.o(.text+0x2a):../../../fs/ntfs/ntfs_iconv.c:36: undefined reference to `iconv_vfs_refcount'
ntfs_iconv.o(.text+0x3e):../../../fs/ntfs/ntfs_iconv.c:36: undefined reference to `ntfs_iconv'
ntfs_iconv.o(.data+0x0):../../../fs/ntfs/ntfs_iconv.c:36: undefined reference to `iconv_open'
ntfs_iconv.o(.data+0x4):../../../fs/ntfs/ntfs_iconv.c:36: undefined reference to `iconv_close'
ntfs_iconv.o(.data+0x8):../../../fs/ntfs/ntfs_iconv.c:36: undefined reference to `iconv_conv'
ntfs_iconv.o(.data+0xc):../../../fs/ntfs/ntfs_iconv.c:36: undefined reference to `iconv_conv_case'
ntfs_iconv.o(.data+0x10):../../../fs/ntfs/ntfs_iconv.c:36: undefined reference to `iconv_convchr'
ntfs_iconv.o(.data+0x14):../../../fs/ntfs/ntfs_iconv.c:36: undefined reference to `iconv_convchr_case'
udf_iconv.o(.text+0x1a): In function `udf_iconv_mod_handler':
../../../fs/udf/udf_iconv.c:36: undefined reference to `udf_iconv'
udf_iconv.o(.text+0x2a):../../../fs/udf/udf_iconv.c:36: undefined reference to `iconv_vfs_refcount'
udf_iconv.o(.text+0x3e):../../../fs/udf/udf_iconv.c:36: undefined reference to `udf_iconv'
udf_iconv.o(.data+0x0):../../../fs/udf/udf_iconv.c:36: undefined reference to `iconv_open'
udf_iconv.o(.data+0x4):../../../fs/udf/udf_iconv.c:36: undefined reference to `iconv_close'
udf_iconv.o(.data+0x8):../../../fs/udf/udf_iconv.c:36: undefined reference to `iconv_conv'
udf_iconv.o(.data+0xc):../../../fs/udf/udf_iconv.c:36: undefined reference to `iconv_conv_case'
udf_iconv.o(.data+0x10):../../../fs/udf/udf_iconv.c:36: undefined reference to `iconv_convchr'
udf_iconv.o(.data+0x14):../../../fs/udf/udf_iconv.c:36: undefined reference to `iconv_convchr_case'
cd9660_iconv.o(.text+0x2a): In function `cd9660_iconv_mod_handler':
../../../isofs/cd9660/cd9660_iconv.c:36: undefined reference to `iconv_vfs_refcount'
cd9660_iconv.o(.data+0x0):../../../isofs/cd9660/cd9660_iconv.c:36: undefined reference to `iconv_open'
cd9660_iconv.o(.data+0x4):../../../isofs/cd9660/cd9660_iconv.c:36: undefined reference to `iconv_close'
cd9660_iconv.o(.data+0x8):../../../isofs/cd9660/cd9660_iconv.c:36: undefined reference to `iconv_conv'
cd9660_iconv.o(.data+0xc):../../../isofs/cd9660/cd9660_iconv.c:36: undefined reference to `iconv_conv_case'
cd9660_iconv.o(.data+0x10):../../../isofs/cd9660/cd9660_iconv.c:36: undefined reference to `iconv_convchr'
cd9660_iconv.o(.data+0x14):../../../isofs/cd9660/cd9660_iconv.c:36: undefined reference to `iconv_convchr_case'
*** Error code 1
//mef
--- np: [cd-a] Betray My Secrets/Betray My Secrets`1999/Ever Expanding Eternity
* Origin: FABRYKA NIEWOLNIKOV (2:5070/665.264@fidonet.org)
SEEN-BY: 46/50 50/12 400/567 814 450/1024 452/25 154 461/48 1313 469/142
SEEN-BY: 2432/260 4615/21 4635/1024 5000/5000 5001/100 5002/63 5011/13 5012/30
SEEN-BY: 5012/46 5015/28 5019/26 5020/400 545 715 760 830 1042 1641 2238 2395
SEEN-BY: 5020/2871 4441 5021/29 44 5023/46 5025/3 9595 5027/12 5028/61 5029/60
SEEN-BY: 5030/115 731 830 901 1080 1957 5035/38 5036/10 5042/12 21 5045/7
SEEN-BY: 5049/19 164 5050/151 5052/4 5054/1 4 8 9 11 28 35 36 37 45 50 66 67
SEEN-BY: 5054/70 75 84 85 89 5058/42 999 5059/9 5062/10 5063/3 5064/7 5070/156
SEEN-BY: 5070/280 665 5071/22 166 5074/24 5076/1 5077/70 5078/20 5080/111 147
SEEN-BY: 5080/237 1003 5084/9 5085/13 87 5093/4 33 55 5095/20 5096/18 5097/31
SEEN-BY: 5097/303 6001/10 6028/1 6055/2 6070/5 6083/12
PATH: 5070/665 156 5080/1003 5020/545 5054/1 37