[PD] strange pidip compile error

Yves Degoyon ydegoyon at free.fr
Tue Jul 1 16:54:28 CEST 2003


hi,

this error is due to a wrong version of Image Magick i think,
i use Magick 5.5.5-Q16 compiled from sources...

i ever this bothers you, just comment pdp_capture.c
in modules/Makefile.in and reconfigure.

cheers,

sevy

metafor wrote:

> hi list
>
> some days ago i installed the new pidip version 0.12.1 on
> my dell laptop and it's working fine. after some testings
> i realized, that the laptop is not powerfull enough to process
> my large movs smoothly, so i decided to use my desktop
> pc for this project (gforceTi4 128mb, 768ram).
>
> i installed everything needed exactly the same way as on my
> laptop. pdp 0.12 is running, but i can't compile pidip. ./configure
> works without errors, but it seems to have problems with the
> module pdp_capture as you can see below.
>
> what the +"ç"*%" could this be?
> any tips to fix?
>
> thx
> marc
>
>
> make[1]: Entering directory `/home/metafor/audio/pidip-0.12.1/modules'
> gcc -DPD -DX_DISPLAY_MISSING -O2 -funroll-loops -fomit-frame-pointer  
> -ffast-math -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses 
> -Wno-switch -DPDP_PIDIP_VERS
> ION=\"0.12.1\" -g -I/home/metafor/audio/sw/pd/pd-0.36-0/src -I. 
> -I/home/metafor/audio/pdp-0.12.1/include  
> -I/home/metafor/audio/ffmpeg-cvs-2003-04-08/libavcodec -I/home
> /metafor/audio/ffmpeg-cvs-2003-04-08/libavformat -I../include -o 
> pdp_capture.o -c pdp_capture.c
> In file included from pdp_capture.c:31:
> /usr/include/X11/magick/magick.h:11: syntax error before "char"
> /usr/include/X11/magick/magick.h:14: syntax error before "MagickInfo"
> /usr/include/X11/magick/magick.h:15: syntax error before "ExceptionInfo"
> /usr/include/X11/magick/magick.h:17: syntax error before "MagickInfo"
> /usr/include/X11/magick/magick.h:18: syntax error before '*' token
> /usr/include/X11/magick/magick.h:21: syntax error before "void"
> pdp_capture.c:58: syntax error before "Image"
> pdp_capture.c:58: warning: no semicolon at end of struct or union
> pdp_capture.c:60: syntax error before '}' token
> pdp_capture.c:60: warning: type defaults to `int' in declaration of 
> `t_pdp_capture'
> pdp_capture.c:60: warning: data definition has no type or storage class
> pdp_capture.c:68: syntax error before '*' token
> pdp_capture.c:69: warning: function declaration isn't a prototype
> pdp_capture.c: In function `XMyGetSubwindow':
> pdp_capture.c:73: warning: implicit declaration of function `assert'
> pdp_capture.c:73: `display' undeclared (first use in this function)
> pdp_capture.c:73: (Each undeclared identifier is reported only once
> pdp_capture.c:73: for each function it appears in.)
> pdp_capture.c:74: `o' undeclared (first use in this function)
> pdp_capture.c:75: `window' undeclared (first use in this function)
> pdp_capture.c:82: `x' undeclared (first use in this function)
> pdp_capture.c:82: `y' undeclared (first use in this function)
> pdp_capture.c: At top level:
> pdp_capture.c:103: syntax error before '*' token
> pdp_capture.c:104: warning: function declaration isn't a prototype
> pdp_capture.c: In function `XMyClientWindow':
> pdp_capture.c:111: `display' undeclared (first use in this function)
> pdp_capture.c:115: `target_window' undeclared (first use in this 
> function)
> pdp_capture.c:123: warning: implicit declaration of function 
> `XWindowByProperty'
> pdp_capture.c: At top level:
> pdp_capture.c:131: syntax error before '*' token
> pdp_capture.c:131: syntax error before '*' token
> pdp_capture.c:132: warning: return type defaults to `int'
> pdp_capture.c:132: warning: function declaration isn't a prototype
> pdp_capture.c: In function `XMyGetWindowImage':
> pdp_capture.c:146: syntax error before "RectangleInfo"
> pdp_capture.c:146: warning: no semicolon at end of struct or union
> pdp_capture.c: At top level:
> pdp_capture.c:147: warning: type defaults to `int' in declaration of 
> `WindowInfo'
> pdp_capture.c:147: warning: data definition has no type or storage class
> pdp_capture.c:149: syntax error before "index"
> pdp_capture.c:149: warning: type defaults to `int' in declaration of 
> `index'
> pdp_capture.c:149: warning: built-in function `index' declared as 
> non-function
> pdp_capture.c:149: warning: data definition has no type or storage class
> pdp_capture.c:151: syntax error before "crop_info"
> pdp_capture.c:151: warning: type defaults to `int' in declaration of 
> `crop_info'
> pdp_capture.c:151: warning: data definition has no type or storage class
> pdp_capture.c:152: syntax error before '*' token
> pdp_capture.c:152: warning: type defaults to `int' in declaration of 
> `indexes'
> pdp_capture.c:152: warning: data definition has no type or storage class
> pdp_capture.c:154: syntax error before '*' token
> pdp_capture.c:154: warning: type defaults to `int' in declaration of 
> `colormap_info'
> pdp_capture.c:154: `ColormapInfo' undeclared here (not in a function)
> pdp_capture.c:154: syntax error before ')' token
> pdp_capture.c:154: warning: data definition has no type or storage class
> pdp_capture.c:156: syntax error before '*' token
> pdp_capture.c:156: warning: type defaults to `int' in declaration of 
> `window_info'
> pdp_capture.c:156: warning: data definition has no type or storage class
> pdp_capture.c:160: syntax error before '!=' token
> pdp_capture.c:161: warning: type defaults to `int' in declaration of 
> `status'
> pdp_capture.c:161: `display' undeclared here (not in a function)
> pdp_capture.c:161: `window' undeclared here (not in a 
> function)pdp_capture.c:161: initializer element is not constant
> pdp_capture.c:161: warning: data definition has no type or storage class
> pdp_capture.c:162: syntax error before "if"
> pdp_capture.c:166: warning: type defaults to `int' in declaration of 
> `root_window'
> pdp_capture.c:166: conflicting types for `root_window'
> pdp_capture.c:157: previous declaration of `root_window'
> pdp_capture.c:166: `display' undeclared here (not in a function)
> pdp_capture.c:166: `o' undeclared here (not in a function)
> pdp_capture.c:166: warning: data definition has no type or storage class
> pdp_capture.c:167: syntax error before "void"
> pdp_capture.c:182: warning: type defaults to `int' in declaration of 
> `display_width'
> pdp_capture.c:182: `display' undeclared here (not in a function)
> pdp_capture.c:182: `o' undeclared here (not in a function)
> pdp_capture.c:182: initializer element is not constant
> pdp_capture.c:182: warning: data definition has no type or storage class
> pdp_capture.c:183: syntax error before "if"
> pdp_capture.c:187: warning: type defaults to `int' in declaration of 
> `display_height'
> pdp_capture.c:187: `display' undeclared here (not in a function)
> pdp_capture.c:187: `o' undeclared here (not in a function)
> pdp_capture.c:187: initializer element is not constant
> pdp_capture.c:187: warning: data definition has no type or storage class
> pdp_capture.c:188: syntax error before "if"
> pdp_capture.c:209: warning: type defaults to `int' in declaration of `id'
> pdp_capture.c:209: initializer element is not constant
> pdp_capture.c:209: warning: data definition has no type or storage class
> pdp_capture.c:210: syntax error before '.' token
> pdp_capture.c:211: syntax error before '.' token
> pdp_capture.c:212: syntax error before '.' token
> pdp_capture.c:213: syntax error before '.' token
> pdp_capture.c:214: syntax error before '.' token
> pdp_capture.c:215: syntax error before '.' token
> pdp_capture.c:216: syntax error before '.' token
> pdp_capture.c:220: syntax error before '.' token
> pdp_capture.c:226: warning: type defaults to `int' in declaration of 
> `status'
> pdp_capture.c:226: redefinition of `status'
> pdp_capture.c:161: `status' previously defined here
> pdp_capture.c:226: `display' undeclared here (not in a function)
> pdp_capture.c:226: `window' undeclared here (not in a function)
> pdp_capture.c:226: request for member `parent' in something not a 
> structure or union
> pdp_capture.c:226: `number_children' undeclared here (not in a function)
> pdp_capture.c:226: warning: passing arg 3 of `XQueryTree' from 
> incompatible pointer type
> pdp_capture.c:226: initializer element is not constant
> pdp_capture.c:226: warning: data definition has no type or storage class
> pdp_capture.c:227: syntax error before "for"
> pdp_capture.c:251: warning: type defaults to `int' in declaration of 
> `composite_image'
> pdp_capture.c:251: warning: type defaults to `int' in declaration of 
> `image'
> pdp_capture.c:251: warning: data definition has no type or storage class
> pdp_capture.c:252: `y' used prior to declaration
> pdp_capture.c:253: `x' used prior to declaration
> pdp_capture.c:254: syntax error before '*' token
> pdp_capture.c:254: warning: type defaults to `int' in declaration of `q'
> pdp_capture.c:254: warning: data definition has no type or storage class
> pdp_capture.c:260: warning: type defaults to `int' in declaration of 
> `image'
> pdp_capture.c:260: conflicting types for `image'
> pdp_capture.c:251: previous declaration of `image'
> pdp_capture.c:260: `Image' undeclared here (not in a function)
> pdp_capture.c:260: syntax error before ')' token
> pdp_capture.c:260: warning: data definition has no type or storage class
> pdp_capture.c:261: syntax error before "for"
> pdp_capture.c:302: warning: type defaults to `int' in declaration of 
> `ximage'
> pdp_capture.c:302: conflicting types for `ximage'
> pdp_capture.c:258: previous declaration of `ximage'
> pdp_capture.c:302: `display' undeclared here (not in a function)
> pdp_capture.c:302: request for member `window' in something not a 
> structure or union
> pdp_capture.c:303: request for member `crop_info' in something not a 
> structure or union
> pdp_capture.c:303: request for member `crop_info' in something not a 
> structure or union
> pdp_capture.c:304: request for member `crop_info' in something not a 
> structure or union
> pdp_capture.c:305: request for member `crop_info' in something not a 
> structure or union
> pdp_capture.c:305: warning: data definition has no type or storage class
> pdp_capture.c:306: syntax error before "if"
> pdp_capture.c:310: warning: type defaults to `int' in declaration of 
> `number_colors'
> pdp_capture.c:310: conflicting types for 
> `number_colors'pdp_capture.c:311: warning: type defaults to `int' in 
> declaration of `colors'
> pdp_capture.c:311: conflicting types for `colors'
> pdp_capture.c:257: previous declaration of `colors'
> pdp_capture.c:311: warning: data definition has no type or storage class
> pdp_capture.c:312: syntax error before "if"
> pdp_capture.c:316: warning: type defaults to `int' in declaration of 
> `number_colors'
> pdp_capture.c:316: request for member `visual' in something not a 
> structure or union
> pdp_capture.c:316: warning: data definition has no type or storage class
> pdp_capture.c:317: syntax error before "for"
> pdp_capture.c:317: warning: type defaults to `int' in declaration of `p'
> pdp_capture.c:317: invalid type argument of `->'
> pdp_capture.c:317: syntax error before ')' token
> pdp_capture.c:338: syntax error before '.' token
> pdp_capture.c:345: warning: type defaults to `int' in declaration of 
> `red'
> pdp_capture.c:345: warning: data definition has no type or storage class
> pdp_capture.c:346: warning: type defaults to `int' in declaration of 
> `green'
> pdp_capture.c:346: warning: data definition has no type or storage class
> pdp_capture.c:347: warning: type defaults to `int' in declaration of 
> `blue'
> pdp_capture.c:347: warning: data definition has no type or storage class
> pdp_capture.c:348: warning: type defaults to `int' in declaration of 
> `red_bit'
> pdp_capture.c:348: request for member `visual' in something not a 
> structure or union
> pdp_capture.c:349: request for member `visual' in something not a 
> structure or union
> pdp_capture.c:349: warning: data definition has no type or storage class
> pdp_capture.c:350: warning: type defaults to `int' in declaration of 
> `green_bit'
> pdp_capture.c:350: request for member `visual' in something not a 
> structure or union
> pdp_capture.c:351: request for member `visual' in something not a 
> structure or union
> pdp_capture.c:351: warning: data definition has no type or storage class
> pdp_capture.c:352: warning: type defaults to `int' in declaration of 
> `blue_bit'
> pdp_capture.c:352: request for member `visual' in something not a 
> structure or union
> pdp_capture.c:353: request for member `visual' in something not a 
> structure or union
> pdp_capture.c:353: warning: data definition has no type or storage class
> pdp_capture.c:354: syntax error before "for"
> pdp_capture.c:357: syntax error before '.' token
> pdp_capture.c:370: warning: type defaults to `int' in declaration of `p'
> pdp_capture.c:370: redefinition of `p'
> pdp_capture.c:317: `p' previously defined here
> pdp_capture.c:370: `ColormapInfo' undeclared here (not in a function)
> pdp_capture.c:370: syntax error before ')' token
> pdp_capture.c:376: warning: type defaults to `int' in declaration of 
> `colormap_info'
> pdp_capture.c:376: conflicting types for `colormap_info'
> pdp_capture.c:154: previous declaration of `colormap_info'
> pdp_capture.c:376: warning: data definition has no type or storage class
> pdp_capture.c:377: syntax error before '}' token
> pdp_capture.c:378: warning: type defaults to `int' in declaration of 
> `colors'
> pdp_capture.c:378: invalid type argument of `->'
> pdp_capture.c:378: warning: data definition has no type or storage class
> pdp_capture.c:379: syntax error before '}' token
> pdp_capture.c:380: warning: type defaults to `int' in declaration of 
> `composite_image'
> pdp_capture.c:380: conflicting types for `composite_image'
> pdp_capture.c:251: previous declaration of `composite_image'
> pdp_capture.c:380: warning: implicit declaration of function 
> `AllocateImage'
> pdp_capture.c:380: `ImageInfo' undeclared here (not in a function)
> pdp_capture.c:380: syntax error before ')' token
> pdp_capture.c:380: warning: data definition has no type or storage class
> pdp_capture.c:381: syntax error before "if"
> pdp_capture.c:401: warning: type defaults to `int' in declaration of 
> `red_mask'
> pdp_capture.c:401: conflicting types for `red_mask'
> pdp_capture.c:399: previous declaration of `red_mask'
> pdp_capture.c:401: request for member `visual' in something not a 
> structure or union
> pdp_capture.c:401: warning: data definition has no type or storage class
> pdp_capture.c:402: warning: type defaults to `int' in declaration of 
> `red_shift'
> pdp_capture.c:402: conflicting types for `red_shift'
> pdp_capture.c:399: previous declaration of `red_shift'
> pdp_capture.c:402: warning: data definition has no type or storage class
> pdp_capture.c:403: syntax error before "while"
> pdp_capture.c:408: warning: type defaults to `int' in declaration of 
> `green_mask'
> pdp_capture.c:408: conflicting types for `green_mask'
> pdp_capture.c:399: previous declaration of `green_mask'
> pdp_capture.c:408: request for member `visual' in something not a 
> structure or union
> pdp_capture.c:408: warning: data definition has no type or storage class
> pdp_capture.c:409: warning: type defaults to `int' in declaration of 
> `green_shift'
>
>
> and so on.....
>
>
>
>
>
>
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
>






More information about the Pd-list mailing list