Error in compiling ploticus

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Error in compiling ploticus

Postby asterisk_at_my_risk » Thu Sep 21, 2006 10:36 am

Hi,
i am facing a problem when installing the ploticus.when running the make command i get these errors.


gd_png.c:371: error: variable-sized object may not be initialized
gd_png.c:371: error: conflicting types for âopenâ
gd_png.c:351: error: previous definition of âopenâ was here
gd_png.c:371: warning: data definition has no type or storage class
gd_png.c:372: error: syntax error before â}â token
gd_png.c:386: warning: parameter names (without types) in function declaration
gd_png.c:386: error: conflicting types for âfreeâ
/usr/include/stdlib.h:601: error: previous declaration of âfreeâ was here
gd_png.c:386: warning: data definition has no type or storage class
gd_png.c:387: warning: parameter names (without types) in function declaration
gd_png.c:387: error: conflicting types for âfreeâ
/usr/include/stdlib.h:601: error: previous declaration of âfreeâ was here
gd_png.c:387: warning: data definition has no type or storage class
gd_png.c:389: error: syntax error before âreturnâ
gd_png.c: In function âgdImagePngCtxâ:
gd_png.c:422: error: âpng_byteâ undeclared (first use in this function)
gd_png.c:422: error: syntax error before âtrans_valueâ
gd_png.c:423: error: âpng_colorâ undeclared (first use in this function)
gd_png.c:424: error: âpng_structpâ undeclared (first use in this function)
gd_png.c:425: error: âpng_infopâ undeclared (first use in this function)
gd_png.c:430: error: âPNG_LIBPNG_VER_STRINGâ undeclared (first use in this function)
gd_png.c:440: error: âpng_infoppâ undeclared (first use in this function)
gd_png.c:444: error: request for member âjmpbufâ in something not a structure or union
gd_png.c:494: error: âPNG_INTERLACE_ADAM7â undeclared (first use in this function)
gd_png.c:494: error: âPNG_INTERLACE_NONEâ undeclared (first use in this function)
gd_png.c:497: error: âPNG_COLOR_TYPE_PALETTEâ undeclared (first use in this function)
gd_png.c:498: error: âPNG_COMPRESSION_TYPE_DEFAULTâ undeclared (first use in this function)
gd_png.c:498: error: âPNG_FILTER_TYPE_DEFAULTâ undeclared (first use in this function)
gd_png.c:512: error: âtrans_valueâ undeclared (first use in this function)
gd_png.c:520: error: âpaletteâ undeclared (first use in this function)
gd_png.c:546: error: âpng_bytepâ undeclared (first use in this function)
gd_png.c:546: error: ârow_pointersâ undeclared (first use in this function)
gd_png.c:552: error: syntax error before âmallocâ
gd_png.c: At top level:
gd_png.c:568: error: syntax error before âelseâ
gd_png.c:570: warning: parameter names (without types) in function declaration
gd_png.c:570: warning: data definition has no type or storage class
gd_png.c:571: error: syntax error before â}â token
gd_png.c:573: error: syntax error before â&â token
gd_png.c:573: warning: data definition has no type or storage class
make: *** [gd16files] Error 1
[root@sip src]#


plz help me out.
asterisk_at_my_risk
 
Posts: 102
Joined: Mon Sep 04, 2006 10:50 am
Location: New Delhi

Postby mflorell » Thu Sep 21, 2006 2:34 pm

What Linux distro are you using?
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby asterisk_at_my_risk » Fri Sep 22, 2006 1:26 pm

i am using fedora core 4
asterisk_at_my_risk
 
Posts: 102
Joined: Mon Sep 04, 2006 10:50 am
Location: New Delhi

Postby mflorell » Fri Sep 22, 2006 4:18 pm

I have never used FC4 with ploticus so I'm not exactly sure what the problem could be.

You might want to try upgrading your Gnu Make application and maybe your PNG libs. Other than that I'm not sure what the problem could be.

Ploticus is only needed for the server performance statistics so it is not essential at all for a successfully running system.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 196 guests