[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2014-07-30 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: pkg-config (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/878612 Title:

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2014-07-30 Thread Dimitri John Ledkov
pkg-config operates correct here. And fuse pkg-config (.pc) files are also correct. The makefile is broken and bad =) either use it as a bad example, and write better ones in your own projects (or e.g. use modern cmake / automake from scratch instead of hand writting bad makefiles). If you wish

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2013-07-03 Thread noon
LDFLAGS is the variable for the linker flags. Linker libs such as -lfuse should be put in the LDLIBS variable, not in LDFLAGS. To solve the problem and simplify the Makefile at the same time: In the Makefile, the LDFLAGS definition should be replaced with LDLIBS: LDLIBS := $(shell pkg-config

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2012-09-20 Thread Scott Ritchie
** Also affects: pkg-config (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/878612 Title: Linker fails when compiling fuse files with undefined

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2012-06-07 Thread Michał Wróbel
I corrected the Makefile by reordering LDFLAGS similarly to how Flávio Martins (xhaker) suggested, fixed installation of fioc.h header which was needed to build all the examples (including cusexmp, fioc, fioclient, fsel, fselclient) and uploaded the package to my PPA (at the time of writing,

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2011-12-20 Thread Henrik Ledin
I think I have found what is causing this issue. It seems to be something wrong with pkg-config, when used inside of the `` chars When running `pkg-config fuse --cflags --libs` it returns -D_FILE_OFFSET_BITS=64: command not found Without the `` chars it returns -D_FILE_OFFSET_BITS=64

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2011-12-01 Thread Flávio Martins
This should work: gcc -Wall -o hello hello.c `pkg-config fuse --cflags --libs` The order of sources and libraries matters. If you want to know more, you can read http://webpages.charter.net/ppluzhnikov/linker.html -- You received this bug notification because you are a member of Ubuntu Bugs,

Re: [Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2011-12-01 Thread Jeremy Nickurak
2011/12/1 Flávio Martins xha...@gmail.com: This should work: gcc -Wall  -o hello hello.c `pkg-config fuse --cflags --libs` So what changed such that the libfuse-dev example Makefile has stopped working correctly? -- Jeremy Nickurak -= Email/XMPP: -= jer...@nickurak.ca =- -- You received

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2011-11-23 Thread Jeremy Nickurak
Any workaround? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/878612 Title: Linker fails when compiling fuse files with undefined reference to `fuse_main_real' To manage notifications about this

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2011-10-23 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: fuse (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/878612 Title: Linker

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2011-10-23 Thread Jérôme DUMESNIL
This bug only appears when using fuse_main macro. When underlying functions (fuse_new, fuse_mount, ...) are directly called, the problem doesn't appear. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 878612] Re: Linker fails when compiling fuse files with undefined reference to `fuse_main_real'

2011-10-19 Thread William Woelke
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/878612 Title: Linker fails when compiling fuse files with undefined reference to `fuse_main_real' To manage notifications about this bug go to: