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

Re: janosvm ltdl.c compile problem



> Dear sir: 

hi,

>         Thanks for your advices!I have done "make janosvmtools-config janosvmtools-all janosvmtools-install" before I configed janosvm.It was successful.But when I make janosvm, there were some errors yet.As follows:
>       /usr/local/janosvm-0.6.0/libltdl/ltdl.c: 261: 'malloc'undeclared here(not in a function)
>       /usr/local/janosvm-0.6.0/libltdl/ltdl.c: 263: 'free'undeclared here(not in a function)
>       make[3]: ***[ltdl.lo] Error1 
>       make[2]: ***[all-recursive] Error1
>       make[1]: ***[all] Error1
> 
> I doubte that there are some parse error in ltdl.c,but I am
> uncertained.How can I solve it?

For now, just try adding:

  #include <stdlib.h>

or commenting out the "#if HAVE_STDLIB_H" and "#endif" in ltdl.c.

Also, what OS/compiler/architecture are you using?  I'm having trouble
replicating this problem on freebsd.

>      Thanks!

tim stack




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah