Re: [evlog-dev] -- plugin problem
Steve Woodruff <[email protected]> Wed, 15 Jan 2003 15:43:50 -0800 (PST)
| Newsgroups | gmane.linux.kernel.event-logging |
|---|---|
| Message-ID | <[email protected]> |
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