DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-10-28 19:50:59

wiiguy1
Member
Registered: 2010-10-28
Posts: 28

C++ compiler error

while trying to install sbnc i got a error from c++ compiler

Code:

checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

what can i do ?

Offline

 

#2 2010-10-28 20:07:50

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: C++ compiler error

See `config.log' for more details.

Offline

 

#3 2010-10-28 20:14:00

wiiguy1
Member
Registered: 2010-10-28
Posts: 28

Re: C++ compiler error

ty for your response fonz

Code:

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

It was created by sbnc configure 1.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

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

hostname = nsa210
uname -m = armv5tejl
uname -r = 2.6.24.4
uname -s = Linux
uname -v = #3 Mon Jun 7 15:53:18 CST 2010

/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: /ffp/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /ffp/bin
PATH: /usr/bin
PATH: /bin


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

configure:1377: checking for g++
configure:1393: found /ffp/bin/g++
configure:1403: result: g++
configure:1419: checking for C++ compiler version
configure:1422: g++ --version </dev/null >&5
g++ (GCC) 4.1.3 20080414 (prerelease)
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:1425: $? = 0
configure:1427: g++ -v </dev/null >&5
Using built-in specs.
Target: arm-unknown-linux-uclibc
Configured with: /mnt/HD_a2/home/bob/funplug/work/gcc-4.1/gcc-4_1-branch/configu
Thread model: posix
gcc version 4.1.3 20080414 (prerelease)
configure:1430: $? = 0
configure:1432: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:1435: $? = 1
configure:1458: checking for C++ compiler default output file name
configure:1461: g++    conftest.cc  >&5
g++: error trying to exec 'as': execvp: No such file or directory
configure:1464: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "sbnc"
| #define PACKAGE_TARNAME "sbnc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "sbnc 1.0"
| #define PACKAGE_BUGREPORT "sbnc-bugs@shroudirc.net"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1502: error: C++ compiler cannot create executables
See `config.log' for more details.

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

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_CXXFLAGS_set=''
ac_cv_env_CXXFLAGS_value=''
ac_cv_env_CXX_set=''
ac_cv_env_CXX_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_prog_ac_ct_CXX='g++'

## ----------------- ##
## Output variables. ##
## ----------------- ##
ADNS_LIBS=''
ADNS_SUBDIR=''
CC=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS=''
DEFS=''
DL_LIB=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
OBJEXT=''
PACKAGE_BUGREPORT='sbnc-bugs@shroudirc.net'
PACKAGE_NAME='sbnc'
PACKAGE_STRING='sbnc 1.0'
PACKAGE_TARNAME='sbnc'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
SSL_DEF=''
SSL_LIBS=''
ac_ct_CC=''
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
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_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "sbnc-bugs@shroudirc.net"
#define PACKAGE_NAME "sbnc"
#define PACKAGE_STRING "sbnc 1.0"
#define PACKAGE_TARNAME "sbnc"
#define PACKAGE_VERSION "1.0"

configure: exit 77

i dont really get it so i posted it here

Last edited by wiiguy1 (2010-10-28 20:22:39)

Offline

 

#4 2010-10-28 21:23:09

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: C++ compiler error

> g++: error trying to exec 'as': execvp: No such file or directory

You need a lot more than just the gcc package to compile programs. You should install most or all packages from http://www.inreto.de/dns323/fun-plug/0.5/packages/

Offline

 

#5 2010-10-28 21:29:07

wiiguy1
Member
Registered: 2010-10-28
Posts: 28

Re: C++ compiler error

is there a way to install them all or "most" fast ?
or if possible only the ones that needed

Last edited by wiiguy1 (2010-10-28 21:32:29)

Offline

 

#6 2010-10-28 21:40:32

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Offline

 

#7 2010-10-28 21:47:11

wiiguy1
Member
Registered: 2010-10-28
Posts: 28

Re: C++ compiler error

it downloading them as i type smile

sry for taking your time

EDIT : it says before i complete everything i should turn telnet back on, how can i do this from putty ?

EDIT 2 : nm i found it already

Last edited by wiiguy1 (2010-10-28 22:04:39)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB