kldload: unexpected relocation type 10

Mr Y yonyossef.lists at gmail.com
Sun Apr 6 15:10:59 UTC 2008


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


More information about the freebsd-questions mailing list