|
From: Donald <fly...@gm...> - 2005-12-20 12:04:53
|
Hi Leif: Thanks for your reply,I have compiled wrapper in unixware by gcc,and after try difference makefile ,i got some compile warning in gcc output.It's seem the .h file in unixware is differrence from other platform. like this: --------------------------------------------------------------------- Compile with Makefile.freebsd: --------------------------------------------------------------------- if test ! -d .deps; then mkdir .deps; fi gcc -Wall -pedantic -DFREEBSD -DUSE_NANOSLEEP wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c -lm -lcompat -pthread -o ../../bin/wrapper wrapper.c: In function `wrapperProtocolOpen': wrapper.c:607: `socklen_t' undeclared (first use in this function) wrapper.c:607: (Each undeclared identifier is reported only once wrapper.c:607: for each function it appears in.) wrapper.c:607: parse error before `)' wrapperinfo.c:37: warning: carriage return in preprocessing directive wrapperinfo.c:35: warning: carriage return in source file wrapperinfo.c:35: warning: (we only warn about the first carriage return) wrapper_unix.c: In function `getSignalCodeDesc': wrapper_unix.c:432: `SI_QUEUE' undeclared (first use in this function) wrapper_unix.c:432: (Each undeclared identifier is reported only once wrapper_unix.c:432: for each function it appears in.) wrapper_unix.c:435: `SI_TIMER' undeclared (first use in this function) wrapper_unix.c:438: `SI_MESGQ' undeclared (first use in this function) wrapper_unix.c:441: `SI_ASYNCIO' undeclared (first use in this function) wrapper_unix.c: In function `wrapperSleep': wrapper_unix.c:864: warning: implicit declaration of function `nanosleep' wrapper_unix.c: In function `main': wrapper_unix.c:1544: warning: control reaches end of non-void function logger.c:244: warning: missing braces around initializer logger.c:244: warning: (near initialization for `log_printfMutex.__pt_mutex_mutex') *** Error code 1 (bu21) UX:make: ERROR: fatal error. ------------------------------------------------------- Compile with Makefile.hpux: ------------------------------------------------------- gcc -O3 -Wall --pedantic -DHPUX -D_XOPEN_SOURCE_EXTENDED -DUSE_NANOSLEEP wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c -lm -o ../../bin/wrapper wrapper.c: In function `wrapperProtocolOpen': wrapper.c:607: `socklen_t' undeclared (first use in this function) wrapper.c:607: (Each undeclared identifier is reported only once wrapper.c:607: for each function it appears in.) wrapper.c:607: parse error before `)' wrapperinfo.c:37: warning: carriage return in preprocessing directive wrapperinfo.c:35: warning: carriage return in source file wrapperinfo.c:35: warning: (we only warn about the first carriage return) wrapper_unix.c: In function `getSignalCodeDesc': wrapper_unix.c:432: `SI_QUEUE' undeclared (first use in this function) wrapper_unix.c:432: (Each undeclared identifier is reported only once wrapper_unix.c:432: for each function it appears in.) wrapper_unix.c:435: `SI_TIMER' undeclared (first use in this function) wrapper_unix.c:438: `SI_MESGQ' undeclared (first use in this function) wrapper_unix.c:441: `SI_ASYNCIO' undeclared (first use in this function) wrapper_unix.c: In function `wrapperSleep': wrapper_unix.c:864: warning: implicit declaration of function `nanosleep' logger.c:244: warning: missing braces around initializer logger.c:244: warning: (near initialization for `log_printfMutex.__pt_mutex_mutex') *** Error code 1 (bu21) UX:make: ERROR: fatal error. ------------------------------------------------------- Compile with Makefile.linux: ------------------------------------------------------- gcc -O3 -Wall --pedantic -pthread -DUSE_NANOSLEEP wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c -o ../../bin/wrapper wrapper.c:413: asm/errno.h: No such file or directory wrapperinfo.c:37: warning: carriage return in preprocessing directive wrapperinfo.c:35: warning: carriage return in source file wrapperinfo.c:35: warning: (we only warn about the first carriage return) wrapper_unix.c: In function `getSignalCodeDesc': wrapper_unix.c:432: `SI_QUEUE' undeclared (first use in this function) wrapper_unix.c:432: (Each undeclared identifier is reported only once wrapper_unix.c:432: for each function it appears in.) wrapper_unix.c:435: `SI_TIMER' undeclared (first use in this function) wrapper_unix.c:438: `SI_MESGQ' undeclared (first use in this function) wrapper_unix.c:441: `SI_ASYNCIO' undeclared (first use in this function) wrapper_unix.c: In function `wrapperSleep': wrapper_unix.c:864: warning: implicit declaration of function `nanosleep' logger.c:244: warning: missing braces around initializer logger.c:244: warning: (near initialization for `log_printfMutex.__pt_mutex_mutex') *** Error code 1 (bu21) UX:make: ERROR: fatal error. 2005/12/15, Leif Mortenson <le...@ta...>: > Donald, > Unfortunately I don't have access to such a system to try it out. > That is not currently > on our supported list however so it will most likely need to have a new > Makefile > generated. That unfortunately requires some C and Makefile > experience. The Wrapper > now works on quite a few platforms so porting to new ones has become > increasingly > simple. I can help you out my making suggestions to any compiler > errors or warnings > you may get, but there is not a lot I can do to help without being able > to access the > system myself. > (I have never turned down donations of hardware however ;-) > > Cheers, > Leif > > Donald wrote: > > hi,all > > I am not familiar with makefile in unixware,i don't know if i want > > compile java service wrapper in unixware,what should i do? > > Can i just use hp-uinx version in unixware? > > > > regards > > > > -- > > Donald > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > -- Donald |