Hello!
I'm trying to compile xrdp-v0.6.0 so I run ./configure and I got the next error log (config.log)
configure:2247: checking for a BSD-compatible install
configure:2315: result: /usr/bin/install -c
configure:2326: checking whether build environment is sane
configure:2376: result: yes
configure:2517: checking for a thread-safe mkdir -p
configure:2556: result: ./install-sh -c -d
configure:2569: checking for gawk
configure:2585: found /usr/local/bin/gawk
configure:2596: result: gawk
configure:2607: checking whether make sets $(MAKE)
configure:2629: result: yes
configure:2758: checking for gcc
configure:2774: found /usr/local/bin/gcc
configure:2785: result: gcc
configure:3014: checking for C compiler version
configure:3024: gcc --version >&5
gcc (GCC) 4.6.1
Copyright (C) 2011 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:3035: $? = 0
configure:3024: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.6.1/configure --prefix=/usr/local --libexecdir=/usr/local/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++ --disable-multilib --disable-bootstrap --with-system-zlib --enable-frame-pointer
Thread model: posix
gcc version 4.6.1 (GCC)
configure:3035: $? = 0
configure:3055: checking whether the C compiler works
configure:3077: gcc conftest.c >&5
configure:3081: $? = 0
configure:3129: result: yes
configure:3132: checking for C compiler default output file name
configure:3134: result: a.out
configure:3140: checking for suffix of executables
configure:3147: gcc -o conftest conftest.c >&5
configure:3151: $? = 0
configure:3173: result:
configure:3195: checking whether we are cross compiling
configure:3203: gcc -o conftest conftest.c >&5
configure:3207: $? = 0
configure:3214: ./conftest
configure:3218: $? = 0
configure:3233: result: no
configure:3238: checking for suffix of object files
configure:3260: gcc -c conftest.c >&5
configure:3264: $? = 0
configure:3285: result: o
configure:3289: checking whether we are using the GNU C compiler
configure:3308: gcc -c conftest.c >&5
configure:3308: $? = 0
configure:3317: result: yes
configure:3326: checking whether gcc accepts -g
configure:3346: gcc -c -g conftest.c >&5
configure:3346: $? = 0
configure:3387: result: yes
configure:3404: checking for gcc option to accept ISO C89
configure:3468: gcc -c -g -O2 conftest.c >&5
configure:3468: $? = 0
configure:3481: result: none needed
configure:3512: checking for style of include used by make
configure:3540: result: GNU
configure:3565: checking dependency style of gcc
configure:3675: result: gcc3
configure:3691: checking for an ANSI C-conforming const
configure:3756: gcc -c -g -O2 conftest.c >&5
configure:3756: $? = 0
configure:3763: result: yes
configure:3800: checking build system type
configure:3814: result: i686-pc-linux-gnu
configure:3834: checking host system type
configure:3847: result: i686-pc-linux-gnu
configure:3888: checking how to print strings
configure:3915: result: printf
configure:3936: checking for a sed that does not truncate output
configure:4000: result: /usr/local/bin/sed
configure:4018: checking for grep that handles long lines and -e
configure:4076: result: /bin/grep
configure:4081: checking for egrep
configure:4143: result: /bin/grep -E
configure:4148: checking for fgrep
configure:4210: result: /bin/grep -F
configure:4245: checking for ld used by gcc
configure:4312: result: /usr/local/bin/ld
configure:4319: checking if the linker (/usr/local/bin/ld) is GNU ld
configure:4334: result: yes
configure:4346: checking for BSD- or MS-compatible name lister (nm)
configure:4395: result: /usr/local/bin/nm -B
configure:4525: checking the name lister (/usr/local/bin/nm -B) interface
configure:4532: gcc -c -g -O2 conftest.c >&5
configure:4535: /usr/local/bin/nm -B "conftest.o"
configure:4538: output
00000000 B some_variable
configure:4545: result: BSD nm
configure:4548: checking whether ln -s works
configure:4552: result: yes
configure:4560: checking the maximum length of command line arguments
configure:4690: result: 1572864
configure:4707: checking whether the shell understands some XSI constructs
configure:4717: result: yes
configure:4721: checking whether the shell understands "+="
configure:4727: result: yes
configure:4762: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format
configure:4802: result: func_convert_file_noop
configure:4809: checking how to convert i686-pc-linux-gnu file names to toolchain format
configure:4829: result: func_convert_file_noop
configure:4836: checking for /usr/local/bin/ld option to reload object files
configure:4843: result: -r
configure:4917: checking for objdump
configure:4933: found /usr/local/bin/objdump
configure:4944: result: objdump
configure:4976: checking how to recognize dependent libraries
configure:5178: result: pass_all
configure:5263: checking for dlltool
configure:5293: result: no
configure:5323: checking how to associate runtime and link libraries
configure:5350: result: printf %s\n
configure:5410: checking for ar
configure:5426: found /usr/local/bin/ar
configure:5437: result: ar
configure:5474: checking for archiver @FILE support
configure:5491: gcc -c -g -O2 conftest.c >&5
configure:5491: $? = 0
configure:5494: ar cru libconftest.a @conftest.lst >&5
configure:5497: $? = 0
configure:5502: ar cru libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:5505: $? = 1
configure:5517: result: @
configure:5575: checking for strip
configure:5591: found /usr/local/bin/strip
configure:5602: result: strip
configure:5674: checking for ranlib
configure:5690: found /usr/local/bin/ranlib
configure:5701: result: ranlib
configure:5803: checking command to parse /usr/local/bin/nm -B output from gcc object
configure:5923: gcc -c -g -O2 conftest.c >&5
configure:5926: $? = 0
configure:5930: /usr/local/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:5933: $? = 0
configure:5999: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6002: $? = 0
configure:6040: result: ok
configure:6077: checking for sysroot
configure:6107: result: no
configure:6363: checking for mt
configure:6393: result: no
configure:6413: checking if : is a manifest tool
configure:6419: : '-?'
configure:6427: result: no
configure:7069: checking how to run the C preprocessor
configure:7100: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:157:0,
from /usr/include/limits.h:145,
from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/include-fixed/limits.h:169,
from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/include-fixed/limits.h:34,
from conftest.c:12:
/usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory
compilation terminated.
configure:7100: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xrdp"
| #define PACKAGE_TARNAME "xrdp"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "xrdp 0.6.0"
| #define PACKAGE_BUGREPORT "xrdp-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "xrdp"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7100: gcc -E conftest.c
In file included from /usr/include/bits/posix1_lim.h:157:0,
from /usr/include/limits.h:145,
from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/include-fixed/limits.h:169,
from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/include-fixed/syslimits.h:7,
from /tmp/tcloop/gcc/usr/local/bin/../lib/gcc/i686-pc-linux-gnu/4.6.1/include-fixed/limits.h:34,
from conftest.c:12:
/usr/include/bits/local_lim.h:39:26: fatal error: linux/limits.h: No such file or directory
compilation terminated.
configure:7100: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xrdp"
| #define PACKAGE_TARNAME "xrdp"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "xrdp 0.6.0"
| #define PACKAGE_BUGREPORT "xrdp-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "xrdp"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7100: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:357:0,
from /usr/include/assert.h:38,
from conftest.c:15:
/usr/include/sys/cdefs.h:32:3: error: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:7100: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xrdp"
| #define PACKAGE_TARNAME "xrdp"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "xrdp 0.6.0"
| #define PACKAGE_BUGREPORT "xrdp-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "xrdp"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7100: gcc -E -traditional-cpp conftest.c
In file included from /usr/include/features.h:357:0,
from /usr/include/assert.h:38,
from conftest.c:15:
/usr/include/sys/cdefs.h:32:3: error: #error "You need a ISO C conforming compiler to use the glibc headers"
configure:7100: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xrdp"
| #define PACKAGE_TARNAME "xrdp"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "xrdp 0.6.0"
| #define PACKAGE_BUGREPORT "xrdp-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "xrdp"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7100: /lib/cpp conftest.c
./configure: line 1625: /lib/cpp: No such file or directory
configure:7100: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xrdp"
| #define PACKAGE_TARNAME "xrdp"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "xrdp 0.6.0"
| #define PACKAGE_BUGREPORT "xrdp-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "xrdp"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7100: /lib/cpp conftest.c
./configure: line 1625: /lib/cpp: No such file or directory
configure:7100: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xrdp"
| #define PACKAGE_TARNAME "xrdp"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "xrdp 0.6.0"
| #define PACKAGE_BUGREPORT "xrdp-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "xrdp"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7139: result: /lib/cpp
configure:7159: /lib/cpp conftest.c
./configure: line 1625: /lib/cpp: No such file or directory
configure:7159: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xrdp"
| #define PACKAGE_TARNAME "xrdp"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "xrdp 0.6.0"
| #define PACKAGE_BUGREPORT "xrdp-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "xrdp"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7159: /lib/cpp conftest.c
./configure: line 1625: /lib/cpp: No such file or directory
configure:7159: $? = 127
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "xrdp"
| #define PACKAGE_TARNAME "xrdp"
| #define PACKAGE_VERSION "0.6.0"
| #define PACKAGE_STRING "xrdp 0.6.0"
| #define PACKAGE_BUGREPORT "xrdp-devel@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "xrdp"
| #define VERSION "0.6.0"
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:7189: error: in `/opt/Temp/xrdp-v0.6.0-original':
configure:7191: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
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_host=i686-pc-linux-gnu
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_FGREP='/bin/grep -F'
ac_cv_path_GREP=/bin/grep
ac_cv_path_SED=/usr/local/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP=/lib/cpp
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_ar_at_file=@
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_path_LD=/usr/local/bin/ld
lt_cv_path_NM='/usr/local/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /opt/Temp/xrdp-v0.6.0-original/missing --run aclocal-1.11'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /opt/Temp/xrdp-v0.6.0-original/missing --run tar'
AR='ar'
AUTOCONF='${SHELL} /opt/Temp/xrdp-v0.6.0-original/missing --run autoconf'
AUTOHEADER='${SHELL} /opt/Temp/xrdp-v0.6.0-original/missing --run autoheader'
AUTOMAKE='${SHELL} /opt/Temp/xrdp-v0.6.0-original/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='/lib/cpp'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
FGREP='/bin/grep -F'
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/local/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /opt/Temp/xrdp-v0.6.0-original/missing --run makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='./install-sh -c -d'
NM='/usr/local/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='xrdp'
PACKAGE_BUGREPORT='xrdp-devel@lists.sourceforge.net'
PACKAGE_NAME='xrdp'
PACKAGE_STRING='xrdp 0.6.0'
PACKAGE_TARNAME='xrdp'
PACKAGE_URL=''
PACKAGE_VERSION='0.6.0'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/usr/local/bin/sed'
SESMAN_KERBEROS_FALSE=''
SESMAN_KERBEROS_TRUE=''
SESMAN_NOPAM_FALSE=''
SESMAN_NOPAM_TRUE=''
SESMAN_PAMUSERPASS_FALSE=''
SESMAN_PAMUSERPASS_TRUE=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
VERSION='0.6.0'
XRDP_DEBUG_FALSE=''
XRDP_DEBUG_TRUE=''
XRDP_FREERDP1_FALSE=''
XRDP_FREERDP1_TRUE=''
XRDP_FREERDP_FALSE=''
XRDP_FREERDP_TRUE=''
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /opt/Temp/xrdp-v0.6.0-original/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
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. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "xrdp"
#define PACKAGE_TARNAME "xrdp"
#define PACKAGE_VERSION "0.6.0"
#define PACKAGE_STRING "xrdp 0.6.0"
#define PACKAGE_BUGREPORT "xrdp-devel@lists.sourceforge.net"
#define PACKAGE_URL ""
#define PACKAGE "xrdp"
#define VERSION "0.6.0"
configure: exit 1
Is there a way to compile it or Tiny Core? or any other software suggestion?[/code]