[Slackbuilds-users] wesnoth 1.8 slackware-current

Nikos Skalkotos skalkoto at gmail.com
Thu Apr 22 14:28:55 UTC 2010


I seem to have compilation errors with the latest wesnoth update in
slackware current:

if [ "exported" = "" ] || [ "exported" = "exported" ]; then echo ''
>/tmp/westemp$$;
\

        else echo '#define REVISION    "exported"' >/tmp/westemp$$;
fi;\
        if cmp -s revision.hpp /tmp/westemp$$ 2>/dev/null; then :; else cp
/tmp/westemp$$ revision.hpp; fi;
\
        if [ -e /tmp/westemp$$ ]; then rm /tmp/westemp$$;
fi
depbase=`echo tools/exploder_utils.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng14     -DHAVE_REVISION -I../intl -I../intl
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
-DWESNOTH_PATH=\"/usr/share/wesnoth\" -DLOCALEDIR=\"translations\"
-DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\"/var/run/wesnothd\"
-DWESNOTH_PREFIX=\"/usr\" -Werror -Wno-unused-parameter -O2 -W -Wall -ansi
-O2 -march=i486 -mtune=i686 -DDISABLE_POOL_ALLOC -DOLD_FRIBIDI
-I/usr/include/fribidi    -D_X11     -I/usr/include -MT
tools/exploder_utils.o -MD -MP -MF $depbase.Tpo -c -o tools/exploder_utils.o
tools/exploder_utils.cpp &&\
        mv -f $depbase.Tpo
$depbase.Po
tools/exploder_utils.cpp: In function ‘void save_image(surface, const
std::string&)’:

tools/exploder_utils.cpp:177: error: ‘png_voidp_NULL’ was not declared in
this
scope

tools/exploder_utils.cpp:178: error: ‘png_error_ptr_NULL’ was not declared
in this
scope

make: *** [tools/exploder_utils.o] Error 1

Does anybody have any clue what's going on?

Thanx,
Nikos Skalkotos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100422/ce4e3828/attachment.htm>


More information about the SlackBuilds-users mailing list