Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version failing to compile #38

Closed
josetapadas opened this issue Jun 20, 2014 · 4 comments
Closed

Latest version failing to compile #38

josetapadas opened this issue Jun 20, 2014 · 4 comments

Comments

@josetapadas
Copy link

Hi,

I'm having problems while compiling the latest version (0.3.9):

✗ pre-build test failed, compiling from source...
✗ Error: Command failed: pngrtran.c:98: warning: 'png_rtran_ok' defined but not used
pngxmem.c: In function 'pngx_malloc_rows_extended':
pngxmem.c:37: warning: comparison is always false due to limited range of data type
ratio.c:25: error: conflicting types for 'opng_longest_impl_t'
ratio.c:24: error: previous declaration of 'opng_longest_impl_t' was here
ratio.c:76: error: expected declaration specifiers or '...' before 'opng_ulongest_impl_t'
ratio.c:76: error: expected declaration specifiers or '...' before 'opng_ulongest_impl_t'
ratio.c: In function 'opng_sprint_uratio_impl':
ratio.c:90: error: 'opng_ulongest_impl_t' undeclared (first use in this function)
ratio.c:90: error: (Each undeclared identifier is reported only once
ratio.c:90: error: for each function it appears in.)
ratio.c:90: error: expected ';' before 'integer_part'
ratio.c:95: error: 'denom' undeclared (first use in this function)
ratio.c:97: error: 'num' undeclared (first use in this function)
ratio.c:117: error: 'integer_part' undeclared (first use in this function)
ratio.c:118: error: 'remainder' undeclared (first use in this function)
ratio.c: In function 'opng_ulratio_to_factor_string':
ratio.c:158: error: 'opng_ulongest_impl_t' undeclared (first use in this function)
ratio.c:158: error: expected ';' before 'num'
ratio.c:159: error: expected ';' before 'denom'
ratio.c:160: error: 'num' undeclared (first use in this function)
ratio.c:160: error: 'denom' undeclared (first use in this function)
ratio.c:160: error: too many arguments to function 'opng_sprint_uratio_impl'
ratio.c:156: warning: unused parameter 'ratio'
ratio.c: In function 'opng_ulratio_to_percent_string':
ratio.c:170: error: 'opng_ulongest_impl_t' undeclared (first use in this function)
ratio.c:170: error: expected ';' before 'num'
ratio.c:171: error: expected ';' before 'denom'
ratio.c:172: error: 'num' undeclared (first use in this function)
ratio.c:172: error: 'denom' undeclared (first use in this function)
ratio.c:172: error: too many arguments to function 'opng_sprint_uratio_impl'
ratio.c:168: warning: unused parameter 'ratio'
make[2]: *** [ratio.o] Error 1
make[1]: *** [install] Error 2
@kevva
Copy link
Member

kevva commented Jul 2, 2014

@josetapadas, OS etc?

@rtgibbons
Copy link

Running into same issue

Linux cld01-devops01 2.6.18-308.4.1.el5xen #1 SMP Tue Apr 17 17:49:15 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)
node v0.10.28
npm v1.4.9

@rtgibbons
Copy link

@kevva
Copy link
Member

kevva commented Nov 4, 2014

#40.

@kevva kevva closed this as completed Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants