RE: [evlog-dev] -- plugin problem
"Zhu, Yi" <[email protected]> Thu, 16 Jan 2003 11:22:34 +0800
| Newsgroups | gmane.linux.kernel.event-logging |
|---|---|
| Message-ID | <[email protected]> |
Hi Steve, I use Redhat 8.0 on a SMP P3 machine, I have no problem with running the sample_be code. I can also run the tcp_rmtlog_be and udp_rmtlog_be successfully. I suggest you check out the latest evlog code from cvs, it has all the POSIX_LOG_PRINTF defined in all the kernels' evl_log.h. I did a search for umodsi3 in /usr/lib/libevl.so.1 and /lib/i686/libc.so.6 using "nm /lib/i686/libc.so.6 |grep umodsi3", but cannot find any. Are you using an IA64? Thanks, -Zhu Yi > -----Original Message----- > From: Steve Woodruff [mailto:[email protected]] > Sent: Thursday, January 16, 2003 7:44 AM > To: evlog mailing list > Subject: Re: [evlog-dev] -- plugin problem > > > Hi Hien, > > Same error ... > > /sbin/evlogd: relocation error: /usr/lib/libevl.so.1: > undefined symbol: __umodsi3 > > So that wasn't the problem. Also, i already had > the -static-gcc opt in the Makefile. > > Other ideas? > > thanks, > > /steve > > --- Hien Nguyen <[email protected]> wrote: > > Hi Steve, > > > > Could you try to compile and run this new sample_be > > source files. > > > > No major changes in it. Just make sure that we don't > > have 64 bits memory > > boundary problem when I pass the rechdr and varbuf > > to evl_format_evrec_fixed > > > > Change Makefile to build with -static-gcc option > > (normally share lib > > link with share gcc which I suspect missing from > > your system). > > > > Please let me know what happens. > > > > Thanks, Hien. > > > > > > Steve Woodruff wrote: > > > Hien, > > > > > > I've tracked down in the code where the > > > error is generated: > > > > > > status = evl_format_evrec_fixed(rhdr, fdbuf, > > > fdbufLen, 0, defaultSeparator, 80, 0x0); > > > > > > this function call never returns - the evlogd > > > actually exits, and the message displayed on > > > the console is: > > > > > > /sbin/evlogd: relocation error: > > /usr/lib/libevl.so.1: > > > undefined symbol: __umodsi3 > > > > > > Hope this helps, > > > > > > /steve > > > > > > > > > > > > --- Hien Nguyen <[email protected]> wrote: > > > > > >>Steve, > > >> > > >>Do you know that now you could set the libc.so > > name > > >>in the > > >>/etc/evlogd/libevlsyslog.conf > > >> > > >>Try > > >> > > >>echo libc.so.6.1 > /etc/evlog.d/libevlsyslog.conf > > >> > > >>I will look at the plugin problem asap. Did you > > try > > >>the plugins that we > > >>include with evlog v1.5.0. > > >> > > >>Thanks, Hien. > > >> > > >>Steve Woodruff wrote: > > >> > > >>>Hi Larry, > > >>> > > >>>I started working on my own plugin using the > > >>>sample as a baseline. But everytime the > > >> > > >>registered > > >> > > >>>function was called, the following message would > > >>>be dumped to console: > > >>> > > >>>/sbin/evlogd: relocation error: > > >> > > >>/usr/lib/libevl.so.1: > > >> > > >>>undefined symbol: __umodsi3 > > >>> > > >>>Then i went back and compiled the sample plugin > > >>>as-is -- and it has the same error message when > > >>>an event is logged. > > >>> > > >>>Any ideas? > > >>> > > >>>Thanks! > > >>> > > >>>/steve > > >>> > > >>> > > >>>(ps -- hein, the fix for the libc.so.6 not > > present > > >>>that you put in works great. it auto-removes the > > >>>entry from ld.so.preload. any chance that you > > >> > > >>could > > >> > > >>>enhance it to "search" for the libc.so.6 module > > >>>under a different name? For example, with RH 2.1 > > >>>advanced server, its installed as libc.so.6.1 but > > >>>with no symlink to libc.so.6.) > > >>> > > >>>--- Larry Kessler <[email protected]> wrote: > > >>> > > >>> > > >>>>On Monday 13 January 2003 10:57, Steve Woodruff > > >>>>wrote: > > >>>> > > >>>>Steve- Sorry but we've gotten behind on getting > > >>>>things posted to the > > >>>>website. The attached tarball has a README with > > >>>>explanation and > > >>>>code with numerous comments implementing a > > sample > > >>>>driver. Next > > >>>>step is to create a HOWTO for the website, but > > >>> > > >>this > > >> > > >>>>should help. > > >>>> > > >>>>Please feel free to comment or post questions. > > >>>> > > >>>>Thanks, > > >>>>Larry Kessler > > >>>> > > >>>> > > >>> > > >>> > > >>>>ATTACHMENT part 2 application/x-tgz > > >>> > > >>>name=sample_be_howto.tar.gz > > >>> > > >>> > > >>> > > >>>===== > > >>> > > >> > > > > > > ---------------------------------------------------------- > > > > > >>> Steve Woodruff, N9OH @ 42.18N 88.34W, > > >> > > >>[email protected] > > >> > > > >>>__________________________________________________ > > >>>Do you Yahoo!? > > >>>Yahoo! Mail Plus - Powerful. Affordable. Sign up > > >> > > >>now. > > >> > > >>>http://mailplus.yahoo.com > > >>> > > >>> > > >>> > > >> > > > > > > ------------------------------------------------------- > > > > > >>>This SF.NET email is sponsored by: A Thawte Code > > >> > > >>Signing Certificate > > >> > > >>>is essential in establishing user confidence by > > >> > > >>providing assurance of > > >> > > >>>authenticity and code integrity. Download our > > Free > > >> > > >>Code Signing guide: > > >> > > > > > > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en > > > > > >>>_______________________________________________ > > >>>evlog-developers mailing list > > >>>[email protected] > > >>> > > >> > > > > > > https://lists.sourceforge.net/lists/listinfo/evlog-developers > > > > > >> > > > > > > > > > ===== > > > > > > ---------------------------------------------------------- > > > Steve Woodruff, N9OH @ 42.18N 88.34W, > > [email protected] > > > > > > __________________________________________________ > > > Do you Yahoo!? > > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > > now. > > > http://mailplus.yahoo.com > > > > > > > > > === message truncated === > > > ATTACHMENT part 2 application/x-gzip > name=sample_be.tar.gz > > > > ===== > ---------------------------------------------------------- > Steve Woodruff, N9OH @ 42.18N 88.34W, [email protected] > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now. > http://mailplus.yahoo.com > > > ------------------------------------------------------- > This SF.NET email is sponsored by: A Thawte Code Signing Certificate > is essential in establishing user confidence by providing > assurance of > authenticity and code integrity. Download our Free Code Signing guide: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en > _______________________________________________ > evlog-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/evlog-developers > ------------------------------------------------------- This SF.NET email is sponsored by: A Thawte Code Signing Certificate is essential in establishing user confidence by providing assurance of authenticity and code integrity. Download our Free Code Signing guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en