不会编译mystar的问题

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
shenfan19
帖子: 11
注册时间: 2007-12-24 15:53

不会编译mystar的问题

#1

帖子 shenfan19 » 2007-12-25 10:01

mystar安装前的另两个包,编译下说
checking for c complier default output...configure:error:c compiler cannot creat excutables
see 'config.log' for more details

不知道什么错误,上网搜索说是安装gcc没全,于是照老虎画猫安装下
apt-get install gcc libc6-dev
他竟然要我放入光盘...天可怜我用的iso硬盘安装啊,接下去该怎么办好??

跪求...还要什么详细请说...
shenfan19
帖子: 11
注册时间: 2007-12-24 15:53

这是config.log,不知有用没??

#2

帖子 shenfan19 » 2007-12-25 10:03

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57. Invocation command line was

$ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = 7th
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Sun Oct 14 23:05:12 GMT 2007

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1274: result: beginning autoconfiguration process for libnet-1.1.2.1...
configure:1307: checking build system type
configure:1325: result: i686-pc-linux-gnu
configure:1333: checking host system type
configure:1347: result: i686-pc-linux-gnu
configure:1355: checking target system type
configure:1369: result: i686-pc-linux-gnu
configure:1397: checking for a BSD-compatible install
configure:1451: result: /usr/bin/install -c
configure:1462: checking whether build environment is sane
configure:1505: result: yes
configure:1538: checking for gawk
configure:1567: result: no
configure:1538: checking for mawk
configure:1554: found /usr/bin/mawk
configure:1564: result: mawk
configure:1574: checking whether make sets $(MAKE)
configure:1594: result: yes
configure:1745: checking whether to enable maintainer-specific portions of Makefiles
configure:1754: result: no
configure:1816: checking for gcc
configure:1832: found /usr/bin/gcc
configure:1842: result: gcc
configure:2086: checking for C compiler version
configure:2089: gcc --version </dev/null >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2092: $? = 0
configure:2094: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2097: $? = 0
configure:2099: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2102: $? = 1
configure:2126: checking for C compiler default output
configure:2129: gcc conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2132: $? = 1
configure: failed program was:
| #line 2105 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libnet"
| #define VERSION "1.1.2.1"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2171: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu
ac_cv_target_alias=i686-pc-linux-gnu

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /media/sda5/syslinux/libnet/missing --run aclocal-1.6'
ADDITIONAL_LIBS=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /media/sda5/syslinux/libnet/missing --run tar'
AUTOCONF='${SHELL} /media/sda5/syslinux/libnet/missing --run autoconf'
AUTOHEADER='${SHELL} /media/sda5/syslinux/libnet/missing --run autoheader'
AUTOMAKE='${SHELL} /media/sda5/syslinux/libnet/missing --run automake-1.6'
AWK='mawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENDIANESS=''
EXEEXT=''
HAVE_PACKET_SOCKET=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBNET_CONFIG_CFLAGS=''
LIBNET_CONFIG_DEFINES=''
LIBNET_CONFIG_LIBS=''
LIBNET_VERSION='1.1.2.1'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /media/sda5/syslinux/libnet/missing --run makeinfo'
OBJEXT=''
PACKAGE='libnet'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='1.1.2.1'
ac_ct_CC='gcc'
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__include=''
am__quote=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/media/sda5/syslinux/libnet/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "libnet"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "1.1.2.1"

configure: exit 77
头像
milujite
帖子: 644
注册时间: 2007-01-01 22:14
联系:

#3

帖子 milujite » 2007-12-25 23:02

没光盘可以把/etc/apt/source.list里有关光盘的删掉,就不会要求你用光盘了.
shenfan19
帖子: 11
注册时间: 2007-12-24 15:53

xiexie

#4

帖子 shenfan19 » 2007-12-26 21:23

我试试看
头像
ptpt52
帖子: 717
注册时间: 2008-07-27 8:51
系统: Ubuntu/Windows
来自: 广西玉林|广东深圳
联系:

Re: 不会编译mystar的问题

#5

帖子 ptpt52 » 2009-01-04 10:30

求mystar源码?楼主分享一下~~
回复