6.8.1 on ubuntu jaunty

Martin Matusiak numerodix at gmail.com
Tue May 19 23:25:41 EDT 2009


Hello,

I need ghc 6.8.1 for a codebase that depends on it and I'm having
trouble building it on the current ubuntu. Error output attached.


Martin


configure: creating ./config.status
config.status: creating network.buildinfo
config.status: creating include/HsNetworkConfig.h
Configuring network-2.1.0.0...
rm -f network/GNUmakefile
cp Makefile.local network
if ifBuildable/ifBuildable network; then \
           cd network && setup/Setup makefile -f GNUmakefile; \
        fi
Socket.hsc: In function ‘main’:
Socket.hsc:1143: error: invalid application of ‘sizeof’ to incomplete
type ‘struct ucred’
Socket.hsc:1143: error: invalid application of ‘sizeof’ to incomplete
type ‘struct ucred’
Socket.hsc:1143: error: invalid application of ‘sizeof’ to incomplete
type ‘struct ucred’
Socket.hsc:1149: error: invalid use of undefined type ‘struct ucred’
Socket.hsc:1150: error: invalid use of undefined type ‘struct ucred’
Socket.hsc:1151: error: invalid use of undefined type ‘struct ucred’
compiling dist/build/Network/Socket_hsc_make.c failed
command was: gcc -c -D__GLASGOW_HASKELL__=608
-I/tmp/ghc-6.8.1/includes -I/tmp/ghc-6.8.1/gmp/gmpbuild
-D__GLASGOW_HASKELL__=608 -DCALLCONV=ccall -Iinclude
dist/build/Network/Socket_hsc_make.c -o
dist/build/Network/Socket_hsc_make.o
Preprocessing library network-2.1.0.0...
make[1]: *** [network/GNUmakefile] Error 1
make[1]: Leaving directory `/tmp/ghc-6.8.1/libraries'
make: *** [stage1] Error 2


More information about the Glasgow-haskell-users mailing list