bug-gnulib
[Top][All Lists]
Advanced

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

Re: test-getlogin false failure in non login shells


From: Tom G. Christensen
Subject: Re: test-getlogin false failure in non login shells
Date: Thu, 22 May 2014 17:39:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 19/05/14 14:37, Pádraig Brady wrote:
FYI I just pushed the attached to sync test-getlogin_r.c
with the recent changes in test-getlogin.c


This broke the build on CentOS 6.

depbase=`echo test-getlogin_r.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -DGNULIB_STRICT_CHECKING=1 -I. -I. -I.. -I./.. -I../gllib -I./../gllib -g -O2 -Wall -MT test-getlogin_r.o -MD -MP -MF $depbase.Tpo -c -o test-getlogin_r.o test-getlogin_r.c &&\
        mv -f $depbase.Tpo $depbase.Po
test-getlogin_r.c: In function 'main':
test-getlogin_r.c:68: error: storage size of 'stat_buf' isn't known
test-getlogin_r.c:78: warning: implicit declaration of function 'stat'
test-getlogin_r.c:80: warning: implicit declaration of function 'getpwuid'
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: warning: left-hand operand of comma expression has no effect
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: warning: value computed is not used
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: warning: left-hand operand of comma expression has no effect
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:88: error: dereferencing pointer to incomplete type
test-getlogin_r.c:68: warning: unused variable 'stat_buf'
make[4]: *** [test-getlogin_r.o] Error 1

-tgc



reply via email to

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