[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 to fix the example makefile, it's best to report this
upstream.

** Changed in: pkg-config (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: fuse (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: fuse (Ubuntu)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: pkg-config (Ubuntu)
 Assignee: (unassigned) => Dimitri John Ledkov (xnox)

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/878612/+subscriptions

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


[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:
  Linker fails when compiling fuse files with "undefined reference to
  `fuse_main_real'

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

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


[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 fuse --libs)

Also the 2-line fusexmp_fh section should be simplified with:

fusexml_fh: LDLIBS += -lulockmgr

(To make it even cleaner, there should be separate CFLAGS and CPPFLAGS
pkg-config settings: --cflags-only-other and --cflags-only-I
respectively)

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/878612/+subscriptions

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


[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 reference to
  `fuse_main_real'

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

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


[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, pending to be built):
https://launchpad.net/~maw/+archive/fixes

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/878612/+subscriptions

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

[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 -I/usr/include/fuse  -pthread -lfuse -lrt -ldl 

I'm not familiar with pkg-config, so I don't know how to fix this issue.
 
Best regards,
Henrik

-- 
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:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/878612/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/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 :
> 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 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:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/878612/+subscriptions

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

[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, 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:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/878612/+subscriptions

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


[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 go to:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/878612/+subscriptions

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


[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.
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:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/878612/+subscriptions

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


[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 fails when compiling fuse files with "undefined reference to
  `fuse_main_real'

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

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


[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:
https://bugs.launchpad.net/ubuntu/+source/fuse/+bug/878612/+subscriptions

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