| View previous topic :: View next topic |
| Author |
Message |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Wed Jun 22, 2005 12:01 pm Post subject: windrop compiling problem 'can not create excutables' |
|
|
I tryed to compile a eggdrop on windows myself with cygwin.
error: can not create executables.
I downloaded the hole cygwin (about 1.85 GB) and used the instruction on the windrop page.
Well, if someone know a better instruction how to install or know how to fix this error, please post here. Thanks.
config.log (errorfile)
| Code: |
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by Eggdrop configure 1.6.18, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --enable-strip
## --------- ##
## Platform. ##
## --------- ##
hostname = poto
uname -m = i686
uname -r = 1.5.17(0.129/4/2)
uname -s = CYGWIN_NT-5.1
uname -v = 2005-05-25 19:38
/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/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/c/WINDOWS/system32
PATH: /cygdrive/c/WINDOWS
PATH: /cygdrive/c/WINDOWS/System32/Wbem
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1359: result:
configure:1361: result: This is Eggdrop's GNU configure script.
configure:1363: result: It's going to run a bunch of tests to hopefully make your compile
configure:1365: result: work without much twiddling.
configure:1367: result:
configure:1444: checking for gcc
configure:1460: found /usr/bin/gcc
configure:1470: result: gcc
configure:1714: checking for C compiler version
configure:1717: gcc --version </dev/null >&5
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Copyright (C) 2004 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:1720: $? = 0
configure:1722: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77,java,objc --enable-nls --without-included-gettext --enable-version-specific-runtime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --enable-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=boehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug : (reconfigured)
Thread model: posix
gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
configure:1725: $? = 0
configure:1727: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1730: $? = 1
configure:1753: checking for C compiler default output file name
configure:1756: gcc conftest.c >&5
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32
collect2: ld returned 1 exit status
configure:1759: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "Eggdrop"
| #define PACKAGE_TARNAME "eggdrop"
| #define PACKAGE_VERSION "1.6.18"
| #define PACKAGE_STRING "Eggdrop 1.6.18"
| #define PACKAGE_BUGREPORT "bugs@eggheads.org"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:1798: 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_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_CC=gcc
## ----------------- ##
## Output variables. ##
## ----------------- ##
AWK=''
BASENAME=''
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
DEFAULT_MAKE=''
DEFS=''
DEST=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGGEXEC=''
EGGVERSION=''
EGREP=''
EXEEXT=''
HEAD_1=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN_S=''
LTLIBOBJS=''
MODULE_XLIBS=''
MOD_CC=''
MOD_EXT=''
MOD_LD=''
MOD_STRIP=''
MOD_UPDIR=''
OBJEXT=''
PACKAGE_BUGREPORT='bugs@eggheads.org'
PACKAGE_NAME='Eggdrop'
PACKAGE_STRING='Eggdrop 1.6.18'
PACKAGE_TARNAME='eggdrop'
PACKAGE_VERSION='1.6.18'
PATH_SEPARATOR=':'
RANLIB=''
SET_MAKE=''
SHELL='/bin/bash'
SHLIB_CC=''
SHLIB_LD=''
SHLIB_STRIP=''
STRIP=''
TCLINC=''
TCLINCFN=''
TCLLIB=''
TCLLIBFN=''
TCL_LIBS=''
TCL_REQS=''
UNAME=''
ac_ct_CC='gcc'
ac_ct_RANLIB=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
egg_ac_parameters=' '--enable-strip''
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 "bugs@eggheads.org"
#define PACKAGE_NAME "Eggdrop"
#define PACKAGE_STRING "Eggdrop 1.6.18"
#define PACKAGE_TARNAME "eggdrop"
#define PACKAGE_VERSION "1.6.18"
configure: exit 77
|
|
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Jun 22, 2005 12:59 pm Post subject: |
|
|
| Quote: |
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32
|
try to add -LC:\\Windows\\System32 to XLIBS in Makefile |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Jun 22, 2005 1:18 pm Post subject: |
|
|
| ...and check you Cygwin configuration, there's something wrong with it, since C:\Windows\System32 should already be in the default library search path of ld(1) - and it's not |
|
| Back to top |
|
 |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Wed Jun 22, 2005 2:34 pm Post subject: |
|
|
| demond wrote: | | Quote: |
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32
|
try to add -LC:\\Windows\\System32 to XLIBS in Makefile |
- dir eggdrop1.6? In the dirs below are a much makefile* files. But not only 'makefile'. Only makefile.in
| demond wrote: | | ...and check you Cygwin configuration, there's something wrong with it, since C:\Windows\System32 should already be in the default library search path of ld(1) - and it's not |
- Could you tell me please the name and the dir of that config file? |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Jun 22, 2005 3:18 pm Post subject: |
|
|
no, I don't have Cygwin, haven't used it for years
try to export LIBS=-LC:\\Windows\\System32 before configure |
|
| Back to top |
|
 |
brentoids Voice
Joined: 02 Nov 2005 Posts: 1
|
Posted: Wed Nov 02, 2005 2:22 pm Post subject: Re: windrop compiling problem 'can not create excutables' |
|
|
| sKy wrote: |
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot |
this is caused by not having the ws32api installed with your Cygwin. It is not part of the default installation and can be added from the Lib section if you run setup again. |
|
| Back to top |
|
 |
|