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

List:       kde-devel
Subject:    Re: Porting KDE 2 (1.90) to other Unixes ...
From:       Thomas Leitner <tom () radar ! tu-graz ! ac ! at>
Date:       2000-05-11 8:05:35
[Download RAW message or body]


On Thu, 11 May 2000, David Faure wrote:

> No - the prototypes for those functions should be in config.h,
> which gets them from config.h.bot.
> 
> Oh, and BTW it's there
> #if !defined(HAVE_SETENV)
> int setenv(const char *name, const char *value, int overwrite);
> #endif
> 
> #if !defined(HAVE_UNSETENV)
> int unsetenv(const char *name);
> #endif
> 
> What does your config.h say about HAVE_SETENV ?

As I already said, I have:

#define HAVE_SETENV 1

So the prototype in config.h is not used. As there's no prototype
in the system headers, the compiler complains and bails out.

I've used -DAES_SOURCE in the CFLAGS and CPPFLAGS and it worked now.

Tom
-- 
--------------------------------------------------------------------------
Dr. Tom Leitner                             Dept. of Communications
                                            Graz University of Technology, 
e-mail    : tom@radar.tu-graz.ac.at         Inffeldgasse 12
Phone     : +43-316-873-7455                A-8010 Graz / Austria / Europe
Fax       : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send 
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
    Before we have the paperless office, we have the paperless toilet!

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

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