Re: Headers
david leung <[email protected]> Tue, 18 Jun 2013 19:45:34 +0800
| Newsgroups | gmane.network.spread.user |
|---|---|
| Message-ID | <CACcoghU0EmnVZv7ZtUd--1VVeJ5eeSHxLhmwrXV8XO8WYwkX7g@mail.gmail.com> |
Hi Jonathan, Here is the cygwin ./Configure log file. It stopped the line similar to Ubuntu in another thread even though I patched the makefile for spmonitor. configure: error: unable to find the dladdr() function Configure: error: /bin/sh './configure' failed for libspread-util I hope that I can build it in VS2010 because my projects are based on VS. Where could I find the VS2010 project file for 4.2? How can I generate those files in daemon directory? Regards, David On Tue, Jun 18, 2013 at 1:49 PM, Jonathan Stanton < [email protected]> wrote: > Hello, > > Can you email the errors in the Cygwin configure run? We might be able to > see what the build problem is as that should be fixable. > > The Cygwin/Configure would be the easiest way to build on Windows. The > Spread 4.2 Microsoft VC project files that some users emailed about after > the 4.2 release could be another approach. > > Those files (events, arch, memory, alarm) should be compiled into a > separate library "libspread-util" which is built in the new libspread-util > directory in the spread source release. Then the main spread package just > links with the resulting library. The current build definitely won't work > if you copy just some of those files into the main Spread directory. For > example the "spu_system.h" header is created by scripts run during the > configure/make of the libspread-util library. > > Cheers, > > Jonathan > > ------------------------------------------------------------------------------- > Jonathan Stanton [email protected] > Spread Group Messaging www.spread.org > Spread Concepts LLC www.spreadconcepts.com > > ------------------------------------------------------------------------------- > > > > On Jun 13, 2013, at 8:55 PM, David Leung wrote: > > > Hi all, > > > > I could not compile the 4.3. I failed to run ./configure in Cygwin. > > > > The VS2010 always complains about the following files: > > > > alarm.c > > arch.c > > memory.c > > events.c > > > > I copied them from libspread-util src directory to Daemon directory and > hit > > another problem is the "Spu_system.H". I could not find this anywhere in > the > > folder. I tried to manually construct it and could not find anything in > > configure script. > > > > Is there anywhere I can build this version. I can build 4.0 without any > > problem. I could not build any version after 4.0. > > > > Regards, > > David > > > > > > _______________________________________________ > > Spread-users mailing list > > [email protected] > > http://lists.spread.org/mailman/listinfo/spread-users > > _______________________________________________ Spread-users mailing list [email protected] http://lists.spread.org/mailman/listinfo/spread-users
spread43cygwin.log
(application/octet-stream, 14.3 KB)
checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output file name... 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 whether byte ordering is bigendian... no checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for bison... no checking for byacc... no checking for flex... no checking for ar... /usr/bin/ar checking for perl5... no checking for perl... /usr/bin/perl checking for inline... inline checking if we need -pthread for threads... yes checking for pthread_create in -lpthread... yes checking for thr_create in -lthread... no checking for sem_wait in -lposix4... no checking for pthread_atfork... yes checking for gethostbyaddr in -lnsl... no checking for socket in -lsocket... no checking for library containing shm_open... none required checking for library containing nanosleep... none required checking for sqrt in -lm... yes checking for strftime... yes 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking process.h usability... yes checking process.h presence... yes checking for process.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking windows.h usability... yes checking windows.h presence... yes checking for windows.h... yes checking winsock.h usability... no checking winsock.h presence... yes checking for winsock.h... yes checking for bcopy... yes checking for inet_aton... yes checking for inet_ntoa... yes checking for inet_ntop... yes checking for memmove... yes checking for setsid... yes checking for snprintf... yes checking for strerror... yes checking for lrand48... yes checking for gettimeofday... yes checking for time... yes checking for clock_gettime(CLOCK_MONOTONIC)... yes checking whether snprintf correctly terminates long strings... yes checking for char... yes checking size of char... 1 checking for short int... yes checking size of short int... 2 checking for int... yes checking size of int... 4 checking for long int... yes checking size of long int... 4 checking for long long int... yes checking size of long long int... 8 checking for windows arch... no checking for struct timezone type... yes checking for struct sockopt_len_t type... no checking for struct msghdr type... yes checking for struct msghdr control... yes checking for u_int type... yes checking for intXX_t types... yes checking for int64_t type... yes checking for u_intXX_t types... yes checking for u_int64_t types... yes checking for socklen_t... yes checking for size_t... yes checking for ssize_t... yes checking for clock_t... yes checking for sa_family_t... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct in6_addr... yes checking for struct addrinfo... yes checking for struct timeval... yes checking for sun_len field in struct sockaddr_un... no checking for sin_len field in sockaddr_in... no checking for ss_family field in struct sockaddr_storage... yes checking for __ss_family field in struct sockaddr_storage... no checking for pid_t... yes checking if libc defines __progname... yes checking if libc defines sys_errlist... yes checking if libc defines sys_nerr... yes checking Check Spread's major version... 4 checking Check Spread's minor version... 3 checking Check Spread's patch version... 0 checking for nroff... /usr/bin/nroff Spread srcdir: . Configure: creating ./config.status config.status: creating Makefile config.status: creating daemon/Makefile config.status: creating docs/Makefile config.status: creating libspread/Makefile config.status: creating examples/Makefile config.status: creating daemon/config.h config.status: daemon/config.h is unchanged Configure: configuring in stdutil Configure: running /bin/sh './configure' --prefix=/usr/local --cache-file=/dev/null --srcdir=. checking for gcc... gcc checking for C compiler default output file name... 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 ISO C89... none needed checking for ar... /usr/bin/ar checking whether ln -s works... yes checking for a BSD-compatible install... /usr/bin/install -c checking if we need -pthread for threads... yes checking for pthread_create in -lpthread... yes checking for thr_create in -lthread... no checking for sem_wait in -lposix4... no checking for library containing shm_open... none required checking for library containing nanosleep... none required checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of size_t... 4 checking size of void *... 4 checking checking all necessary integer types are available and appropriate... yes checking if NULL pointers are represented as all zeroes in memory... yes checking byte alignment requirements... 8 checking endianness of architecture... done configure: creating ./config.status config.status: creating src/Makefile config.status: creating src/stdutil/private/stdarch_autoconf.h config.status: src/stdutil/private/stdarch_autoconf.h is unchanged Configure: configuring in libspread-util Configure: running /bin/sh './configure' --prefix=/usr/local --cache-file=/dev/null --srcdir=. checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for gcc... gcc checking for C compiler default output file name... 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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/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 whether byte ordering is bigendian... no checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ar... /usr/bin/ar checking for perl5... no checking for perl... /usr/bin/perl checking for inline... inline checking if we need -pthread for threads... yes checking for pthread_create in -lpthread... yes checking for thr_create in -lthread... no checking for sem_wait in -lposix4... no checking for pthread_atfork... yes checking for gethostbyaddr in -lnsl... no checking for socket in -lsocket... no checking for library containing shm_open... none required checking for library containing nanosleep... none required checking for sqrt in -lm... yes checking for strftime... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking process.h usability... yes checking process.h presence... yes checking for process.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking windows.h usability... yes checking windows.h presence... yes checking for windows.h... yes checking winsock.h usability... no checking winsock.h presence... yes checking for winsock.h... yes checking for bcopy... yes checking for inet_aton... yes checking for inet_ntoa... yes checking for inet_ntop... yes checking for memmove... yes checking for setsid... yes checking for snprintf... yes checking for strerror... yes checking for lrand48... yes checking for gettimeofday... yes checking for time... yes checking for clock_gettime(CLOCK_MONOTONIC)... yes checking for library containing dladdr... no