Help, install pearpc 0.1.2
lan# ./configure --enable-gui
loading cache ./config.cache
checking host system type... i386-unknown-freebsd5.2.1
checking target system type... i386-unknown-freebsd5.2.1
checking build system type... i386-unknown-freebsd5.2.1
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... found
*** FREEBSD, building native FreeBSD version. we need pthread.
configure: warning: auto: unknown cpu, using generic...
checking for ranlib... (cached) ranlib
checking for gmake... (cached) /usr/local/bin/gmake
checking whether /usr/local/bin/gmake sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -D_FILE_OFFSET_BITS=64 -pipe -g -O2 -Wall -fsigned-char -fomit-frame-pointer ) works... yes
checking whether the C compiler (gcc -D_FILE_OFFSET_BITS=64 -pipe -g -O2 -Wall -fsigned-char -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ -D_FILE_OFFSET_BITS=64 -pipe -g -O2 -Wall -fsigned-char -fomit-frame-pointer ) works... yes
checking whether the C++ compiler (c++ -D_FILE_OFFSET_BITS=64 -pipe -g -O2 -Wall -fsigned-char -fomit-frame-pointer ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for bison... (cached) byacc
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for ar... (cached) /usr/bin/ar
checking for gar... (cached) /usr/bin/ar
*** unknown gui: yes
checking for ANSI C header files... (cached) yes
checking for pthread.h... (cached) yes
checking for working const... (cached) yes
checking size of char... (cached) 1
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long int... (cached) 4
checking size of long long... (cached) 8
updating cache ./config.cache
creating ./config.status
creating Makefile
creating scripts/Makefile
creating src/Makefile
creating src/cpu_generic/Makefile
creating src/cpu_jitc_x86/Makefile
creating src/debug/Makefile
creating src/io/Makefile
creating src/io/3c90x/Makefile
creating src/io/graphic/Makefile
creating src/io/ide/Makefile
creating src/io/prom/Makefile
creating src/io/prom/fs/Makefile
creating src/io/prom/fs/hfs/Makefile
creating src/io/prom/fs/hfsplus/Makefile
creating src/io/pic/Makefile
creating src/io/pci/Makefile
creating src/io/cuda/Makefile
creating src/io/macio/Makefile
creating src/io/nvram/Makefile
creating src/io/usb/Makefile
creating src/system/Makefile
creating src/system/gui/Makefile
creating src/system/gui/qt/Makefile
creating src/system/gui/gtk/Makefile
creating src/system/gui/win32/Makefile
creating src/system/gui/nogui/Makefile
creating src/system/posix/Makefile
creating src/system/win32/Makefile
creating src/tools/Makefile
creating config.h
config.h is unchanged
./configure successful.
=====================
Configuration summary
=====================
cpu: auto
gui: yes
enable profiling: no
make an optimized build: yes
omit frame pointer: yes
=====================
lan# make
/usr/local/bin/gmake all-recursive
Making all in src
gmake[1]: Entering directory `/root/pearpc-0.1.2/src'
Making all in cpu_generic
gmake[2]: Entering directory `/root/pearpc-0.1.2/src/cpu_generic'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/root/pearpc-0.1.2/src/cpu_generic'
Making all in debug
gmake[2]: Entering directory `/root/pearpc-0.1.2/src/debug'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/root/pearpc-0.1.2/src/debug'
Making all in io
gmake[2]: Entering directory `/root/pearpc-0.1.2/src/io'
Making all in 3c90x
gmake[3]: Entering directory `/root/pearpc-0.1.2/src/io/3c90x'
c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I ../.. -D_FILE_OFFSET_BITS=64 -pipe -g -O2 -Wall -fsigned-char -fomit-frame-pointer -c if_posix.cc
if_posix.cc:27:23: asm/types.h: No such file or directory
if_posix.cc:30:27: linux/netlink.h: No such file or directory
if_posix.cc:31:22: linux/if.h: No such file or directory
if_posix.cc:32:26: linux/if_tun.h: No such file or directory
if_posix.cc: In function `int check_netdev(char*)':
if_posix.cc:58: error: aggregate `ifreq ifr' has incomplete type and cannot be
defined
if_posix.cc:67: error: invalid application of `sizeof' to an incomplete type
if_posix.cc:71: error: `IFF_RUNNING' undeclared (first use this function)
if_posix.cc:71: error: (Each undeclared identifier is reported only once for
each function it appears in.)
if_posix.cc:75: error: `IFF_NOARP' undeclared (first use this function)
if_posix.cc:78: error: invalid application of `sizeof' to an incomplete type
if_posix.cc: In function `int tap_open(enet_iface_t*, char*, int*, byte*)':
if_posix.cc:112: error: aggregate `sockaddr_nl nladdr' has incomplete type and
cannot be defined
if_posix.cc:137: error: `PF_NETLINK' undeclared (first use this function)
if_posix.cc:137: error: `NETLINK_TAPBASE' undeclared (first use this function)
if_posix.cc:143: error: `AF_NETLINK' undeclared (first use this function)
if_posix.cc: In function `int tun_open(enet_iface_t*, char*, int*, byte*)':
if_posix.cc:208: error: aggregate `ifreq ifr' has incomplete type and cannot be
defined
if_posix.cc:217: error: `IFF_TAP' undeclared (first use this function)
if_posix.cc:217: error: `IFF_NO_PI' undeclared (first use this function)
if_posix.cc:219: error: `IFNAMSIZ' undeclared (first use this function)
if_posix.cc:220: error: `TUNSETIFF' undeclared (first use this function)
if_posix.cc:226: error: `TUNSETNOCSUM' undeclared (first use this function)
gmake[3]: *** [if_posix.o] Error 1
gmake[3]: Leaving directory `/root/pearpc-0.1.2/src/io/3c90x'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/root/pearpc-0.1.2/src/io'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/pearpc-0.1.2/src'
gmake: *** [all-recursive] Error 1
*** Error code 2
Stop in /root/pearpc-0.1.2.
lan#
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论