Re: 2.4.0-test11 - get_module_symbol() goes away, how to get mol_interface[]?


Subject: Re: 2.4.0-test11 - get_module_symbol() goes away, how to get mol_interface[]?
From: Derrik Pates (dpates@andromeda.dsdk12.net)
Date: Thu Nov 30 2000 - 15:45:57 MST


On Thu, 30 Nov 2000, Samuel Rydh wrote:

> > With the change I described, yes. If I don't change that, I get an error
> > about a redefinition of struct timer_t. (This is with 2.4.0-test11.)
>
> Are you sure you are using the latest mol source? I just compiled
> MOL with the latest 2.4.0-test11 headers from the BK tree
> without problems.
>
> I think I eliminated the inclusion of the linux header which
> caused this conflict a while back.

Ok, my bad - it's not the kernel headers, but the libc headers (I'm using
debian woody, and it's outfitted with glibc 2.2). It's timer_t in
/usr/include/time.h that causes the conflict:

timer.c:53: conflicting types for `timer_t'
/usr/include/time.h:94: previous declaration of `timer_t'

I was going on my recollection, which was (obviously) just a bit
inaccurate.

Derrik Pates | Sysadmin, Douglas School| _ #linuxOS on EFnet
dpates@dsdk12.net | District (dsdk12.net) | | | and now OPN too!
   Student @ South Dakota School of Mines | __| |___ _ _ _ ___ _ _ ____
       & Technology (www.sdsmt.edu) |/ _ / -_) ' \ '\/ _ \ ' \ (____)
UNIX: Because you want to USE your computer.|\___,\___|_||_||_\___/_||_|



This archive was generated by hypermail 2a24 : Thu Nov 30 2000 - 15:46:58 MST