Re: Porting Matchbox to Agenda VR3

Phil Olynyk <[email protected]>
Newsgroups gmane.comp.handhelds.matchbox
Message-ID <5.1.0.14.0.20030409190829.05e53ec0@pop.bloor.phub.net.cable.rogers.com>
 > Hmm, Im seen this happen before during a cross-compile of matchbox.
 > I think for some reason malloc gets #defined as rpl_malloc in config.h
 > by autotools - try manually removing that and then re making.
 > Im not sure if this is a problem with the x-compiler or autotools,
 > will investigate.

         I see that another cross-compiler guy is having trouble with 
malloc. I had a similar trouble with cross-compiling for the Tuxscreen.
         I just looked at the configure script. Around line 10436, it looks 
like either it didn't do the right thing with the cross-compile flag, (is 
that something I have to set in the options to configure?) or somewhere I 
should "set" the $(ac_cv_func_malloc_0_nonnull+set) variable. It's fairly 
obvious that we can't test the target platform implementation by using the 
host, after all. So probably I have to do something to tell configure that 
I know my target malloc does exist, -- also all the other features it tries 
to test by compile&execute!
         For me, editing the config.h file was a handy work-around, but it 
would be neat to fix it so the Tuxscreen buildroot can be completely automatic.

Phil Olynyk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.