Re: [syslinux] Etherboot and gpxe

Stefan Hajnoczi <[email protected]>
Newsgroups gmane.network.etherboot.user
Message-ID <[email protected]>
On Tue, Aug 4, 2009 at 6:31 PM, Joyce Yu<[email protected]> wrote:
>
> I actually fresh downloaded the source, added a new driver, and built it. It
> works with the original source, but got into this loop if adding the new
> driver. I think that I may need to modify some others files with a new
> driver.
The only potential modification necessary for a "normal" ethernet
device driver is an entry in include/gpxe/errfile.h.  This is
necessary if the driver code uses errno constants (e.g. ENOMEM).  You
will get a compiler warning if you forget to do that.

Which Linux distro and version are you running?

Try this:
cd gpxe/src
make clean
touch Makefile
find . -newer Makefile

You should get no output from find(1).  If you do get output from
find(1), then there are files in your source tree with modification
timestamps that are in the future.

Now run make.  If you still get the infinite loop then there is a
problem with your build environment.  The chance that nxge.c is
causing the problem is very low.

Stefan

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.