Bug 123050 - rt2500-1.1.0_beta3: oid.h not fount
Bug#: 123050 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: genstef@gentoo.org Reported By: andre@sencioles.eng.br
Component: Ebuilds
URL:  http://rt2x00.serialmonkey.com
Summary: rt2500-1.1.0_beta3: oid.h not fount
Keywords:  
Status Whiteboard: 
Opened: 2006-02-16 08:29 0000
Description:   Opened: 2006-02-16 08:29 0000
emerging rt2500-1.1.0_beta3 prints a lot of errors while compiling:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/rt2500-1.1.0_beta3/work/rt2500-1.1.0-b3 ...
sed: can't read oid.h: No such file or directory
 * Preparing rt2500 module

Followed by lots of:

/var/tmp/portage/rt2500-1.1.0_beta3/work/rt2500-1.1.0-b3/Module/oid.h:108:5:
warning: "RT2500_DBG" is not defined

The line 42 of the ebuild,
sed -i "s:#if RT2500_DBG:#ifdef RT2500_DBG:" oid.h

seems wrong, as the "oid.h" file is in the "Module" directory.

Maybe:
sed -i "s:#if RT2500_DBG:#ifdef RT2500_DBG:" Module/oid.h

------- Comment #1 From Stefan Schweizer 2006-02-19 00:27:50 0000 -------
does your workaround make it work?

------- Comment #2 From André Sencioles 2006-02-20 03:31:45 0000 -------
Yes, it did...

------- Comment #3 From Stefan Schweizer 2006-03-05 01:51:53 0000 -------
thanks, fixed