[21:04] <Noskcaj> Can someone help me with https://launchpadlibrarian.net/158050859/buildlog_ubuntu-trusty-i386.netmate_0.2.0-1_FAILEDTOBUILD.txt.gz ?
[21:05] <Noskcaj> It should just need a small patch to http://sources.debian.net/src/netmate/0.2.0-1/Makefile , but i'm not sure exactly what needs changing
[21:07] <Zhenech> sounds like link option ordering, from a first glance
[21:11] <xnox> Noskcaj: one should have "-lfoo" things after "-o netmate" not before.
[21:11] <Noskcaj> ok, thanks.
[21:12] <xnox> Noskcaj: otherwise linker goes "hm... a bunch of gtk symbols, but nothing have used them yet, drop them all"...... "hm... a bunch of gtk symbols needed, but i don't have any"
[21:12] <Noskcaj> makes sense
[21:25] <Noskcaj> xnox, should it be "gcc -o netmate.o $(CPPFLAGS) $(GTK_CFLAGS) $(CFLAGS) -c netmate.c" or have i still gt the ordering wrong
[21:25] <jtaylor> no
[21:25] <jtaylor> the libs need to go right at the end
[21:25] <jtaylor> after the object files using their symbols to be exact
[21:25] <jtaylor> so after netmake.o
[21:26] <jtaylor> the line you pasted is fine, its a compile line not a link line
[21:27] <Noskcaj> jtaylor, What should i be doing to fix this ftbfs then? The makefile is in the link above
[21:27] <jtaylor> change: gcc $(GTK_LIBS) -lpcap $(LDFLAGS) netmate.o -o netmate
[21:27] <jtaylor> to: gcc $(LDFLAGS) netmate.o $(GTK_LIBS) -lpcap  -o netmate
[21:28] <Noskcaj> ok, thanks for the help
[21:28] <jtaylor> the flags should also you dpkg-buildflags as your at it
[21:29] <jtaylor> nevermind its an pstream makefile