[Botan-devel] Build error on MacOS X

Jack Lloyd lloyd at randombit.net
Mon May 23 12:16:30 EDT 2005


Hrm, OK, I know why it doesn't work now. Since it appears the GCC folks have
ignored my patch after saying it would go in, again <sigh>, I'll make
--dumb-gcc the default behavior in the next release.

-J

On Mon, May 23, 2005 at 10:12:58AM -0600, Jack Lloyd wrote:
> 
> Interesting, I had heard Botan built clean on Tiger. Workaround is to pass
> --dumb-gcc to configure.pl and rebuild. I'll see why this isn't working as soon
> as I get access to a box running Tiger.
> 
> -Jack
> 
> On Mon, May 23, 2005 at 10:02:06AM -0600, Chris Garrett wrote:
> > I get:   
> >     error: integer constant is too large for 'long' type
> > 
> > when building on MacOS X 10.4.1 / gcc 4.0.0
> > 
> > Here is  a portion of the build log:
> > 
> > c++ -Ibuild/include -O2 -finline-functions -mpowerpc -mcpu=740 
> > -D_REENTRANT -ansi -Wno-long-long -W -Wall -fPIC -c src/der_enc.cpp -o 
> > build/lib/der_enc.o
> > c++ -Ibuild/include -O2 -finline-functions -mpowerpc -mcpu=740 
> > -D_REENTRANT -ansi -Wno-long-long -W -Wall -fPIC -c src/des.cpp -o 
> > build/lib/des.o
> > c++ -Ibuild/include -O2 -finline-functions -mpowerpc -mcpu=740 
> > -D_REENTRANT -ansi -Wno-long-long -W -Wall -fPIC -c src/des_tab.cpp -o 
> > build/lib/des_tab.o
> > src/des_tab.cpp:371: error: integer constant is too large for 'long' type
> > src/des_tab.cpp:371: error: integer constant is too large for 'long' type
> > src/des_tab.cpp:372: error: integer constant is too large for 'long' type
> > src/des_tab.cpp:372: error: integer constant is too large for 'long' type
> > 
> > Thank you
> > 
> > Chris
> > 
> > _______________________________________________
> > botan-devel mailing list
> > botan-devel at randombit.net
> > http://www.randombit.net/mailman/listinfo/botan-devel
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://www.randombit.net/mailman/listinfo/botan-devel



More information about the botan-devel mailing list