bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Building CommonC++ 1.5.0 with Cygwin


From: Randy . S . Johnston
Subject: Building CommonC++ 1.5.0 with Cygwin
Date: Fri, 27 Jul 2001 11:25:06 -0500


I am attempting to build CommonC++ 1.5.0 with Cygwin, the steps I am using are as follows:

1) tar xvzf commonc++-1.5.0.tar.gz
        creates a CommonC++-1.5.0 directory
2) cd CommonC++-1.5.0
3) ./configure

$ ./configure
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for MSC environment... no
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... .exe
checking for gcc option to produce PIC... none
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 if gcc static flag -static works... -static
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking whether the linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared lib
raries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r
checking dynamic linker characteristics... Win32 ld.exe
checking if libtool supports shared libraries... yes
checking if package supports dlls... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for genorated automake files... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Win32 gnu environment... no
checking how to run the C preprocessor... gcc -E
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking whether c++ has built-in bool type... yes
checking whether c++ supports -fhandle-exceptions... no
checking whether c++ supports exception handling... yes
checking whether c++ supports mutable... yes
checking whether c++ supports namespace... yes
checking whether system meets Posix.1... yes
checking for endian.h... no
checking for fcntl.h... yes
checking for sys/fcntl.h... yes
checking for sys/types.h... yes
checking for sigaction... yes
checking for setitimer... yes
checking for bsd/signal.h... no
checking return type of signal handlers... void
checking whether sigwait has 2 arguments... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strings.h... yes
checking for getopt.h... yes
checking for getopt_long in -lgnugetopt... no
checking for getopt_long... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... no
checking for dlopen in -lc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for features.h... yes
checking for pthread.h... yes
checking for atomic operations... no
checking for thread.h... no
checking whether gcc accepts -pthread... no
checking for pthread_self in -lc_r... no
checking for pthread_self in -lpthread... no
checking for pthread_kill in -lpthread... no
checking for pthread_self in -lpthreads... no
checking for pthread_self in -lthread... no
checking for pthread_self in -lgthreads... no
checking for pthread_self in -lcma... no
checking for pthread_self in -lc... yes
checking for nanosleep in -lc... no
checking for nanosleep in -lposix4... no
checking for nanosleep in -lrt... no
checking for pthread_np.h... no
checking for semaphore.h... yes
checking for sched.h... yes
checking for sys/sched.h... yes
checking for recursive mutex type support... portable
checking for pthread_mutexattr_settype in -lc... yes
checking for pthread_rwlock_init in -lc... no
checking for pread in -lc... no
checking for pread in -lc... (cached) no
checking for pread in -lc_r... no
checking for pthread_attr_setstacksize in -lc... yes
checking for pthread_yield in -lc... no
checking for sched_yield in -lc... yes
checking for pthread_cancel in -lc... yes
checking for pthread_setcanceltype in -lc... yes
checking for pthread_delay_np in -lc... no
checking for setenv... yes
checking for localtime_r in -lc_r... no
checking for strtok_r in -lc... yes
checking for localtime_r in -lc... yes
checking for sys/socket.h... yes
checking for select.h... no
checking for sys/select.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for arpa/inet.h... yes
checking for sys/un.h... yes
checking for socket in -lsocket... no
checking for sys/libcsys.h... no
checking for inet_aton in -lc... yes
checking for socklen_t defined... no
checking for poll.h... yes
checking for sys/poll.h... yes
checking for sys/stream.h... no
checking for poll... yes
checking for zlib.h... yes
checking for xml2-config... no
checking for xml-config... no
checking for valid libxml2... no
checking for debugging... no
checking for profiling... no
checking for sys/file.h... yes
updating cache ./config.cache
creating ./config.status
creating posix/ccgnu-config
creating posix/Makefile
creating win32/Makefile
creating m4/Makefile
creating doc/Makefile
creating demo/Makefile
creating common/Makefile
creating Makefile
creating freebsd/pkg-plist
creating pkginfo
creating CommonC++.spec
creating common/config.def
creating freebsd/Makefile
creating debian/shlibs.local
creating debian/changelog
creating posix/config.h

4) make

$ make
Making all in posix
make[1]: Entering directory `/cygdrive/k/Source/CommonC++-1.5.0/posix'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c inaddr.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_
THREAD_SAFE -c inaddr.cpp -o inaddr.o
echo timestamp > inaddr.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c socket.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_
THREAD_SAFE -c socket.cpp -o socket.o
echo timestamp > socket.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c peer.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_
THREAD_SAFE -c peer.cpp -o peer.o
echo timestamp > peer.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c port.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_
THREAD_SAFE -c port.cpp -o port.o
echo timestamp > port.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c mutex.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_
THREAD_SAFE -c mutex.cpp -o mutex.o
echo timestamp > mutex.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c semaphore.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_
THREAD_SAFE -c semaphore.cpp -o semaphore.o
echo timestamp > semaphore.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c thread.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_
THREAD_SAFE -c thread.cpp -o thread.o
thread.cpp: In function `void sigsuspend(int)':
thread.cpp:68: implicit declaration of function `int sigwait(...)'
make[1]: *** [thread.lo] Error 1
make[1]: Leaving directory `/cygdrive/k/Source/CommonC++-1.5.0/posix'
make: *** [all-recursive] Error 1

All help appreaciated...

Randy Johnston
MacDermid Colorspan R&D
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]