ok thanks for the info, I modified my xvpng.c to include zlib.h
but wasnt sure which other files to modify. anyway, now I get 

[jason@badman xv-3.10a]$ make
gcc -O3 -Wall -DDOPNG -I/usr/include -I/usr/include -DDOJPEG -I/usr/include 
-DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX -I/usr/include -DDOPDS   -DUSLEEP     
-DLINUX -L/usr/X11R6/lib  -DMGCSFXDIR=\"/usr/X11R6//lib/\" 
-DSYSCONFDIR=\"/etc\" -DXVEXECPATH=\"/usr/X11R6//lib/\" -c xvpng.c
In file included from /usr/include/pngconf.h:50:0,
                 from /usr/include/png.h:371,
                 from xvpng.c:32:
xvpng.c: In function ‘WritePNG’:
xvpng.c:428:21: error: dereferencing pointer to incomplete type ‘png_struct 
{aka struct png_struct_def}’
   if (setjmp(png_ptr->jmpbuf)) {
                     ^
xvpng.c:454:11: error: dereferencing pointer to incomplete type ‘png_info {aka 
struct png_info_def}’
   info_ptr->width = w;
           ^~
xvpng.c: In function ‘png_xv_error’:
xvpng.c:1055:18: error: dereferencing pointer to incomplete type ‘png_struct 
{aka struct png_struct_def}’
   longjmp(png_ptr->jmpbuf, 1);
                  ^~
Makefile:319: recipe for target 'xvpng.o' failed
make: *** [xvpng.o] Error 1
[jason@badman xv-3.10a]$ vi xvpng.c
[jason@badman xv-3.10a]$ make 
gcc -O3 -Wall -DDOPNG -I/usr/include -I/usr/include -DDOJPEG -I/usr/include 
-DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX -I/usr/include -DDOPDS   -DUSLEEP     
-DLINUX -L/usr/X11R6/lib  -DMGCSFXDIR=\"/usr/X11R6//lib/\" 
-DSYSCONFDIR=\"/etc\" -DXVEXECPATH=\"/usr/X11R6//lib/\" -c xvpng.c
In file included from /usr/include/pngconf.h:50:0,
                 from /usr/include/png.h:371,
                 from xvpng.c:32:
xvpng.c: In function ‘WritePNG’:
xvpng.c:428:21: error: dereferencing pointer to incomplete type ‘png_struct 
{aka struct png_struct_def}’
   if (setjmp(png_ptr->jmpbuf)) {
                     ^
xvpng.c:454:11: error: dereferencing pointer to incomplete type ‘png_info {aka 
struct png_info_def}’
   info_ptr->width = w;
           ^~
xvpng.c: In function ‘png_xv_error’:
xvpng.c:1055:18: error: dereferencing pointer to incomplete type ‘png_struct 
{aka struct png_struct_def}’
   longjmp(png_ptr->jmpbuf, 1);
                  ^~
Makefile:319: recipe for target 'xvpng.o' failed
make: *** [xvpng.o] Error 1
[jason@badman xv-3.10a]$

which I guess is making progress.. 

-db
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to