m4-discuss@gnu.org
[Top] [All Lists]

Failure to compile on Arch Linux

Subject: Failure to compile on Arch Linux
From: "Raphael 'kena' Poss"
Date: Thu, 3 Jun 2010 13:55:21 +0200
Hi all,

I'd like to report that M4-trunk (I have 1.5.89a.154-7dc4) fails to compile on 
Arch Linux with the following error:

src/path.c:118:7:
warning: implicit declaration of function 'S_ISDIR'

and then at linking:

path.o: In function `m4_fopen':
src/path.c:118:
undefined reference to `S_ISDIR'


Inserting an include to <sys/stat.h> at the beginning of this file fixes the 
issue.

Cheers

-- 
Raphael 'kena' Poss · r.c.poss@xxxxxx · +31 20 525 7559
UvA · FNWI · IvI · CSA · 1098XG 107 Amsterdam (NL)
z = \f. (\x. f (\y. x x y)) (\x. f (\y. x x y))
There is no spoon, only fork() and vfork().





<Prev in Thread] Current Thread [Next in Thread>