#18882: Can't complie pptpd with OpenWrt GCC 4.8.3
-----------------------+------------------------
 Reporter:  anonymous  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  packages   |    Version:  Trunk
 Keywords:             |
-----------------------+------------------------
 here is the config.log
 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.61.  Invocation command line was

   $ ./configure

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

 hostname = HiWiFi
 uname -m = mips
 uname -r = 3.14.30
 uname -s = Linux
 uname -v = #1 Mon Feb 2 02:03:42 CST 2015

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

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

 PATH: /usr/bin
 PATH: /usr/sbin
 PATH: /bin
 PATH: /sbin


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

 configure:1776: checking for a BSD-compatible install
 configure:1832: result: ./install-sh -c
 configure:1843: checking whether build environment is sane
 configure:1886: result: yes
 configure:1951: checking for gawk
 configure:1981: result: no
 configure:1951: checking for mawk
 configure:1981: result: no
 configure:1951: checking for nawk
 configure:1981: result: no
 configure:1951: checking for awk
 configure:1967: found /usr/bin/awk
 configure:1978: result: awk
 configure:1989: checking whether make sets $(MAKE)
 configure:2014: result: no
 configure:2201: checking command line for use of BSD PPP
 configure:2235: result: default standard pppd
 configure:2240: checking command line for use of SLIRP
 configure:2274: result: default no
 configure:2279: checking command line for syslog facility name
 configure:2293: result: default LOG_DAEMON
 configure:2303: checking command line for bcrelay build
 configure:2332: result: default no
 configure:2385: checking for gcc
 configure:2401: found /usr/bin/gcc
 configure:2412: result: gcc
 configure:2650: checking for C compiler version
 configure:2657: gcc --version >&5
 gcc (OpenWrt GCC 4.8.3) 4.8.3
 Copyright (C) 2013 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:2660: $? = 0
 configure:2667: gcc -v >&5
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/lto-
 wrapper
 Target: mipsel-openwrt-linux-uclibc
 Configured with: /mnt/dl/slave/ramips.mt7620/build/build_dir/target-
 mipsel_24kec+dsp_uClibc-0.9.33.2/gcc-4.8.3/configure --target=mipsel-
 openwrt-linux --host=mipsel-openwrt-linux --build=x86_64-linux-gnu
 --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib
 --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var
 --mandir=/usr/man --infodir=/usr/info --disable-nls --build=x86_64-linux-
 gnu --host=mipsel-openwrt-linux-uclibc --target=mipsel-openwrt-linux-
 uclibc --enable-languages=c,c++ --with-bugurl=https://dev.openwrt.org/
 --with-pkgversion='OpenWrt GCC 4.8.3' --enable-shared --disable-
 __cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls
 --disable-libmudflap --disable-multilib --disable-libgomp --disable-
 libquadmath --disable-libssp --disable-decimal-float --disable-libstdcxx-
 pch --with-host-libstdcxx=-lstdc++ --prefix=/usr --libexecdir=/usr/lib
 --with-float=soft
 Thread model: posix
 gcc version 4.8.3 (OpenWrt GCC 4.8.3)
 configure:2670: $? = 0
 configure:2677: gcc -V >&5
 gcc: error: unrecognized command line option '-V'
 gcc: fatal error: no input files
 compilation terminated.
 configure:2680: $? = 1
 configure:2703: checking for C compiler default output file name
 configure:2730: gcc    conftest.c  >&5
 gcc: internal compiler error: Bus error (program collect2)
 mmap: Invalid argument
 mmap: Invalid argument
 mmap: Invalid argument
 mmap: Invalid argument
 mmap: Invalid argument
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <https://dev.openwrt.org/> for instructions.
 configure:2733: $? = 4
 configure:2771: result:
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME ""
 | #define PACKAGE_TARNAME ""
 | #define PACKAGE_VERSION ""
 | #define PACKAGE_STRING ""
 | #define PACKAGE_BUGREPORT ""
 | #define PACKAGE "pptpd"
 | #define VERSION "1.3.4"
 | #define PPP_BINARY "/usr/sbin/pppd"
 | #define PPTP_FACILITY LOG_DAEMON
 | /* end confdefs.h.  */
 |
 | int
 | main ()
 | {
 |
 |   ;
 |   return 0;
 | }
 configure:2777: 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_LDFLAGS_set=''
 ac_cv_env_LDFLAGS_value=''
 ac_cv_env_LIBS_set=''
 ac_cv_env_LIBS_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_AWK='awk'
 ac_cv_prog_ac_ct_CC='gcc'
 ac_cv_prog_make_make_set='no'

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

 ACLOCAL='${SHELL} /mnt/cck/pptpd-1.3.4/missing --run aclocal-1.9'
 AMDEPBACKSLASH=''
 AMDEP_FALSE=''
 AMDEP_TRUE=''
 AMTAR='${SHELL} /mnt/cck/pptpd-1.3.4/missing --run tar'
 AUTOCONF='${SHELL} /mnt/cck/pptpd-1.3.4/missing --run autoconf'
 AUTOHEADER='${SHELL} /mnt/cck/pptpd-1.3.4/missing --run autoheader'
 AUTOMAKE='${SHELL} /mnt/cck/pptpd-1.3.4/missing --run automake-1.9'
 AWK='awk'
 CC='gcc'
 CCDEPMODE=''
 CFLAGS=''
 CPP=''
 CPPFLAGS=''
 CYGPATH_W='echo'
 DEFS=''
 DEPDIR=''
 ECHO_C=''
 ECHO_N='-n'
 ECHO_T=''
 EGREP=''
 EXEEXT=''
 GREP=''
 HAVE_OPENPTY=''
 INSTALL_DATA='${INSTALL} -m 644'
 INSTALL_PROGRAM='${INSTALL}'
 INSTALL_SCRIPT='${INSTALL}'
 INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
 LDFLAGS=''
 LIBOBJS=''
 LIBS=''
 LN_S=''
 LTLIBOBJS=''
 MAKEINFO='${SHELL} /mnt/cck/pptpd-1.3.4/missing --run makeinfo'
 OBJEXT=''
 PACKAGE='pptpd'
 PACKAGE_BUGREPORT=''
 PACKAGE_NAME=''
 PACKAGE_STRING=''
 PACKAGE_TARNAME=''
 PACKAGE_VERSION=''
 PATH_SEPARATOR=':'
 RANLIB=''
 SET_MAKE='MAKE=make'
 SHELL='/bin/sh'
 STRIP=''
 VERSION='1.3.4'
 XTRALIBS_CTRL=''
 XTRALIBS_MGR=''
 XTRA_PROG=''
 ac_ct_CC='gcc'
 am__fastdepCC_FALSE=''
 am__fastdepCC_TRUE=''
 am__include=''
 am__leading_dot='.'
 am__quote=''
 am__tar='${AMTAR} chof - "$$tardir"'
 am__untar='${AMTAR} xf -'
 bindir='${exec_prefix}/bin'
 build_alias=''
 datadir='${datarootdir}'
 datarootdir='${prefix}/share'
 docdir='${datarootdir}/doc/${PACKAGE}'
 dvidir='${docdir}'
 exec_prefix='NONE'
 host_alias=''
 htmldir='${docdir}'
 includedir='${prefix}/include'
 infodir='${datarootdir}/info'
 install_sh='/mnt/cck/pptpd-1.3.4/install-sh'
 libdir='${exec_prefix}/lib'
 libexecdir='${exec_prefix}/libexec'
 localedir='${datarootdir}/locale'
 localstatedir='${prefix}/var'
 mandir='${datarootdir}/man'
 mkdir_p='$(mkinstalldirs)'
 oldincludedir='/usr/include'
 pdfdir='${docdir}'
 prefix='NONE'
 program_transform_name='s,x,x,'
 psdir='${docdir}'
 sbindir='${exec_prefix}/sbin'
 sharedstatedir='${prefix}/com'
 sysconfdir='${prefix}/etc'
 target_alias=''

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

 #define PACKAGE_NAME ""
 #define PACKAGE_TARNAME ""
 #define PACKAGE_VERSION ""
 #define PACKAGE_STRING ""
 #define PACKAGE_BUGREPORT ""
 #define PACKAGE "pptpd"
 #define VERSION "1.3.4"
 #define PPP_BINARY "/usr/sbin/pppd"
 #define PPTP_FACILITY LOG_DAEMON

 configure: exit 77

--
Ticket URL: <https://dev.openwrt.org/ticket/18882>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to