当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 8 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 64位Ubuntu编译Ucimf出现的问题,代码见内部。
帖子发表于 : 2010-06-22 22:29 
头像

注册: 2010-04-22 9:47
帖子: 93
地址: 哈尔滨
送出感谢: 0 次
接收感谢: 0 次
./configure代码如下:
zhong@ubuntu:/usr/local/src$ ls
aMule-2.2.6 libucimf-2.3.1 libucimf-2.3.1.tar.gz
zhong@ubuntu:/usr/local/src$ cd libucimf-2.3.1/
zhong@ubuntu:/usr/local/src/libucimf-2.3.1$ ls
aclocal.m4 debug.h libucimf-uninstalled.pc TODO
AUTHORS depcomp libucimf-uninstalled.pc.in type.cpp
ChangeLog display ltmain.sh ucimf.conf
compile font Makefile.am ucimf.conf.example
config.guess graphdev.cpp Makefile.in ucimf.cpp
config.h.in graphdev.h missing ucimf_keyboard.cpp
config.sub graphport.cpp NEWS ucimf_start
configure include options.cpp widget.cpp
configure.ac INSTALL options.h window.cpp
COPYING install-sh README
cwm.cpp libucimf.pc shape.cpp
cwm.h libucimf.pc.in shape.h
zhong@ubuntu:/usr/local/src/libucimf-2.3.1$ sudo ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether gcc and cc understand -c and -o together... yes
checking for lt_dlopen in -lltdl... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for freetype2... yes
checking for fontconfig... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether closedir returns void... no
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for memmove... yes
checking for memset... yes
checking for munmap... yes
checking for setlocale... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libucimf-uninstalled.pc
config.status: creating libucimf.pc
config.status: creating font/Makefile
config.status: creating display/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
zhong@ubuntu:/usr/local/src/libucimf-2.3.1$

然后是make:

zhong@ubuntu:/usr/local/src/libucimf-2.3.1$ sudo make
make all-recursive
make[1]: 正在进入目录 `/usr/local/src/libucimf-2.3.1'
Making all in display
make[2]: 正在进入目录 `/usr/local/src/libucimf-2.3.1/display'
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -g -O2 -MT libdisplay_a-fbdev.o -MD -MP -MF .deps/libdisplay_a-fbdev.Tpo -c -o libdisplay_a-fbdev.o `test -f 'fbdev.cpp' || echo './'`fbdev.cpp
mv -f .deps/libdisplay_a-fbdev.Tpo .deps/libdisplay_a-fbdev.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -g -O2 -MT libdisplay_a-fblinear15.o -MD -MP -MF .deps/libdisplay_a-fblinear15.Tpo -c -o libdisplay_a-fblinear15.o `test -f 'fblinear15.cpp' || echo './'`fblinear15.cpp
mv -f .deps/libdisplay_a-fblinear15.Tpo .deps/libdisplay_a-fblinear15.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -g -O2 -MT libdisplay_a-fblinear16.o -MD -MP -MF .deps/libdisplay_a-fblinear16.Tpo -c -o libdisplay_a-fblinear16.o `test -f 'fblinear16.cpp' || echo './'`fblinear16.cpp
mv -f .deps/libdisplay_a-fblinear16.Tpo .deps/libdisplay_a-fblinear16.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -g -O2 -MT libdisplay_a-fblinear24.o -MD -MP -MF .deps/libdisplay_a-fblinear24.Tpo -c -o libdisplay_a-fblinear24.o `test -f 'fblinear24.cpp' || echo './'`fblinear24.cpp
mv -f .deps/libdisplay_a-fblinear24.Tpo .deps/libdisplay_a-fblinear24.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -g -O2 -MT libdisplay_a-fblinear32.o -MD -MP -MF .deps/libdisplay_a-fblinear32.Tpo -c -o libdisplay_a-fblinear32.o `test -f 'fblinear32.cpp' || echo './'`fblinear32.cpp
mv -f .deps/libdisplay_a-fblinear32.Tpo .deps/libdisplay_a-fblinear32.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -g -O2 -MT libdisplay_a-fblinear4.o -MD -MP -MF .deps/libdisplay_a-fblinear4.Tpo -c -o libdisplay_a-fblinear4.o `test -f 'fblinear4.cpp' || echo './'`fblinear4.cpp
mv -f .deps/libdisplay_a-fblinear4.Tpo .deps/libdisplay_a-fblinear4.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -g -O2 -MT libdisplay_a-fblinear8.o -MD -MP -MF .deps/libdisplay_a-fblinear8.Tpo -c -o libdisplay_a-fblinear8.o `test -f 'fblinear8.cpp' || echo './'`fblinear8.cpp
mv -f .deps/libdisplay_a-fblinear8.Tpo .deps/libdisplay_a-fblinear8.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -g -O2 -MT libdisplay_a-fbvgaplanes.o -MD -MP -MF .deps/libdisplay_a-fbvgaplanes.Tpo -c -o libdisplay_a-fbvgaplanes.o `test -f 'fbvgaplanes.cpp' || echo './'`fbvgaplanes.cpp
mv -f .deps/libdisplay_a-fbvgaplanes.Tpo .deps/libdisplay_a-fbvgaplanes.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -fPIC -g -O2 -MT libdisplay_a-lrmi.o -MD -MP -MF .deps/libdisplay_a-lrmi.Tpo -c -o libdisplay_a-lrmi.o `test -f 'lrmi.c' || echo './'`lrmi.c
mv -f .deps/libdisplay_a-lrmi.Tpo .deps/libdisplay_a-lrmi.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I.. -fPIC -g -O2 -MT libdisplay_a-vgadev.o -MD -MP -MF .deps/libdisplay_a-vgadev.Tpo -c -o libdisplay_a-vgadev.o `test -f 'vgadev.cpp' || echo './'`vgadev.cpp
mv -f .deps/libdisplay_a-vgadev.Tpo .deps/libdisplay_a-vgadev.Po
rm -f libdisplay.a
ar cru libdisplay.a libdisplay_a-fbdev.o libdisplay_a-fblinear15.o libdisplay_a-fblinear16.o libdisplay_a-fblinear24.o libdisplay_a-fblinear32.o libdisplay_a-fblinear4.o libdisplay_a-fblinear8.o libdisplay_a-fbvgaplanes.o libdisplay_a-lrmi.o libdisplay_a-vgadev.o
ranlib libdisplay.a
make[2]:正在离开目录 `/usr/local/src/libucimf-2.3.1/display'
Making all in font
make[2]: 正在进入目录 `/usr/local/src/libucimf-2.3.1/font'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -static -g -O2 -MT libfont_a-font.o -MD -MP -MF .deps/libfont_a-font.Tpo -c -o libfont_a-font.o `test -f 'font.cpp' || echo './'`font.cpp
mv -f .deps/libfont_a-font.Tpo .deps/libfont_a-font.Po
rm -f libfont.a
ar cru libfont.a libfont_a-font.o
ranlib libfont.a
make[2]:正在离开目录 `/usr/local/src/libucimf-2.3.1/font'
make[2]: 正在进入目录 `/usr/local/src/libucimf-2.3.1'
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-options.lo -MD -MP -MF .deps/libucimf_la-options.Tpo -c -o libucimf_la-options.lo `test -f 'options.cpp' || echo './'`options.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-options.lo -MD -MP -MF .deps/libucimf_la-options.Tpo -c options.cpp -fPIC -DPIC -o .libs/libucimf_la-options.o
options.cpp: In member function ‘char* Options::getOption(const char*)’:
options.cpp:125: warning: deprecated conversion from string constant to ‘char*’
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-options.lo -MD -MP -MF .deps/libucimf_la-options.Tpo -c options.cpp -o libucimf_la-options.o >/dev/null 2>&1
mv -f .deps/libucimf_la-options.Tpo .deps/libucimf_la-options.Plo
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-graphdev.lo -MD -MP -MF .deps/libucimf_la-graphdev.Tpo -c -o libucimf_la-graphdev.lo `test -f 'graphdev.cpp' || echo './'`graphdev.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-graphdev.lo -MD -MP -MF .deps/libucimf_la-graphdev.Tpo -c graphdev.cpp -fPIC -DPIC -o .libs/libucimf_la-graphdev.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-graphdev.lo -MD -MP -MF .deps/libucimf_la-graphdev.Tpo -c graphdev.cpp -o libucimf_la-graphdev.o >/dev/null 2>&1
mv -f .deps/libucimf_la-graphdev.Tpo .deps/libucimf_la-graphdev.Plo
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-type.lo -MD -MP -MF .deps/libucimf_la-type.Tpo -c -o libucimf_la-type.lo `test -f 'type.cpp' || echo './'`type.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-type.lo -MD -MP -MF .deps/libucimf_la-type.Tpo -c type.cpp -fPIC -DPIC -o .libs/libucimf_la-type.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-type.lo -MD -MP -MF .deps/libucimf_la-type.Tpo -c type.cpp -o libucimf_la-type.o >/dev/null 2>&1
mv -f .deps/libucimf_la-type.Tpo .deps/libucimf_la-type.Plo
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-graphport.lo -MD -MP -MF .deps/libucimf_la-graphport.Tpo -c -o libucimf_la-graphport.lo `test -f 'graphport.cpp' || echo './'`graphport.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-graphport.lo -MD -MP -MF .deps/libucimf_la-graphport.Tpo -c graphport.cpp -fPIC -DPIC -o .libs/libucimf_la-graphport.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-graphport.lo -MD -MP -MF .deps/libucimf_la-graphport.Tpo -c graphport.cpp -o libucimf_la-graphport.o >/dev/null 2>&1
mv -f .deps/libucimf_la-graphport.Tpo .deps/libucimf_la-graphport.Plo
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-window.lo -MD -MP -MF .deps/libucimf_la-window.Tpo -c -o libucimf_la-window.lo `test -f 'window.cpp' || echo './'`window.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-window.lo -MD -MP -MF .deps/libucimf_la-window.Tpo -c window.cpp -fPIC -DPIC -o .libs/libucimf_la-window.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-window.lo -MD -MP -MF .deps/libucimf_la-window.Tpo -c window.cpp -o libucimf_la-window.o >/dev/null 2>&1
mv -f .deps/libucimf_la-window.Tpo .deps/libucimf_la-window.Plo
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-widget.lo -MD -MP -MF .deps/libucimf_la-widget.Tpo -c -o libucimf_la-widget.lo `test -f 'widget.cpp' || echo './'`widget.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-widget.lo -MD -MP -MF .deps/libucimf_la-widget.Tpo -c widget.cpp -fPIC -DPIC -o .libs/libucimf_la-widget.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-widget.lo -MD -MP -MF .deps/libucimf_la-widget.Tpo -c widget.cpp -o libucimf_la-widget.o >/dev/null 2>&1
mv -f .deps/libucimf_la-widget.Tpo .deps/libucimf_la-widget.Plo
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-shape.lo -MD -MP -MF .deps/libucimf_la-shape.Tpo -c -o libucimf_la-shape.lo `test -f 'shape.cpp' || echo './'`shape.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-shape.lo -MD -MP -MF .deps/libucimf_la-shape.Tpo -c shape.cpp -fPIC -DPIC -o .libs/libucimf_la-shape.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-shape.lo -MD -MP -MF .deps/libucimf_la-shape.Tpo -c shape.cpp -o libucimf_la-shape.o >/dev/null 2>&1
mv -f .deps/libucimf_la-shape.Tpo .deps/libucimf_la-shape.Plo
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-cwm.lo -MD -MP -MF .deps/libucimf_la-cwm.Tpo -c -o libucimf_la-cwm.lo `test -f 'cwm.cpp' || echo './'`cwm.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-cwm.lo -MD -MP -MF .deps/libucimf_la-cwm.Tpo -c cwm.cpp -fPIC -DPIC -o .libs/libucimf_la-cwm.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-cwm.lo -MD -MP -MF .deps/libucimf_la-cwm.Tpo -c cwm.cpp -o libucimf_la-cwm.o >/dev/null 2>&1
mv -f .deps/libucimf_la-cwm.Tpo .deps/libucimf_la-cwm.Plo
/bin/bash ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-ucimf.lo -MD -MP -MF .deps/libucimf_la-ucimf.Tpo -c -o libucimf_la-ucimf.lo `test -f 'ucimf.cpp' || echo './'`ucimf.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-ucimf.lo -MD -MP -MF .deps/libucimf_la-ucimf.Tpo -c ucimf.cpp -fPIC -DPIC -o .libs/libucimf_la-ucimf.o
ucimf.cpp: In function ‘void scanImf()’:
ucimf.cpp:146: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I./include -I./include/imf -I./font -g -O2 -MT libucimf_la-ucimf.lo -MD -MP -MF .deps/libucimf_la-ucimf.Tpo -c ucimf.cpp -o libucimf_la-ucimf.o >/dev/null 2>&1
mv -f .deps/libucimf_la-ucimf.Tpo .deps/libucimf_la-ucimf.Plo
/bin/bash ./libtool --tag=CXX --mode=link g++ -g -O2 -lltdl -o libucimf.la -rpath /usr/local/lib libucimf_la-options.lo libucimf_la-graphdev.lo libucimf_la-type.lo libucimf_la-graphport.lo libucimf_la-window.lo libucimf_la-widget.lo libucimf_la-shape.lo libucimf_la-cwm.lo libucimf_la-ucimf.lo ./display/libdisplay.a ./font/libfont.a -lltdl

*** Warning: Linking the shared library libucimf.la against the
*** static library ./display/libdisplay.a is not portable!

*** Warning: Linking the shared library libucimf.la against the
*** static library ./font/libfont.a is not portable!
libtool: link: g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtbeginS.o .libs/libucimf_la-options.o .libs/libucimf_la-graphdev.o .libs/libucimf_la-type.o .libs/libucimf_la-graphport.o .libs/libucimf_la-window.o .libs/libucimf_la-widget.o .libs/libucimf_la-shape.o .libs/libucimf_la-cwm.o .libs/libucimf_la-ucimf.o ./display/libdisplay.a ./font/libfont.a /usr/lib/libltdl.so -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../.. -L/usr/lib/x86_64-linux-gnu -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.4.3/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/crtn.o -Wl,-soname -Wl,libucimf.so.0 -o .libs/libucimf.so.0.0.0
/usr/bin/ld: ./font/libfont.a(libfont_a-font.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
./font/libfont.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libucimf.la] 错误 1
make[2]:正在离开目录 `/usr/local/src/libucimf-2.3.1'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/usr/local/src/libucimf-2.3.1'
make: *** [all] 错误 2
zhong@ubuntu:/usr/local/src/libucimf-2.3.1$


这是怎么回事?64位的能否编译安装Ucimf???我已经安装了fbterm。


_________________
Lenovo ThinkPad T400用户,受够了Windows平台相关的折磨,抛弃Microsoft Windows 7奔向Linux Ubuntu......

Feel like a fresh, New man...... just like the unpluged Agent Smith in Matrix......


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 64位Ubuntu编译Ucimf出现的问题,代码见内部。
帖子发表于 : 2010-06-22 23:52 

注册: 2010-01-13 23:26
帖子: 3173
送出感谢: 0 次
接收感谢: 12
LZ,你中奖啦! :em09

我正在和作者尝试解决这个问题,要不你试试用这个编译选项做下实验:
./configure -cc "gcc -fPIC"
虽然我的amd64机器上依然还不行。 :em06


_________________
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 64位Ubuntu编译Ucimf出现的问题,代码见内部。
帖子发表于 : 2010-06-23 8:03 
头像

注册: 2010-04-22 9:47
帖子: 93
地址: 哈尔滨
送出感谢: 0 次
接收感谢: 0 次
活活 楼上同病相怜,我试试。


_________________
Lenovo ThinkPad T400用户,受够了Windows平台相关的折磨,抛弃Microsoft Windows 7奔向Linux Ubuntu......

Feel like a fresh, New man...... just like the unpluged Agent Smith in Matrix......


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 64位Ubuntu编译Ucimf出现的问题,代码见内部。
帖子发表于 : 2010-06-23 8:13 
头像

注册: 2010-04-22 9:47
帖子: 93
地址: 哈尔滨
送出感谢: 0 次
接收感谢: 0 次
我也已经联系了作者了。


_________________
Lenovo ThinkPad T400用户,受够了Windows平台相关的折磨,抛弃Microsoft Windows 7奔向Linux Ubuntu......

Feel like a fresh, New man...... just like the unpluged Agent Smith in Matrix......


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 64位Ubuntu编译Ucimf出现的问题,代码见内部。
帖子发表于 : 2010-06-23 16:22 

注册: 2010-01-13 23:26
帖子: 3173
送出感谢: 0 次
接收感谢: 12
附件里是我编译的,你看看能不能用。我这里可以了。

其他包用Debian里的就可以,按source找:fbterm-ucimf,ucimf-openvanilla这两个,另外的openvanilla-modules编译安装吧,还在NEW里没进去呢。


附件:
文件注释: 20100623
libucimf-2.3.4+devbuild.tar.gz [72.47 KiB]
被下载 4 次


_________________
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
页首
 用户资料  
 
6 楼 
 文章标题 : Re: 64位Ubuntu编译Ucimf出现的问题,代码见内部。
帖子发表于 : 2010-06-24 9:46 

注册: 2008-04-27 1:10
帖子: 473
地址: http://blogs.gnome.org/happyaron/
送出感谢: 0 次
接收感谢: 2
我是 ucimf 的 Debian 包维护者,在 Debian 里安装 ucimf 现在还比较麻烦,具体方法可以参看 Debian 中 ucimf 软件包的 Readme.Debian。我简单说一下:

    1.依次安装以下几个软件包:
    代码:
    libucimf0 ucimf openvanilla-modules fbterm fbterm-ucimf ucimf-openvanilla
    2.设置 /usr/bin/fbterm 的suid和sgid,方法为在 root 下(或者普通用户加sudo):
    代码:
    # chown root:utmp /usr/bin/fbterm
    # chmod 6755 /usr/bin/fbterm
    3.设置 kernel frambuffer,一般就是在 grub/lilo 的参数上加个 vga=xxx,xxx是显示模式的数字,Ubuntu 上还需要解除 kernel module blacklist 中对 vesafb 的排除。设置完重启系统。

    4.开机后切换到一个 TTY 登录到任意用户,然后使用以下命令启动 fbterm:
    代码:
    fbterm -i fbterm_ucimf
    5.按 Ctrl+Space 激活/取消激活 ucimf,再使用 Ctrl+Shift[Left, Right] 来前后切换具体的输入法。


_________________
I will always return.


页首
 用户资料  
 
7 楼 
 文章标题 : Re: 64位Ubuntu编译Ucimf出现的问题,代码见内部。
帖子发表于 : 2010-06-25 9:52 
头像

注册: 2010-04-22 9:47
帖子: 93
地址: 哈尔滨
送出感谢: 0 次
接收感谢: 0 次
先这样吧。


_________________
Lenovo ThinkPad T400用户,受够了Windows平台相关的折磨,抛弃Microsoft Windows 7奔向Linux Ubuntu......

Feel like a fresh, New man...... just like the unpluged Agent Smith in Matrix......


页首
 用户资料  
 
8 楼 
 文章标题 : Re: 64位Ubuntu编译Ucimf出现的问题,代码见内部。
帖子发表于 : 2010-07-28 21:13 

注册: 2010-01-13 23:26
帖子: 3173
送出感谢: 0 次
接收感谢: 12
Debian里的openvanilla按照语言分包了,而且二进制包的名字也改了,上面的指南里安装包的步骤需要自己注意一下。


_________________
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 8 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译