Menu

#52 Fails to compile on CentOS/RHEL 5:

v1.0 (example)
closed-fixed
nobody
None
5
2016-04-04
2015-09-19
Till Maas
No

Build Error:

gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I../cexcept -I../opngreduc -I../pngxtern -o optim.o optim.c
optim.c: In function 'opng_print_fsize_ratio':
optim.c:224: error: storage size of 'ratio' isn't known
optim.c:229: warning: implicit declaration of function 'opng_ullratio_to_factor_string'
optim.c:224: warning: unused variable 'ratio'
make[1]: *** [optim.o] Error 1

This was after applying https://sourceforge.net/p/optipng/patches/7/ because otherwise it failed earlier.

1 Attachments

Discussion

  • Ramona Truta

    Ramona Truta - 2016-04-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     Build Error:
    
     gcc -c  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I../cexcept   -I../opngreduc -I../pngxtern -o optim.o optim.c
    
    • status: open --> closed-fixed
     
  • Ramona Truta

    Ramona Truta - 2016-04-04

    Fixed in version 0.7.6.

     

Log in to post a comment.