Re: becker-ethernet-tools: ne2k compile fails

Paul Gray <[email protected]> Tue, 15 Jul 2003 19:09:36 -0500 (CDT)
Newsgroups gmane.linux.bbc.general
Message-ID <[email protected]>
On Tue, 15 Jul 2003, Dion Vansevenant wrote:

> I have been trying for the last three days to build a new ISO of LNX-BBC
> using gar in a Debian chroot environment. After coming across the
> "kernel too old" problem and adjusting the approrpiate Makefile I have
> now run into several "make build" issues.
>
> 1) The site for gnupg was inaccessible (down, busy, whatever), and the
> build process just kept trying and trying and trying. Should there be
> some sort of timeout for situations like this?

Yup -- it tries 10 times, then goes to lnx-bbc.org or movealong.org, which
should have the files readily available.  You can try to modify the
Makefile for gnupg to point to these sites first too.


> 2) A couple of packages had checksum errors, but I was able to get
> around those by cd-ing to their directory, removing the cookies and
> download directories and doing a manual "make fetch", "make makesum",
> "make checksum". Next "make build" it worked fine.

Which ones?  That'd be good to know.  Some packages don't have versions
and it makes monitoring checksums IMPOSSIBLE (becker being one of them).

>
> 3) Now, and most frustratingly as all I've wanted to do is add F-Prot to
> this ISO, the ne2k driver in the becker-ethernet-tools is throwing the
> following errors:

See tip below:

>
> --- Begin error chunk ---
> ne2k-diag.c: In function `do_probe':
> ne2k-diag.c:399: warning: implicit declaration of function
> `show_mii_details'
> ne2k-diag.c:401: warning: implicit declaration of function `monitor_mii'
> ne2k-diag.c: At top level:
> ne2k-diag.c:614: warning: `dm9008' defined but not used
> /tmp/ccz04ah8.o: In function `do_probe':
> /tmp/ccz04ah8.o(.text+0x716): undefined reference to `show_mii_details'
> /tmp/ccz04ah8.o(.text+0x731): undefined reference to `monitor_mii'
> collect2: ld returned 1 exit status
> make[1]: *** [ne2k-diag] Error 1
> make[1]: Leaving directory
> `/backup/gar/net/becker-ethernet-tools/work/main.d'
                                              ^^^^^^
                      This ................. /

makes it seem like you're trying to incorporate the tools by changing into
the becker-ethernet-tools directory and typing make.

The "better" way would be to add "net/becker-ethernet-tools" to
gar/meta/bbc-contents/bbc-contents, so that the dependencies are
appropriately met ($(DESTDIR), $(STAGINGDIR), $(GCC), for example).

Then issue "make build" from within meta/gar/lnx-bbc to build the image
from scratch.

Paul Gray                                         -o)
323 Wright Hall                                   /\\
University of Northern Iowa                      _\_V
  Message void if penguin violated ...  Don't mess with the penguin
  No one ever says "Hey, I can't read that ASCII e-mail ya sent me."