Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 1999 11:09:55 -0700
From:      ptacek <ptacek@pwrh.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   KLD compile links?
Message-ID:  <36EFEFF3.FA2CB789@pwrh.com>

next in thread | raw e-mail | index | archive | help
I have recently converted an existing LKM that we had to a KLD format.
It seems to up and running now, however if I try and compile in a
different
directory it fails.  The directory I did my development in was:
/usr/src/sys/modules/vlc
However previously we used /usr/src/lkm/vlc as our directory and I would

like to continue to use that directory ( for now at least ) to keep the
install
instructions similar.
I believe that a link created in the compile directory ( @ ) is being
set
incorrectly.  In the directories that work it points to /usr/src/sys and
in the
directories where it doesn't work it is pointing to /usr/src.   How is
this link
set, and why would it be different in different directories.  If I
manually
include the /usr/src/sys directory with a -I/usr/src/sys it works fine,
so I am
pretty sure this is my problem.



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?36EFEFF3.FA2CB789>