
Journal tomhudson's Journal: What kind of person names an executable as a .ko file? 8
The compiler command (I've left most of it out:
gcc (bunch of stuff omitted) -o filename.ko
files ending in dot-ko are supposed to be loadable kernel modules. So I wasted a day wondering WTF because the source files certainly didn't look like loadable modules.
Turns out they're not - the guy just picked the
Ouch! (Score:1)
I feel for ya...
Re: (Score:2)
It sucks because I was told we were going to be writing this as a bunch of kernel modules, so when I see .ko files, I figure that parts been done already as a module ... but the code doesn't make sense, so ... maybe the "kernel magic" is in another include file ... no, not there ... not that one ... not that one either ...
Finally, "This will never compile." "Yes it will." "How? There are no functions for initializing the module." "It's not a kernel module." "Then why is it NAMED as a module?" "The name sh
Re: (Score:1)
And yes, given your description I'd say the odds are low that they'll drop their code. Then again, stranger things happen every day.
Re: (Score:2)
Well, now that there are two of us saying this code is crap (okay, we say stuff like "did you see THIS file?", "Check out this section here...", etc.)
Maybe with a good alternative there'll be some movement. I sure hope so.
Too bad... (Score:2)
It's unfortunate there's no compiler command to output a few brain cells. This would be yet another case where that would be highly useful.
Re: (Score:2)
If there were, I'd use it on myself ... I've probably suffered brain damage from this :-)
wha? hu? \?|? (Score:1)
Please tell me you didn't lose more that 75 minutes on this... That counts as Decepticon Maneuver #43, "Just Keep Them Guessing"
Re: (Score:2)
I spent a couple of hours today going through all the files manually to check dependancies, then making a half-decent make file.
When I say "half-decent", I mean it. It's only half what a decent makefile would be, but its better than no make file at all.
"No make file" I hear you say ... shocking, isn't it?
Spent another couple of hours getting rid of all the "warning: suchandsuch soandso in file whatever" messages so it compiles clean. It may not run proplerly, but at least a few of the bugs are scotched