bug-gnulib
[Top][All Lists]
Advanced

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

Re: build failures


From: Simon Josefsson
Subject: Re: build failures
Date: Fri, 05 Aug 2011 12:51:42 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Hi Simon,
>
>> gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\"
>> -DNO_XMALLOC -DEXEEXT=\"\" -I. -I..  -DGNULIB_STRICT_CHECKING=1
>> -I../intl -fvisibility=hidden -g -O2 -MT unictype/categ_LC.o -MD -MP
>> -MF $depbase.Tpo -c -o unictype/categ_LC.o unictype/categ_LC.c &&\
>>         mv -f $depbase.Tpo $depbase.Po
>> unictype/categ_LC.c:27: error: 'UC_CATEGORY_MASK_LC' undeclared here
>> (not in a function)
>> make[4]: *** [unictype/categ_LC.o] Error 1
>
> It looks like the generated unictype.h file is broken (possibly empty?).
> Can you compare unictype.in.h with unictype.h? Was there an error when it
> was created? What happens if you remove it and try "make" again?

There is no unictype.h file!

address@hidden:~/src/gnulib/m master$ find . -name unictype.h
address@hidden:~/src/gnulib/m master$ 

I have libunistring installed in /usr/local on my machine, which
explains why building doesn't complain about missing unictype.h.

I can create unictype.h manually:

cd gllib
make unictype.h

and then building and linking works fine.  I assume there is some
missing dependency to generate unictype.h?

(Btw, building on the hurd doesn't give the same errors since I don't
have libunistring installed locally.)

>> In file included from unictype/test-combiningclass_name.c:17:
>> ./config.h:1990:1: warning: "HAVE_DECL_TCGETSID" redefined
>> In file included from ./config.h:64,
>>                  from unictype/test-combiningclass_name.c:17:
>> ./../config.h:1975:1: warning: this is the location of the previous 
>> definition
>
> What is the result of
> $ grep -i tcgetsid config.status gltests/config.status

Same on both hurd and debian squeeze:

config.status:S["HAVE_DECL_TCGETSID"]="0"
config.status:S["GNULIB_TCGETSID"]="1"
config.status:D["HAVE_DECL_TCGETSID"]=" 0"
config.status:D["HAVE_TCGETSID"]=" 1"
config.status:D["GNULIB_TEST_TCGETSID"]=" 1"
config.status:D["HAVE_RAW_DECL_TCGETSID"]=" 1"
gltests/config.status:S["HAVE_DECL_TCGETSID"]="1"
gltests/config.status:S["GNULIB_TCGETSID"]="1"
gltests/config.status:D["HAVE_DECL_TCGETSID"]=" 1"
gltests/config.status:D["HAVE_TCGETSID"]=" 1"
gltests/config.status:D["GNULIB_TEST_TCGETSID"]=" 1"
gltests/config.status:D["HAVE_RAW_DECL_TCGETSID"]=" 1"

/Simon



reply via email to

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