kldload issue: "Exec format error" with amd64 FreeBSD
yrao at force10networks.com
Fri Aug 10 22:01:40 UTC 2007
Thanks, Fabian, for your useful information!
From: Fabian Wenk [mailto:fabian at wenks.ch]
Sent: Friday, August 10, 2007 2:10 PM
To: Yong Rao
Cc: freebsd-amd64 at freebsd.org
Subject: Re: kldload issue: "Exec format error" with amd64 FreeBSD
Yong Rao wrote:
> Is there example makefile(device driver code set) we can refer to?
I don't know much about programming, but probably having a look
into the follwing folders will help you to find the information
here is a Makefile for the whole kernel, I guess
device drivers which could be in the kernel
eg. here are the files of the Intel NIC driver
the Makefile for the Intel NIC kernel modul?
The chapter "II. Device Drivers"  in the "FreeBSD Architecture
Handbook"  probably is also helpful.
Hope this helps.
More information about the freebsd-amd64