[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Report this to address@hidden
From: |
Marek Burza |
Subject: |
Report this to address@hidden |
Date: |
Wed, 9 May 2007 17:57:45 +0200 |
Hi,
I was trying to install an extension (network-2.0) to Haskell on cygwin
and I got an error or warning which requested to be reported to you :)
You can see the output below and if you need more info I'll be glad to
provide it to you.
Best regards,
Mark
Configuring network-2.0...
configure: Dependency base-any: using base-2.1.1
configure: Dependency parsec-any: using parsec-2.0
configure: Using install prefix: C:\Program Files
configure: Binaries installed in: C:\Program Files\Haskell\bin
configure: Libraries installed in: C:\Program Files\Haskell\network-
2.0\ghc-6.6.
1
configure: Private binaries installed in: C:\Program Files\network-2.0
configure: Data files installed in: C:\Program Files\Common Files\network-
2.0
configure: Using compiler: c:\ghc\ghc-6.6.1\bin\ghc.exe
configure: Compiler flavor: GHC
configure: Compiler version: 6.6.1
configure: Using package tool: c:\ghc\ghc-6.6.1\bin\ghc-pkg.exe
configure: Using ar found on system at: c:\ghc\ghc-6.6.1\bin\ar.exe
configure: No haddock found
configure: No pfesetup found
configure: Using ranlib found on system at: C:\cygwin\bin\ranlib.exe
configure: Using runghc found on system at: c:\ghc\ghc-6.6.1\bin\runghc.exe
configure: No runhugs found
configure: No happy found
configure: No alex found
configure: Using hsc2hs: c:\ghc\ghc-6.6.1\bin\hsc2hs.exe
configure: No c2hs found
configure: No cpphs found
configure: No greencard found
checking build system type... i686-pc-cygwin
checking host 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 an ANSI C-conforming const... yes
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 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 for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking winsock.h usability... no
checking winsock.h presence... yes
configure: WARNING: winsock.h: present but cannot be compiled
configure: WARNING: winsock.h: check for missing prerequisite headers?
configure: WARNING: winsock.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for winsock.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.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 sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... 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 for readlink... yes
checking for symlink... yes
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_accrights... no
checking for in_addr_t in netinet/in.h... yes
checking for sendfile in sys/sendfile.h... no
checking for sendfile in sys/socket.h... no
checking for gethostent... no
configure: creating ./config.status
config.status: creating network.buildinfo
config.status: creating include/HsNetworkConfig.h
config.status: include/HsNetworkConfig.h is unchanged
address@hidden $ runghc Setup.hs build
Preprocessing library network-2.0...
Building network-2.0...
cbits\ancilData.c: In function `sendFd':
cbits\ancilData.c:47:0:
error: variable `msg' has initializer but incomplete type
cbits\ancilData.c:47:0:
warning: excess elements in struct initializer
cbits\ancilData.c:47:0: warning: (near initialization for `msg')
cbits\ancilData.c:47:0: error: storage size of 'msg' isn't known
cbits\ancilData.c:48:0: error: storage size of 'iov' isn't known
cbits\ancilData.c:55:0:
warning: implicit declaration of function `CMSG_SPACE'
cbits\ancilData.c:61:0:
warning: implicit declaration of function `CMSG_FIRSTHDR'
cbits\ancilData.c:61:0:
warning: assignment makes pointer from integer without a cast
cbits\ancilData.c:62:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:63:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:63:0:
error: `SCM_RIGHTS' undeclared (first use in this function)
cbits\ancilData.c:63:0:
error: (Each undeclared identifier is reported only once
cbits\ancilData.c:63:0: error: for each function it appears in.)
cbits\ancilData.c:64:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:64:0:
warning: implicit declaration of function `CMSG_LEN'
cbits\ancilData.c:65:0:
warning: implicit declaration of function `CMSG_DATA'
cbits\ancilData.c:68:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:78:0:
warning: implicit declaration of function `sendmsg'
cbits\ancilData.c: In function `sendAncillary':
cbits\ancilData.c:89:0:
error: variable `msg' has initializer but incomplete type
cbits\ancilData.c:89:0:
warning: excess elements in struct initializer
cbits\ancilData.c:89:0: warning: (near initialization for `msg')
cbits\ancilData.c:89:0: error: storage size of 'msg' isn't known
cbits\ancilData.c:90:0: error: storage size of 'iov' isn't known
cbits\ancilData.c:106:0:
warning: assignment makes pointer from integer without a cast
cbits\ancilData.c:107:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:108:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:109:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:113:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c: In function `recvFd':
cbits\ancilData.c:128:0:
error: variable `msg' has initializer but incomplete type
cbits\ancilData.c:128:0:
warning: excess elements in struct initializer
cbits\ancilData.c:128:0: warning: (near initialization for `msg')
cbits\ancilData.c:128:0: error: storage size of 'msg' isn't known
cbits\ancilData.c:132:0: error: storage size of 'iov' isn't known
cbits\ancilData.c:163:0:
warning: implicit declaration of function `recvmsg'
cbits\ancilData.c: In function `recvAncillary':
cbits\ancilData.c:184:0:
error: variable `msg' has initializer but incomplete type
cbits\ancilData.c:184:0:
warning: excess elements in struct initializer
cbits\ancilData.c:184:0: warning: (near initialization for `msg')
cbits\ancilData.c:184:0: error: storage size of 'msg' isn't known
cbits\ancilData.c:187:0: error: storage size of 'iov' isn't known
cbits\ancilData.c:223:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:224:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:226:0:
error: dereferencing pointer to incomplete type
cbits\ancilData.c:226:0:
error: invalid application of `sizeof' to incomplete type `cmsghdr'
cbits\ancilData.c:227:0:
warning: assignment makes pointer from integer without a cast
- Report this to address@hidden,
Marek Burza <=