Re: becker-ethernet-tools: ne2k compile fails

Dion Vansevenant <[email protected]> 15 Jul 2003 21:32:20 -0400
Newsgroups gmane.linux.bbc.general
Organization Smaller Solutions
Message-ID <[email protected]>
Paul,

Thanks for your reply. My comments are inline below...


On Tue, 2003-07-15 at 20:09, Paul Gray wrote:
> >
> > 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.
> 

Hmm. Maybe it wasn't all the way through the 10 times. It scrolled off
the screen, so I'm not sure. I'll keep that in mind the next time
though.



> 
> > 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).
> 

Off-hand, becker-ethernet-tools was one. Can't think of the other one
though, but it was before becker-ethernet-tools. If I come across it
again, I'll pass it along.



> >
> > 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:

[...snip code chunk...]

> > 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.
> 

I did once to see if it would produce the same error. It did.


> The "better" way would be to add "net/becker-ethernet-tools" to
> gar/meta/bbc-contents/bbc-contents, so that the dependencies are

It's already in that list, but thanks for pointing it out. I added
utils/f-prot to it.


> appropriately met ($(DESTDIR), $(STAGINGDIR), $(GCC), for example).
> 
> Then issue "make build" from within meta/gar/lnx-bbc to build the image
> from scratch.

I have issued "make build" from within gar/meta/lnx-bbc again. Same
results:

--- Begin error code ---
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/ccla5DbQ.o: In function `do_probe':
/tmp/ccla5DbQ.o(.text+0x716): undefined reference to `show_mii_details'
/tmp/ccla5DbQ.o(.text+0x731): undefined reference to `monitor_mii'
collect2: ld returned 1 exit status
make[7]: *** [ne2k-diag] Error 1
make[7]: Leaving directory
`/backup/gar/net/becker-ethernet-tools/work/singulari
ty.d'
make[6]: *** [build-work/singularity.d/Makefile] Error 2
make[6]: Leaving directory `/backup/gar/net/becker-ethernet-tools'
make[5]: ***
[../../net/becker-ethernet-tools/cookies/singularity.d/install] Err
or 2
make[5]: Leaving directory `/backup/gar/meta/bbc-contents'
make[4]: *** [imgdep-singularity] Error 2
make[4]: Leaving directory `/backup/gar/meta/bbc-contents'
make[3]: *** [../../meta/bbc-contents/cookies/singularity.d/install]
Error 2
make[3]: Leaving directory `/backup/gar/meta/singularity'
make[2]: *** [imgdep-singularity] Error 2
make[2]: Leaving directory `/backup/gar/meta/singularity'
make[1]: *** [../../meta/singularity/cookies/main.d/install] Error 2
make[1]: Leaving directory `/backup/gar/meta/lnx-bbc'
make: *** [imgdep-main] Error 2
--- End error code ---

I am guessing this package controls the ethernet drivers for the various
NICs that lnx-bbc tries to support and that commenting it out from
bbc-contents would not be a good idea. Is that correct?

Thanks.

-- 
Dion Vansevenant
Smaller Solutions
www.smallersolutions.ca
519-872-0934

/----- Did you know... ------------------------------------------------\

  You can create PDF files from almost any Windows application...
  ...without buying the full Adobe Acrobat package

  Ask about our FREE PDF Printer installation.

\----------------------------------------------------------------------/