?

Log in

No account? Create an account
LogJam 4.4.0 Fails on Compile - LogJam [entries|archive|friends|userinfo]
LogJam

[ website | LogJam ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

LogJam 4.4.0 Fails on Compile [Oct. 18th, 2004|12:47 pm]
LogJam

logjam

[alohawolf]
else rm -f ".deps/network-fork.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" -I../protocol/liblivejournal -I../util/gxr -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I/usr/include/libgtkhtml-3.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libglade-2.0 -I/usr/include/gal-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/librsvg-2 -I/usr/include -g -O2 -MT network-libxml.o -MD -MP -MF ".deps/network-libxml.Tpo" \
-c -o network-libxml.o `test -f 'network-libxml.c' || echo './'`network-libxml.c; \
then mv ".deps/network-libxml.Tpo" ".deps/network-libxml.Po"; \
else rm -f ".deps/network-libxml.Tpo"; exit 1; \
fi
network-libxml.c: In function `net_post_blocking':
network-libxml.c:76: error: label at end of compound statement
make[2]: *** [network-libxml.o] Error 1
make[2]: Leaving directory `/home/alohawolf/logjam-4.4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alohawolf/logjam-4.4.0'
make: *** [all] Error 2


Im running Mandrake 10.1, with gcc 3.4.1 any idea's here folks?
LinkReply

Comments:
[User Picture]From: gaal
2004-10-18 08:06 pm (UTC)
Do you have the very latest code (from source control)? This should have been fixed there. The fix is pretty simple; the whole block of code reads
    switch (xmlNanoHTTPReturnCode(ctx)) {
    case 404:
        /* HTTP 404 message: file not found. */
        g_set_error(err, NET_ERROR, NET_ERROR_PROTOCOL,
                _("File not found."));
        goto out;
    default:
        ; /* supress warning */
    }


(In 3.3 it was a warning. Apparenly 3.4.1 made it an error.)
(Reply) (Thread)
[User Picture]From: alohawolf
2004-10-18 08:40 pm (UTC)
I found network-libxml.c and I fixed the bug.. and now it works

thanks again

Rober
(Reply) (Parent) (Thread)
[User Picture]From: bigbearjt
2004-10-22 12:46 pm (UTC)

Thank you!

I was beating my head on the wall and thought "check LogJam journal" and there was my answer. No more using the website!
(Reply) (Parent) (Thread)