Re: compile XV?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux