[ xmlroff-Bugs-1616335 ] 0.39 fails to compile fo-image.c

"SourceForge.net" <[email protected]> Fri, 15 Dec 2006 04:12:32 -0800
Newsgroups gmane.text.xml.xmlroff.general
Message-ID <[email protected]>
Bugs item #1616335, was opened at 2006-12-15 23:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536897&aid=1616335&group_id=73148

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: configure, make, install, etc.
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ken Yap (ken_yap)
Assigned to: Tony Graham (tonygraham)
Summary: 0.39 fails to compile fo-image.c

Initial Comment:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"libfo\" -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I/usr/include/libxml2 -I/opt/gnome/include/gdk-pixbuf-1.0 -I/opt/gnome/include -I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 -I/opt/gnome/lib/glib/include -I.. -g -O2 -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -MT fo-image.lo -MD -MP -MF .deps/fo-image.Tpo -c fo-image.c  -fPIC -DPIC -o .libs/fo-image.o
fo-image.c: In function 'fo_image_set_uri':
fo-image.c:278: error: too many arguments to function 'gdk_pixbuf_new_from_file'
make[2]: *** [fo-image.lo] Error 1
make[2]: Leaving directory `/usr/local/src/xmlroff-0.3.99/util'

According to the API, this function takes only the filename argument, and error is detected by a return of NULL.

I appear to have version 2.2 of gdk-pixbuf.

The gcc version is 4.1 if it matters.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536897&aid=1616335&group_id=73148

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV