[Haskell-cafe] strange errors with unix-compat

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Jun 9 09:17:34 EDT 2010


On Jun 8, 2010, at 19:52 , Günther Schmidt wrote:
> 4 of 4] Compiling System.PosixCompat.Extensions ( dist/build/System/ 
> PosixCompat/Extensions.hs, dist/build/System/PosixCompat/ 
> Extensions.o )
> cbits/HsUnixCompat.c: In function `unix_major':
>
> cbits/HsUnixCompat.c:4:0:
>     warning: implicit declaration of function `major'
> cbits/HsUnixCompat.c: In function `unix_minor':
>
> cbits/HsUnixCompat.c:8:0:
>     warning: implicit declaration of function `minor'
> cbits/HsUnixCompat.c: In function `unix_makedev':
>
> cbits/HsUnixCompat.c:12:0:
>     warning: implicit declaration of function `makedev'


You're missing an include file somehow; those are macros that pack and  
unpack an st_rdev.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100609/ad1f5127/PGP.bin


More information about the Haskell-Cafe mailing list