bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

same.c:78: error: `HAVE_LONG_FILE_NAMES' undeclared (first use in this f


From: Gerrit P. Haase
Subject: same.c:78: error: `HAVE_LONG_FILE_NAMES' undeclared (first use in this function)
Date: Thu, 07 Jul 2005 19:49:36 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511

Hi there,

After adding module same to the list of modules when setting up gnulib
with gnulib-tool I got this error:

gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib\" -I. -I. -I..     -g -O2 -c same.c
same.c: In function `same_name':
same.c:78: error: `HAVE_LONG_FILE_NAMES' undeclared (first use in this function)
same.c:78: error: (Each undeclared identifier is reported only once
same.c:78: error: for each function it appears in.)
make[3]: *** [same.o] Error 1


Suggested fix is adding

  AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])

to the same prerequisites like it is in backupfile.m4.


I also got antoher error, for module mathl this was added to Makefile.am:

noinst_HEADERS += ....

Since it was the first use of noinst_HEADERS automake chokes on it.


Gerrit




reply via email to

[Prev in Thread] Current Thread [Next in Thread]