Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Apr 2008 18:10:57 +0300
From:      "Mr Y" <yonyossef.lists@gmail.com>
To:        "Lowell Gilbert" <freebsd-questions-local@be-well.ilk.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kldload: unexpected relocation type 10
Message-ID:  <20def4870804060810q4342157fhe462d356a2cff571@mail.gmail.com>
In-Reply-To: <443aq32d1l.fsf@be-well.ilk.org>
References:  <20def4870804010907n320956f1o5e0e56962a64e0fd@mail.gmail.com> <44k5jg1iwn.fsf@be-well.ilk.org> <20def4870804020801w2fbaed96led264c3189cc1a35@mail.gmail.com> <443aq32d1l.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>
>  >>  > I really don't know how to get rid of this message..
> >> >
> >> > I get millions of these during kldload of a driver:
> >> >
> >> > kldload: unexpected relocation type 10
> >> >
> >> > can't see anything wrong with my Makefile, like the google threads
> say,
> >> so
> >> > PLEASE HELP.
> >>
> >> The kernel module was built along with the kernel?
> >
> >
> > No, seperately.
> >
> >
> >>
> >> Does it matter which module, or are you getting this with any loadable
> >> module?
> >>
> >
> > didn't try any other module, this driver is my first work with FreeBSD..
>
> I see.  I had not understood that the module was something you were
> writing.
>
> You might want to try freebsd-hackers.  I'm a bit out of date on
> kernel coding (in fact, I thought that relocations weren't needed any
> more, at least on new platforms).
>

I suddenly noticed that this message appears only when I'm compiling in
debug mode, meaning I'm adding the -g flag plus some -DMY_OWN_DEBUG_DEFINES
to the compilation.



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