|
各位,你们都是怎么装上的阿,打什么补丁?cce我也出错,晕。
- unicon-3.0.4 # make
- cd unikey; make
- make[1]: Entering directory `/home/wbb/unicon-3.0.4/unikey'
- gcc -g -O2 -I. -I./include -I../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -Wall -O2 -DMODULE -D__KERNEL__ -DLINUX -c xl_keyhooks.c -o xl_keyhooks.o
- cc1: /usr/src/linux/include/linux/modversions.h: 没有那个文件或目录
- In file included from /usr/src/linux/include/asm/processor.h:18,
- from /usr/src/linux/include/linux/prefetch.h:14,
- from /usr/src/linux/include/linux/list.h:7,
- from /usr/src/linux/include/linux/wait.h:23,
- from /usr/src/linux/include/linux/fs.h:205,
- from /usr/src/linux/include/linux/tty.h:20,
- from xl_keyhooks.c:27:
- /usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
- /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
- /usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
- xl_keyhooks.c:30:26: linux/malloc.h: 没有那个文件或目录
- make[1]: *** [xl_keyhooks.o] 错误 1
- make[1]: Leaving directory `/home/wbb/unicon-3.0.4/unikey'
- make: *** [all] 错误 2
复制代码
打了两个补丁unicon-3.0.4-gcc34.patch和vd_unicon-userland-20031122vd.patch后依然不行。
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In cons
- tructor `std::reverse_iterator<_Iterator>::reverse_iterator()':
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:114: err
- or: class `std::reverse_iterator<_Iterator>' does not have any field named `get_
- current'
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:114: err
- or: expected `{' before '(' token
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In cons
- tructor `std::reverse_iterator<_Iterator>::reverse_iterator(_Iterator)':
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:120: err
- or: class `std::reverse_iterator<_Iterator>' does not have any field named `get_
- current'
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:120: err or: expected `{' before '(' token
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In copy constructor `std::reverse_iterator<_Iterator>::reverse_iterator(const std::reve rse_iterator<_Iterator>&)':
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:126: err or: class `std::reverse_iterator<_Iterator>' does not have any field named `get_ current'
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:126: err or: expected `{' before '(' token
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h: In cons tructor `std::reverse_iterator<_Iterator>::reverse_iterator(const std::reverse_i terator<_Iter>&)':
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:134: err or: class `std::reverse_iterator<_Iterator>' does not have any field named `get_ current'
- /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_iterator.h:134: err or: expected `{' before '(' token
- make[2]: *** [Main.o] 错误 1
- make[2]: Leaving directory `/home/wbb/unicon-3.0.4/unicon/unicon'
- make[1]: *** [all] 错误 2
- make[1]: Leaving directory `/home/wbb/unicon-3.0.4/unicon'
- make: *** [all] 错误 2
复制代码
emerge unicon 也不行:
- ./txt2tab sysphrase.txt sysphrase.tab
- FileSize=397322 TotalItem=36745
- Length=2 Count=21289
- Length=3 Count=4265
- Length=4 Count=3835
- Length=5 Count=321
- Length=6 Count=144
- Length=7 Count=0
- Length=8 Count=0
- Length=9 Count=0
- TotalPhrases = 29854, MaxPhrasePerPinyin=21
- ./txt2tab1 usrphrase.txt usrphrase.tab
- FileSize=13495 TotalItem=1017
- make[2]: Leaving directory `/var/tmp/portage/unicon-3.0.4/work/unicon-3.0.4/unicon/ImmModules/cce/inputs'
- make[1]: Leaving directory `/var/tmp/portage/unicon-3.0.4/work/unicon-3.0.4/unicon'
- gcc -O2 -march=athlon-xp -fomit-frame-pointer -I. -I../include -lnewt uniconcfg.c -o uniconcfg
- uniconcfg.c: In function `TestFontExist':
- uniconcfg.c:205: error: label at end of compound statement
- make: *** [uniconcfg] Error 1
- !!! ERROR: app-i18n/unicon-3.0.4 failed.
- !!! Function src_compile, Line 40, Exitcode 2
- !!! make tools failed
- !!! If you need support, post the topmost build error, NOT this status message.
复制代码 |
|