Oops, forgot about that one. It is fixed now. thanks, Anders Widell
2013-12-02 07:43, Ramesh Betham skrev: > Hi Anders, > > make rpm fails, please check. (osaf_poll.h, osaf_time.h should add in > ../osaf/libs/core/common/includeMakefile.am) > > Thanks, > Ramesh. > > libopensaf_common_la-osaf_poll.lo -MD -MP -MF > .deps/libopensaf_common_la-osaf_poll.Tpo -c osaf_poll.c -fPIC -DPIC > -o .libs/libopensaf_common_la-osaf_poll.o > osaf_poll.c:18:23: error: osaf_poll.h: No such file or directory > osaf_poll.c:21:23: error: osaf_time.h: No such file or directory > osaf_poll.c:25: error: expected declaration specifiers or â...â before > ânfds_tâ > cc1: warnings being treated as errors > osaf_poll.c:25: error: âstruct pollfdâ declared inside parameter list > osaf_poll.c:25: error: its scope is only this definition or > declaration, which is probably not what you want > osaf_poll.c:27: error: expected declaration specifiers or â...â before > ânfds_tâ > osaf_poll.c:27: error: âstruct pollfdâ declared inside parameter list > osaf_poll.c:27: error: conflicting types for âosaf_poll_no_timeoutâ > osaf_poll.c:25: error: previous declaration of âosaf_poll_no_timeoutâ > was here > osaf_poll.c: In function âosaf_poll_no_timeoutâ: > osaf_poll.c:31: error: implicit declaration of function âpollâ > osaf_poll.c:31: error: âi_nfdsâ undeclared (first use in this function) > osaf_poll.c:31: error: (Each undeclared identifier is reported only once > osaf_poll.c:31: error: for each function it appears in.) > osaf_poll.c: At top level: > osaf_poll.c:38: error: expected declaration specifiers or â...â before > ânfds_tâ > osaf_poll.c:38: error: âstruct pollfdâ declared inside parameter list > osaf_poll.c: In function âosaf_pollâ: > osaf_poll.c:41: error: âi_nfdsâ undeclared (first use in this function) > osaf_poll.c:41: error: passing argument 1 of âosaf_poll_no_timeoutâ > from incompatible pointer type > osaf_poll.c:41: error: too many arguments to function > âosaf_poll_no_timeoutâ > osaf_poll.c:42: error: implicit declaration of function > âosaf_millis_to_timespecâ > osaf_poll.c:43: error: implicit declaration of function âosaf_ppollâ > osaf_poll.c: At top level: > osaf_poll.c:46: error: expected declaration specifiers or â...â before > ânfds_tâ > osaf_poll.c:47: error: âstruct pollfdâ declared inside parameter list > osaf_poll.c:46: error: conflicting types for âosaf_ppollâ > osaf_poll.c:43: error: previous implicit declaration of âosaf_ppollâ > was here > osaf_poll.c: In function âosaf_ppollâ: > osaf_poll.c:59: error: âkNanosPerSecâ undeclared (first use in this > function) > osaf_poll.c:59: error: âkMillisPerSecâ undeclared (first use in this > function) > osaf_poll.c:78: error: âi_nfdsâ undeclared (first use in this function) > osaf_poll.c:78: error: passing argument 1 of âosaf_poll_no_timeoutâ > from incompatible pointer type > osaf_poll.c:78: error: too many arguments to function > âosaf_poll_no_timeoutâ > osaf_poll.c:80: error: implicit declaration of function > âosaf_clock_gettimeâ > osaf_poll.c:91: error: implicit declaration of function > âosaf_timespec_addâ > osaf_poll.c:94: error: implicit declaration of function > âosaf_timespec_compareâ > osaf_poll.c:96: error: implicit declaration of function > âosaf_timespec_to_millisâ > osaf_poll.c:110: error: implicit declaration of function > âosaf_timespec_subtractâ > osaf_poll.c: In function âosaf_poll_one_fdâ: > osaf_poll.c:132: error: storage size of âsetâ isnât known > osaf_poll.c:135: error: âPOLLINâ undeclared (first use in this function) > osaf_poll.c:136: error: too many arguments to function âosaf_pollâ > osaf_poll.c:138: error: âPOLLNVALâ undeclared (first use in this > function) > osaf_poll.c:138: error: âPOLLERRâ undeclared (first use in this function) > osaf_poll.c:138: error: âPOLLHUPâ undeclared (first use in this function) > osaf_poll.c:132: error: unused variable âsetâ > make[7]: *** [libopensaf_common_la-osaf_poll.lo] Error 1 > make[7]: Leaving directory > `/ramesh/opensaf-staging-new/rpms/BUILD/opensaf-4.4.M0/osaf/libs/core/common' > make[6]: *** [all-recursive] Error 1 > make[6]: Leaving directory > `/ramesh/opensaf-staging-new/rpms/BUILD/opensaf-4.4.M0/osaf/libs/core/common' > make[5]: *** [all-recursive] Error 1 > make[5]: Leaving directory > `/ramesh/opensaf-staging-new/rpms/BUILD/opensaf-4.4.M0/osaf/libs/core' > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory > `/ramesh/opensaf-staging-new/rpms/BUILD/opensaf-4.4.M0/osaf/libs' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/ramesh/opensaf-staging-new/rpms/BUILD/opensaf-4.4.M0/osaf' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/ramesh/opensaf-staging-new/rpms/BUILD/opensaf-4.4.M0' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/ramesh/opensaf-staging-new/rpms/BUILD/opensaf-4.4.M0' > error: Bad exit status from > /ramesh/opensaf-staging-new/rpms/tmp/rpm-tmp.1908 (%build) > > > RPM build errors: > Bad exit status from > /ramesh/opensaf-staging-new/rpms/tmp/rpm-tmp.1908 (%build) > make: *** [rpm] Error 1 > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel