Mike,

Looks like it is picking up a strange mix of include files (maybe some from
OpenPKG and some Solaris 9 native headers), and that they don't play well
together (i.e., header A needs symbol X defined, and expects it to be
defined in header B, but header B comes from a different set of headers and
does not define X).

What make, binutils, and gcc binaries are you using to build the OpenPKG
make, binutils, and gcc? If you are using the Solaris 9 tools, that may be
the problem. I used the OpenPKG binary versions of make, binutils, and gcc
to get started, and then once they were built, I built everything else from
the newly built versions. I stayed away from Solaris 9 tools as much as
possible.

Dennis

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike's List
> Sent: Thursday, May 06, 2004 10:35 PM
> To: [EMAIL PROTECTED]
> Subject: only binutils produce error
> 
> 
> Next stop, I installed Solaris 9 x86 (full + oem, so I'm not 
> missing any library or headers and ran Sun's recommended 
> patch cluster). Yet, attempt to compile 
> binutils-2.14-2.0.0.src.rpm yields the below error (compiling 
> seems almost done).  Compiling make, gcc, perl, openpkg, and 
> other packages went smoothly.  I've bootstraped using openpkg 
> 2.0 and using the src/src_plus, not the current src.rpm.  
> Could someone explain why _only_ binutils is producing the 
> error?  Thank you.
> 
> 
> Regards,
> 
> 
> - Mike
> 
>   Useful Solaris packages sites: alphabetical order, www. infront,
>   / blastwave.org | openpkg.org | patriots.net | sunfreeware.com /
> 
> 
>  -I./../intl -I../intl -W -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -O2 -pipe -DOPENPKG_OS_SOLARIS -c elf.c 
> -o elf.o In file included from elf.c:41:
> ../include/libiberty.h:80: warning: function declaration 
> isn't a prototype In file included from /usr/include/sys/reg.h:13,
>                  from /usr/include/sys/regset.h:24,
>                  from /usr/include/sys/procfs_isa.h:16,
>                  from /usr/include/sys/old_procfs.h:32,
>                  from /usr/include/sys/procfs.h:29,
>                  from elf.c:6323:
> /usr/include/ia32/sys/reg.h:300: error: parse error before "upad128_t"
> /usr/include/ia32/sys/reg.h:302: error: parse error before '}' token
> /usr/include/ia32/sys/reg.h:309: error: field `kfpu_fx' has 
> incomplete type
> /usr/include/ia32/sys/reg.h:331: error: parse error before "upad128_t"
> /usr/include/ia32/sys/reg.h:338: error: parse error before '}' token
> /usr/include/ia32/sys/reg.h:339: error: parse error before '}' token
> /usr/include/ia32/sys/reg.h:376: error: parse error before 
> "fpregset_t"
> elf.c: In function `elfcore_grok_nto_status':
> elf.c:7024: warning: int format, long int arg (arg 3)
> elf.c: In function `elfcore_grok_nto_gregs':
> elf.c:7054: warning: int format, pid_t arg (arg 3)
> make[3]: *** [elf.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive-am] Error 2
> make: *** [all-bfd] Error 2
> error: Bad exit status from /openpkg/RPM/TMP/rpm-tmp.26896 (%build)
> 
> RPM build errors:
>     Bad exit status from /openpkg/RPM/TMP/rpm-tmp.26896 (%build)
> 
> 
> 
> ______________________________________________________________________
> The OpenPKG Project                                    www.openpkg.org
> User Communication List                      [EMAIL PROTECTED]
> 

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to