Getting an error with pagespeed from source

73 views
Skip to first unread message

Adam Scott

unread,
Dec 1, 2016, 11:57:10 AM12/1/16
to mod-pagespeed-discuss
I'm trying to install the mod_pagespeed module on CentOS release 6.8

I've been following the instructions here perfectly whith no errors...

I am at the stage of "Run Tests" and I am getting the following errors when I 'Make'

I followed all the instructions perfectly, super confused as to what's going on...can anyone help out?

[src]# make AR.host=`pwd`/build/wrappers/ar.sh AR.target=`pwd`/build/wrappers/ar.sh \                                                            BUILDTYPE=Release mod_pagespeed_test pagespeed_automatic_test
  CC(target) out/Release/obj.target/openssl/third_party/boringssl/src/crypto/bn/rsaz_exp.o
In file included from third_party/boringssl/src/crypto/bn/rsaz_exp.c:51:
third_party/boringssl/src/crypto/bn/../internal.h:121:22: warning: stdalign.h: No such file or directory
third_party/boringssl/src/crypto/bn/rsaz_exp.c:64: error: expected declaration specifiers or ‘...’ before numeric cons                                                           tant
third_party/boringssl/src/crypto/bn/rsaz_exp.c: In function ‘alignas’:
third_party/boringssl/src/crypto/bn/rsaz_exp.c:64: error: storage class specified for parameter ‘one’
third_party/boringssl/src/crypto/bn/rsaz_exp.c:64: error: parameter ‘one’ is initialized
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: initialization makes pointer from integer without a cast
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: excess elements in scalar initializer
third_party/boringssl/src/crypto/bn/rsaz_exp.c:65: warning: (near initialization for ‘one’)
third_party/boringssl/src/crypto/bn/rsaz_exp.c:66: error: expected declaration specifiers before ‘alignas’
third_party/boringssl/src/crypto/bn/rsaz_exp.c:67: error: expected declaration specifiers before ‘;’ token
third_party/boringssl/src/crypto/bn/rsaz_exp.c:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’                                                            token
third_party/boringssl/src/crypto/bn/rsaz_exp.c:268: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’                                                            token
third_party/boringssl/src/crypto/bn/rsaz_exp.c:263: error: declaration for parameter ‘rsaz_512_gather4’ but no such pa                                                           rameter
third_party/boringssl/src/crypto/bn/rsaz_exp.c:262: error: declaration for parameter ‘rsaz_512_scatter4’ but no such p                                                           arameter
third_party/boringssl/src/crypto/bn/rsaz_exp.c:261: error: declaration for parameter ‘rsaz_512_sqr’ but no such parame                                                           ter
third_party/boringssl/src/crypto/bn/rsaz_exp.c:260: error: declaration for parameter ‘rsaz_512_mul_by_one’ but no such                                                            parameter
third_party/boringssl/src/crypto/bn/rsaz_exp.c:259: error: declaration for parameter ‘rsaz_512_mul_gather4’ but no suc                                                           h parameter
third_party/boringssl/src/crypto/bn/rsaz_exp.c:258: error: declaration for parameter ‘rsaz_512_mul_scatter4’ but no su                                                           ch parameter
third_party/boringssl/src/crypto/bn/rsaz_exp.c:257: error: declaration for parameter ‘rsaz_512_mul’ but no such parame                                                           ter
third_party/boringssl/src/crypto/bn/rsaz_exp.c:64: error: declaration for parameter ‘one’ but no such parameter
third_party/boringssl/src/crypto/bn/rsaz_exp.c:317: error: expected ‘{’ at end of input
make: *** [out/Release/obj.target/openssl/third_party/boringssl/src/crypto/bn/rsaz_exp.o] Error 1


Reply all
Reply to author
Forward
0 new messages