pspp-users
[Top][All Lists]
Advanced

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

trouble installing builds from the last few months


From: Gerda Shank
Subject: trouble installing builds from the last few months
Date: Thu, 25 Aug 2011 17:27:54 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0) Gecko/20110812 Thunderbird/6.0

We want to use a method that was implemented in July, but I haven't been able to get the build files to install on my CentOS 5.5 system.

It fails with the following:

==============================
depbase=`echo areadlink.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../intl -I/home/intellisurvey/versions/6.5/isapps/include -g -O2 -Wdeclaration-after-statement -MT areadlink.lo -MD -MP -MF $depbase.Tpo -c -o areadlink.lo areadlink.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../intl -I/home/intellisurvey/versions/6.5/isapps/include -g -O2 -Wdeclaration-after-statement -MT areadlink.lo -MD -MP -MF .deps/areadlink.Tpo -c areadlink.c -fPIC -DPIC -o .libs/areadlink.o
In file included from areadlink.c:30:
./stdlib.h:35:3: error: invalid preprocessing directive #"///usr/include/stdlib.h"
In file included from areadlink.c:31:
./string.h:28:3: error: invalid preprocessing directive #"///usr/include/string.h"
In file included from areadlink.c:32:
./unistd.h:44:4: error: invalid preprocessing directive #"///usr/include/unistd.h"
In file included from /usr/include/sys/types.h:133,
from ./unistd.h:104,
from areadlink.c:32:
./time.h:34:4: error: invalid preprocessing directive #"///usr/include/time.h"
In file included from /usr/include/sys/select.h:44,
from /usr/include/sys/types.h:220,
from ./unistd.h:104,
from areadlink.c:32:
./time.h:34:4: error: invalid preprocessing directive #"///usr/include/time.h"
areadlink.c: In function ‘areadlink’:
areadlink.c:68: warning: implicit declaration of function ‘readlink’
areadlink.c:77: warning: implicit declaration of function ‘free’
areadlink.c:90: warning: implicit declaration of function ‘malloc’
areadlink.c:90: warning: incompatible implicit declaration of built-in function ‘malloc’
areadlink.c:98: warning: implicit declaration of function ‘memcpy’
areadlink.c:98: warning: incompatible implicit declaration of built-in function ‘memcpy’
areadlink.c:105: warning: implicit declaration of function ‘realloc’
areadlink.c:105: warning: cast to pointer from integer of different size
areadlink.c:122: warning: incompatible implicit declaration of built-in function ‘malloc’

==================================

the stdlib.h that's in the 'gl' directory has the following lines, which is what doesn't work:

#if defined __need_malloc_and_calloc
/* Special invocation convention inside glibc header files. */

# "///usr/include/stdlib.h"

#else
/* Normal invocation convention. */

#ifndef _GL_STDLIB_H

/* The include_next requires a split double-inclusion guard. */
# "///usr/include/stdlib.h"

====================================

Any idea what I can do to get this to compile?

Gerda





reply via email to

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