Failure to compile on Arch Linux

View: New views
2 Messages — Rating Filter:   Alert me  

Failure to compile on Arch Linux

by Raphael 'kena' Poss-3 :: Rate this Message:

| View Threaded | Show Only this Message

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@... · +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().






Re: Failure to compile on Arch Linux

by Gary V. Vaughan :: Rate this Message:

| View Threaded | Show Only this Message

On 3 Jun 2010, at 18:55, Raphael 'kena' Poss wrote:

> 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.

http://www.mail-archive.com/bug-m4@.../msg02767.html

Cheers,
--
Gary V. Vaughan (gary@...)