On Tue, Jun 12, 2001 at 09:33:59AM +0200, Juan Fco Rodriguez Hervella wrote:
> Hi:
> 
> I am trying to create a new option into the KERNEL, but
> I dont have experience on it, and when the "make" try to link
> the *.o files, it is showed an undefined reference to
> a function that is implemented in a .c that is not compiled.
> 
> I have included the "opt_xxx.h" in this c file,
> What does I need to do to force this new .c under /netinet6 
> to compile ?

I believe you need to add a line for your source file in
the sys/conf/files, or sys/conf/files.{arch} if it is platform-specific.
I'm not sure of the exact syntax for sys/conf/files entries, although
it seems pretty straightforward for .c/.h files that do not require
any specific compiler options.

G'luck,
Peter

-- 
"yields falsehood, when appended to its quotation." yields falsehood, when appended to 
its quotation.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to