|
From: Andreas W. <and...@em...> - 2005-02-25 08:45:21
|
John, the function ceil is normally in the math library. Therefore, you should add a '-lm' to the link line in your Makefile: $(COMPILE) $(wrapper_SOURCE) -o $(BIN)/wrapper -lm Regards, Andreas > > Hello Leif Mortenson, > > I have tried building this wrapper for a64 without much luck. It starts up > fine and finds ANT and JAVA_HOME but then it fails. I have tried with jvm > 1.4.3 as well as 1.5. I've tried building it as user as well as root with > the source in /usr/src. > > The error I get: > Wrapper Build System > -------------------- > Buildfile: build.xml > > init: > OS='Linux' > > update-info: > Copying 1 file to > /usr/src/wrapper_3.1.2_src/src/java/org/tanukisoftware/wrapper > Copying 1 file to /usr/src/wrapper_3.1.2_src/src/c > > compile-java: > Compiling 1 source file to /usr/src/wrapper_3.1.2_src/build/classes > > compile-jni: > ClassArgument.name=org.tanukisoftware.wrapper.WrapperManager > > compile-c-unix: > if test ! -d .deps; then mkdir .deps; fi > gcc -O3 -Wall --pedantic -pthread -DUSE_NANOSLEEP wrapper.c wrapperinfo.c > wrappereventloop.c wrapper_unix.c property.c logger.c -o ../../bin/wrapper > /tmp/cces7BCe.o(.text+0x2f33): In function `wrapperStopPendingSignalled': > : undefined reference to `ceil' > /tmp/cces7BCe.o(.text+0x3064): In function `wrapperStartPendingSignalled': > : undefined reference to `ceil' > collect2: ld returned 1 exit status > make: *** [wrapper] Error 1 > > BUILD FAILED > /usr/src/wrapper_3.1.2_src/build.xml:328: exec returned: 2 > > Total time: 5 seconds > > Any suggestions? I currently don't have any production sites on this > server, could give you access if you want to give it a try. > > Thanks! > > John > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |