On Tue, Mar 08, 2005, Michael Nast wrote: > Bootstrapping 2.3 withoug GCC fails in building RPM 4.1.2 > (Solaris 10 x86 / Sun Studio 9). It seems likely to me > that bootstrapping 2.3 without gcc is broken everywhere: > > The Error occurs at line 99 in "rpmfile.h" when compiling "files.c" > > This Line is specific to the Gnu Compilers, and should never > be seen by Sun C. It is seen, since "files.c" includes indirectly > "beecrypt-4.1.2/gnu.h" , which triggers the error by the following > construct: > > beecrypt-4.1.2/gnu.h: > #################### > > #if defined(__GNUC__) > # if !defined(__GNUC_PREREQ__) > # define __GNUC_PREREQ__(maj, min) (__GNUC__ > (maj) || __GNUC__ == (maj) > && __GNUC_MINOR__ >= (min)) > # endif > #else > # define __GNUC__ 0 > # define __GNUC_PREREQ__(maj, min) 0 > #endif > > so gnu.h #defines __GNUC__ if previously not #defined, which can break ANY > Non-Gnu Compiler in Line 99 of > > rpmfile.h: > ########## > > #if defined(__GNUC__) > } __attribute__((__packed__)); <-- Line 99 !!!!! > #else > };
Hmmm... ok, as far as I see it, the whole __GNUC_PREREQ__ stuff is not used inside BeeCrypt at all, so I've now completely removed it (see http://cvs.openpkg.org/chngview?cn=22497 for details). Can you retry with the latest "openpkg" package from OpenPKG-CURRENT? If it now works I'll do a Merge From Current (MFC) soon, so this is available in OpenPKG 2.3, too. Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [email protected]
