You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
/root/ngx_pagespeed-release-1.5.27.3-beta/psol/lib/Release/linux/ia32/pagespeed_automatic.a(101.system.o.o): In function cv::tempfile(char const*)': system.cpp:(.text._ZN2cv8tempfileEPKc+0x1e): warning: the use oftmpnam' is dangerous, better use mkstemp' objs/addon/src/ngx_base_fetch.o: In functionnet_instaweb::NgxBaseFetch::DecrefAndDeleteIfUnreferenced()':
/root/ngx_pagespeed-release-1.5.27.3-beta/src/ngx_base_fetch.cc:197: undefined reference to __sync_add_and_fetch_4' collect2: ld returned 1 exit status make[1]: *** [objs/nginx] Error 1 make[1]: Leaving directory/root/nginx-1.4.1'
make: *** [build] Error 2
Activity
patschi commentedon May 13, 2013
The pagespeed header is still "1.5.27.2-2912" - shouldn't it be also updated to "1.5.27.3"? Thanks for your awesome work :)
jeffkaufman commentedon May 13, 2013
Sorry, release 1.5.27.3 isn't out yet. This is a bug to track the release as I work on it.
jeffkaufman commentedon May 13, 2013
(But all the fixes listed above except #313 are already in the latest master.)
kongkongchu commentedon May 16, 2013
Just tried 1.5.27.3 on CentOS 5.9 x86, it works now. Thank you Jeff.
./configure --add-module=$HOME/ngx_pagespeed-release-1.5.27.3-beta
kongkongchu commentedon May 16, 2013
"make" doesn't work still with 1.5.27.3 on CentOS 5.9 x86. gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)
/root/ngx_pagespeed-release-1.5.27.3-beta/psol/lib/Release/linux/ia32/pagespeed_automatic.a(101.system.o.o): In function
cv::tempfile(char const*)': system.cpp:(.text._ZN2cv8tempfileEPKc+0x1e): warning: the use oftmpnam' is dangerous, better usemkstemp' objs/addon/src/ngx_base_fetch.o: In functionnet_instaweb::NgxBaseFetch::DecrefAndDeleteIfUnreferenced()':/root/ngx_pagespeed-release-1.5.27.3-beta/src/ngx_base_fetch.cc:197: undefined reference to
__sync_add_and_fetch_4' collect2: ld returned 1 exit status make[1]: *** [objs/nginx] Error 1 make[1]: Leaving directory/root/nginx-1.4.1'make: *** [build] Error 2
jeffkaufman commentedon May 16, 2013
I reproduced this in a VM, and was able to fix this by adding to
./configure:So this would be something like:
Does this work for you?
jeffkaufman commentedon May 16, 2013
Actually, I think the only important part of that
./configureline is the-march=i686. So you should just be able to do:kongkongchu commentedon May 16, 2013
It works with,
--with-cc-opt='-DLINUX=2 -D_REENTRANT -D_LARGEFILE64_SOURCE -march=i686 -pthread'
Will try the other later.
--with-cc-opt='-march=i686'
Thanks
From: Jeff Kaufman [mailto:notifications@github.com]
Sent: Thursday, May 16, 2013 5:30 PM
To: pagespeed/ngx_pagespeed
Cc: kongkongchu
Subject: Re: [ngx_pagespeed] Release 1.5.27.3 (#366)
Actually, I think the only important part of that ./configure line is the -march=i686. So you should just be able to do:
./configure --add-module=$HOME/ngx_pagespeed --with-cc-opt='-march=i686'
—
Reply to this email directly or view it on GitHub #366 (comment) . https://github.com/notifications/beacon/P3dMLj-IuYvTk5BKd-FLC6nn0JBsy6NN_54JtXnQwFWQDeg2V_S9rfF2ErkoPQXX.gif
kongkongchu commentedon May 17, 2013
--with-cc-opt='-march=i686' works, thank you Jeff. Only CentOS 5.9 x86 need --with-cc-opt='-march=i686', CentOS 5.9 x64 doesn't need it.
pagespeed-release-1.5.27.3-beta
--with-cc-opt='-march=i686'
jeffkaufman commentedon May 17, 2013
Released in 1.5.27.3