Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2001 12:34:57 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Juan Fco Rodriguez Hervella <jrh@it.uc3m.es>
Cc:        Lista <freebsd-hackers@freebsd.org>
Subject:   Re: New c file under netinet6/ is not compiled, help
Message-ID:  <20010612123456.B819@ringworld.oblivion.bg>
In-Reply-To: <3B25C5E7.39FEC964@it.uc3m.es>; from jrh@it.uc3m.es on Tue, Jun 12, 2001 at 09:33:59AM %2B0200
References:  <3B25C5E7.39FEC964@it.uc3m.es>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010612123456.B819>