undefined reference to `memset'
David O'Brien
obrien at freebsd.org
Thu Mar 24 22:25:30 PST 2005
On Thu, Mar 24, 2005 at 02:01:56PM -0800, Vinod Kashyap wrote:
> > > > Vinod can you please post a complete compilable example?
> > > > It is impossible to get anything done about your issue
> > without stand
> > > > alone test code.
> > > Ok, make sure you have 'device twa' in your kernel configuration
> > > file, and apply these patches to /sys/dev/twa/twa.c.
> > > This patch causes the problem:
> >
> > "stand alone" means a single foo.c file that shows the
> > problem you want
> > fixed.
> > I cannot submit a GCC bug report with a tarball of the entire FreeBSD
> > kernel.
> >
>
> Can you not submit it with the patch I sent?
Submit the entire /usr/src/sys kernel source??
> A "stand alone" foo.c will have to be a new module under a new
> directory (/sys/dev/foo), with its own Makefile, with changes to
> /sys/conf/files, and an entry in GENERIC.
A module would still depend on files in /usr/share/mk, /usr/src/sys/conf,
/usr/src/sys/modules, /usr/src/sys/dev/foo.
NO! nothing other than a single file -- foo.c in my home directory that
shows the problem is a "stand alone" example.
--
-- David (obrien at FreeBSD.org)
More information about the freebsd-amd64
mailing list