Dave Cramer wrote:
> On 3-Sep-06, at 12:45 PM, Neil Cherry wrote:
>> The modules I wrote (bad habit of calling them device drivers, left
>> over from my SYSV days) work fine under x86 where I can compile
>> them without any trouble. I've tested them on Linux 2.4 and 2.6 on
>> x86 boxes. They're compiled separate from the kernel directory
>> structure. Will this work the same way with the cross compiler
>> in my path instead of the native compiler? The hello world
>> example works just fine using 'gcc -O3 hello.c -o hello'. The
>> kernel and modules are, obviously, a bit more complicated.
>>
> Yeah, once you put them into the modules directories and look at the
> make files there, you should see how they compile
> The switches are a little different I think
Busybox is giving me trouble, haven't figure out exactly what the
problem is. I get;
/home/njc/stuff/busybox-1.2.1/modutils/modutils.a(insmod.o)
(.text.new_get_kernel_symbols+0x30): In function `$a':
: undefined reference to `query_module'
I haven't found out what is wrong but I haven't tried the
link you gave me either. I'll research that a little later.
> BTW, I'm fairly interested in the Home Automation world, specifically
> with regard to monitoring energy usage.
Monitoring power is difficult as it's not as simple as V * I. There
are tricks or you can visual monitor the meter. This can be tricky
as some people who work for the utility would be very nervous if
they were to see such items on the meter (needs to be touching
the glass dome).
--
Linux Home Automation Neil Cherry
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
http://home.comcast.net/~ncherry/ Backup site
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|