ddd
[Top][All Lists]
Advanced

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

Cannot build from cvs on the new machine...


From: Atwood, Robert C
Subject: Cannot build from cvs on the new machine...
Date: Tue, 6 Dec 2005 18:39:06 -0000

Just thougth I  would try an update, but encoutner the following
problem. It seems that a test in the configuration (and possibly other
tests) yeilds the opposite value to that seen when actually compiling. I
am not sure how to figure out what's going on with macros during
configure, the same process succeeds on the 'old' machine so I'm
guessing it's something to do with 64 bits

New machine:
Linux distribution=Suse-9.1
Arch=x86_64 (intel Pentium em64t)

Old machine:
Linux distribution=RedHat 7.3 + selfbuilt upgrades as necessary (ie
autoconf, automake, )
Arch=i686 (intel Pentium)

----extracts are all from new machine, it worked fine on old machine----

(from config.log)

   4242 configure:24705: checking for setrlimit declaration in
sys/resource.h
   4243 configure:24756: result: no


hive2:/sources/local/ddd # ./configure
--prefix=/usr/local/encap/ddd-3.3.11.1
hive2:/sources/local/ddd # make
Making all in themes
make[1]: Entering directory `/hive2tmp/sources/local/ddd/themes'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/hive2tmp/sources/local/ddd/themes'
Making all in vsllib
make[1]: Entering directory `/hive2tmp/sources/local/ddd/vsllib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/hive2tmp/sources/local/ddd/vsllib'
Making all in ddd
make[1]: Entering directory `/hive2tmp/sources/local/ddd/ddd'
make  all-am
make[2]: Entering directory `/hive2tmp/sources/local/ddd/ddd'
if g++ -DHAVE_CONFIG_H -I. -I. -I.  -I./.. -isystem /usr/X11R6/include
-O2 -g -Wall -W -Wwrite-strings -trigraphs  -MT ddd.o -MD -MP -MF
".deps/ddd.Tpo" -c -o ddd.o ddd.C; \
then mv -f ".deps/ddd.Tpo" ".deps/ddd.Po"; else rm -f ".deps/ddd.Tpo";
exit 1; fi
In file included from ddd.C:237:
getrlimit.h:52: error: declaration of C function `int setrlimit(int,
rlimit*)'
   conflicts with
/usr/include/sys/resource.h:72: error: previous declaration `int
setrlimit(int,
   const rlimit*)' here
ddd.C: In function `void BlinkCB(void*, XtIntervalId*)':
ddd.C:5461: warning: cast to pointer from integer of different size
make[2]: *** [ddd.o] Error 1
make[2]: Leaving directory `/hive2tmp/sources/local/ddd/ddd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/hive2tmp/sources/local/ddd/ddd'
make: *** [all-recursive] Error 1
hive2:/sources/local/ddd #


(from /usr/include/sys/resource.h)

     68    Only the super-user can increase hard limits.
     69    Return 0 if successful, -1 if not (and sets errno).  */
     70 #ifndef __USE_FILE_OFFSET64
     71 extern int setrlimit (__rlimit_resource_t __resource,
     72                       __const struct rlimit *__rlimits) __THROW;
     73 #else
     74 # ifdef __REDIRECT
     75 extern int __REDIRECT (setrlimit, (__rlimit_resource_t
__resource,
     76                                    __const struct rlimit
*__rlimits) __THROW,
     77                        setrlimit64);
     78 # else
     79 #  define setrlimit setrlimit64
     80 # endif
     81 #endif
     82 #ifdef __USE_LARGEFILE64
     83 extern int setrlimit64 (__rlimit_resource_t __resource,
     84                         __const struct rlimit64 *__rlimits)
__THROW;
     85 #endif
     86





reply via email to

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