It is. move the library behind the object files on the command line.

On 04/28/2011 11:11 PM, Marcin Owsiany wrote:
> I'm not sure this is a bug in potool.
> The Makefile does simply:
> 
> GLIB_LIB = $(shell pkg-config --libs glib-2.0)
> LDFLAGS = $(GLIB_LIB)
> potool: $(OBJS)
>         $(CC) $(LDFLAGS) -o $@ $^
> 
> which results in:
> 
> make[1]: Entering directory `/build/buildd/potool-0.11'
> [...]
> cc -L/usr/lib/x86_64-linux-gnu -lglib-2.0   -o potool potool.o po.tab.o 
> lex.po.o
> potool.o: In function `po_filter_not_translated':
> /build/buildd/potool-0.11/potool.c:156: undefined reference to 
> `g_slist_find_custom'
> 
> It looks like for some reason -lglib-2.0 seems to no longer export the 
> required symbols?
> Is it the "-L/usr/lib/x86_64-linux-gnu" that's causing problems?
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/771140

Title:
  potool version 0.11-2 failed to build on amd64 with GCC-4.6/oneiric

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/potool/+bug/771140/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to