Thanks,
The /usr/include clue did the trick with regard to the re-defined components.
The last thing that is holding up the compile is that it doesn't like the arguments
passed to pthread_create. I copied the line from the frank module and substituted
my thread name for my_thread. I made sure that the thread was defined the same
way as the thread in frank as well. It says there is a problem with the third
argument not being a compatible pointer type.
Any suggestions here?
Thanks,
Rich
> ----------
> From: Michael Barabanov[SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, October 25, 2000 8:00 AM
> To: Basham, Richard R
> Subject: Re: [rtl] v3pre8 header files
>
> Hi Richard,
>
> Could you please provide me with the following info:
>
> 1. What include files do you use?
> 2. What errors do you get?
>
> In general, there should be no includes from /usr/include
> in RTL modules.
>
> Also, please try adding -D_LOOSE_KERNEL_NAMES to rtl.mk's CFLAGS.
>
> Thanks,
>
> Michael.
>
> Basham, Richard R ([EMAIL PROTECTED]) wrote:
> > Hi everyone,
> >
> > Does anyone know if there is a specific set of header files required to
> > compile a module in v3pre8 using linux 2.2.17? I have an existing
> > application v1.1 that I am trying to upgrade to v3pre8 and I can make
> > everything compile (with changes to my code) except for the module.
> > I get lots of messages about structures, data types, etc that are being
> > re-defined by various header files. I have gone to the examples and
> > used the header files listed there as well as re-ordering them and
> > nothing seems to help. I am finding out that the order seems to be
> > very important as well.
> >
> > Any suggestions?
> >
> > Thanks in advance,
> > Rich
> > -- [rtl] ---
> > To unsubscribe:
> > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > ---
> > For more information on Real-Time Linux see:
> > http://www.rtlinux.org/rtlinux/
>
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/