This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help: gcc problem in Cygwin!


Dear all,

I've been trying to install a software on Cygwin under
Windows XP, but without any success. The steps are (1)
'./configure', and (2) 'make'.

I had following error message after running 'make'.

cygpath: can't convert empty path
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o)
:: undefined reference to '_WinMain@16'
collect2: ld returned 1 exit status
make: *** [libquicknet3.a] Error 1


Can anyone let me know what's wrong here? It seems
that there is a confusion on which linker to use for
gcc, and GNU ld is not on the path. I attach the
output from './configure' at the end. Do you think it
is related to those outputs? If so, how to fix it? If
not, what's the cause?
checking for ld used by GCC... ${CXX}
checking if the linker (${CXX}) is GNU ld... no


Appreciate your help!

Best,
Frank


----------------------------------------------------------
./configure
----------------------------------------------------------
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler...
yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none
needed
checking for g++... g++
checking whether we are using the GNU C++ compiler...
yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install...
/usr/bin/install -c
checking for ranlib... ranlib

checking for ld used by GCC... ${CXX}
checking if the linker (${CXX}) is GNU ld... no

checking for ${CXX} option to reload object files...
-r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
/usr/bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries...
file_magic file
format pei*-i386(.*architecture: i386)?
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -DDLL_EXPORT
checking if gcc PIC flag -DDLL_EXPORT works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions...
yes
checking whether the linker (${CXX}) supports shared
libraries... yes
checking how to hardcode library paths into
programs... immediate
checking whether stripping libraries is possible...
yes
checking dynamic linker characteristics... Win32
ld.exe
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
checking for sqrt in -lm... yes
checking for standard_arithmetic in -lsunmath... no
checking for pthread_create in -lpthread... yes
checking for pkg-config... /usr/bin/pkg-config
checking for rtst... checking for rtst_exit in
-lrtst... no
checking for quicknet_testdata dir... not found
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/stat.h... (cached) yes
checking sunmath.h usability... no
checking sunmath.h presence... no
checking for sunmath.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for long long... yes
checking for unsigned long long... yes
checking for special C compiler options needed for
large files... no
checking for _FILE_OFFSET_BITS value needed for large
files... no
checking for _LARGE_FILES value needed for large
files... no
checking for vprintf... yes
checking for _doprnt... no
checking for _LARGEFILE_SOURCE value needed for large
files... no
checking for fseeko... yes
checking for strerror... yes
checking for strstr... yes
checking for fsetpos... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for fileno... yes
checking for isatty... yes
checking for set_new_handler... no
checking for popen... yes
checking for sqrtf... yes
checking for expf... yes
checking whether drand48 is declared... yes
checking whether srand48 is declared... yes
checking whether fseek is declared... yes
checking whether sys_nerr is declared... no
checking whether sys_errlist is declared... no
checking qn path is saved in cache...
/cygdrive/d/quicknet-v3_11
checking drspeech build lib path...
checking drspeech build path...
configure: creating ./config.status
config.status: creating QN3Config.sh
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating perfsuite/Makefile
config.status: creating quicknet3.pc
config.status: creating quicknet3-install.pc
config.status: creating qndo.sh
config.status: creating testdata_qnnorm.sh
config.status: creating testdata_qnstrn.sh
config.status: creating testdata_qnsfwd.sh
config.status: creating testdata_qnstrn_ps.sh
config.status: creating testdata_qnsfwd_ps.sh
config.status: creating config.h
config.status: executing default commands


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]