gnupic: Re: [gnupic] Compilation problems


Previous by date: 10 Mar 2009 11:19:03 -0000 Re: [gnupic] Compilation problems, Peter Stuge
Next by date: 10 Mar 2009 11:19:03 -0000 Re: [gnupic] Compilation problems, Marko Kohtala
Previous in thread: 10 Mar 2009 11:19:03 -0000 Re: [gnupic] Compilation problems, Peter Stuge
Next in thread: 10 Mar 2009 11:19:03 -0000 Re: [gnupic] Compilation problems, Marko Kohtala

Subject: Re: [gnupic] Compilation problems
From: Marko Kohtala ####@####.####
Date: 10 Mar 2009 11:19:03 -0000
Message-Id: <9cfa10eb0903100417i67e26330r5daa3604d4a6b96c@mail.gmail.com>

On Tue, Mar 10, 2009 at 12:49 PM, Peter Stuge ####@####.#### wrote:
> Marko Kohtala wrote:
>> Now, if anyone read this far and has some insight to share, I'm
>> interested.
>
> What were you cross-compiling for? Windows has those functions. Maybe
> some header file was missing?

When cross compiling configure can not execute the test programs
compiled using a cross compiler to verify if malloc(0) returns NULL or
what. So it does the safe thing and replaces calls to malloc with
calls to rpl_malloc and adds the malloc.o to LIBOBJS.

It is wrong to use AC_FUNC_MALLOC in cofigure.ac and not have a
definition for rpl_malloc. See
http://www.gnu.org/software/autoconf/manual/html_node/Particular-Functions.html#index-AC_005fFUNC_005fMALLOC-399

Oh yes, it says AC_FUNC_MEMCMP is "obsolescent". Maybe could just drop that.

Marko

> //Peter

Previous by date: 10 Mar 2009 11:19:03 -0000 Re: [gnupic] Compilation problems, Peter Stuge
Next by date: 10 Mar 2009 11:19:03 -0000 Re: [gnupic] Compilation problems, Marko Kohtala
Previous in thread: 10 Mar 2009 11:19:03 -0000 Re: [gnupic] Compilation problems, Peter Stuge
Next in thread: 10 Mar 2009 11:19:03 -0000 Re: [gnupic] Compilation problems, Marko Kohtala


Powered by ezmlm-browse 0.20.