hurdppc-bug
[Top][All Lists]
Advanced

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

[Hurdppc-bug] Re: PowerPC port


From: José Salaver Torres
Subject: [Hurdppc-bug] Re: PowerPC port
Date: Tue, 18 Nov 2003 20:24:37 +0100

> you will have to run automake and autoconf to produce the
> configure script, which you then need to run with the
> --with-gnuosfmk-headers=LOCATION flag, where LOCATION is the directory
> you have installed gnu-osfmach in.  Once you have MiG

cd /usr/src/gnu-osfmig
automake
autoconf
./configure --with-gnuosfmk-headers=../gnu-osfmach
make

And I get this:

make[1]: Entering directory `/usr/src/gnu-osfmig/src'
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"gnu-osfmig\"
-DVERSION=\"0.01\" -DSTDC_HEADERS=1  -I. -I.  -I./ppc
-I/usr/src/gnu-osfmach -I/usr/src/gnu-osfmach/ppc    -g -O2 -c error.c
En el fichero incluído de type.h:104,
                 de global.h:95,
                 de error.c:68:
/usr/src/gnu-osfmach/mach/boolean.h:94:34: mach/machine/boolean.h: No
existe el fichero o el directorio
In file included from global.h:95,
                 from error.c:68:

What I have managed:
Making:

 > ln -s /usr/src/gnu-osfmach/ppc /usr/src/gnu-osfmach/machine

So I think I should hve done something in the gnu-osfmach directory
before compiling mig. So I think mig's makefile should change.

Allowed me to continue the compiling work of the "mig".
Then got this:

In file included from header.c:122:
/usr/include/stdlib.h:447: error: error de decodificación before
"int32_t"
/usr/include/stdlib.h:449: error: error de decodificación before '*'
token
/usr/include/stdlib.h:453: error: error de decodificación before '*'
token
/usr/include/stdlib.h:454: error: error de decodificación before '}'
token
/usr/include/stdlib.h:457: error: error de decodificación before
"int32_t"
make[1]: *** [header.o] Error 1
make[1]: Leaving directory `/usr/src/gnu-osfmig/src'
make: *** [all-recursive] Error 1

But in that file I have (and I think stdlib.h works ok):

struct random_data
  {
    int32_t *fptr;              /* Front pointer.  */
    int32_t *rptr;              /* Rear pointer.  */
    int32_t *state;             /* Array of state values.  */
    int rand_type;              /* Type of random number generator.  */
    int rand_deg;               /* Degree of random number generator. */
    int rand_sep;               /* Distance between front and rear.  */
    int32_t *end_ptr;           /* Pointer behind state table.  */
  };

    int32_t?? Maybe types conversion error
    Now I'm lost





reply via email to

[Prev in Thread] Current Thread [Next in Thread]