[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 'hwinfo' build on HPPA fails



Yes I can. I am also interested and I found a patch which just allow to compile it:
--- ./src/hd/kbd.c.orig  2004-04-22 11:16:17.317219000 +0200
+++ ./src/hd/kbd.c  2004-04-22 11:16:39.577219000 +0200
@@ -54,7 +54,7 @@
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
 */

-#if defined(__i386__) || defined(__x86_64__) || defined(__PPC__) || defined(__alpha__)
|| defined(__ia64__) || defined(__arm__) || defined(__mips__)
+#if defined(__i386__) || defined(__x86_64__) || defined(__PPC__) || defined(__alpha__) || defined(__ia64__) || defined(__arm__) || defined(__mips__) || defined(__hppa__)

void hd_scan_kbd(hd_data_t *hd_data)
{
==================================================================================
--- ./src/hd/hd.c.orig  2004-04-22 10:28:11.047219000 +0200
+++ ./src/hd/hd.c  2004-04-22 10:28:49.017219000 +0200
@@ -118,6 +118,10 @@
#define HD_ARCH "x86-64"
#endif

+#ifdef __hppa__
+#define HD_ARCH "hppa"
+#endif
+
typedef struct disk_s {
  struct disk_s *next;
  unsigned crc;
================================================================================

I suggested it to debian maintainer (*Morten Werner Olsen)* who hesitate to include it because need more improvement for hppa support.

That said, I test it basicaly on a b180. I find it interesting and would like to test on other model but I have not enough time to help more right now (I have a pb with my c110 to solve before).

hth,
   Joel


Martin-Éric Racine wrote:

http://buildd.debian.org/build.php?&pkg=hwinfo&ver=7.30-2&arch=hppa&file=log

There seems to be only one variable that is undefined, preventing the build.
Could anyone enlighten me as to where that variable might be coming from?




Reply to: