undefined reference to `memset'

Vinod Kashyap vkashyap at amcc.com
Thu Mar 24 14:02:54 PST 2005


> > > 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?  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.




More information about the freebsd-amd64 mailing list