[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#35450: Problem compiling kdenetwork 2.2.2
From:       Fons Rademakers <Fons.Rademakers () cern ! ch>
Date:       2002-01-13 19:03:36
[Download RAW message or body]

I've the same problem on RH7.2 + all official RH patches.

The problem is that in ./configure the exit tests (like std::exit) also
have stdlib.h in the list:

  for ac_declaration in \
   ''\
   '#include <stdlib.h>' \
   'extern "C" void std::exit (int) throw (); using std::exit;' \
   'extern "C" void std::exit (int); using std::exit;' \
   'extern "C" void exit (int) throw ();' \
   'extern "C" void exit (int);' \
   'void exit (int);'
do

this succeeds and then #include <stdlib.h> is added to confdefs.h.
Since setenv() and unsetenv() are in stdlib.h the subsequent test
for these functions fails. I don't use "make -f Makefile.cvs"
so I don't regenerate the ./configure. It seems that the configure
script in the kdenetwork tarbal is wrong.

Cheers, Fons.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic