Can be Makefile that hardcode the LDFLAGS when we have LDFLAGS=foo instead LDFLAGS+=foo where is the Makefile and the rest of the code , src-rpm etc ?
On Wed, 2020-12-02 at 21:21 -0600, Richard Shaw wrote: Bah... I'm seriously about to create a CMake config for this rather than deal with the crappy Makefile...
/usr/bin/ld: /tmp/unchunkfs.bkUTgL.ltrans0.ltrans.o: in function `main': /tmp/rpkg/chunkfs-25-h3w4te_q/chunkfs-0.8/unchunkfs.c:199: undefined reference to `fuse_main_real_compat25' /usr/bin/ld: /tmp/rpkg/chunkfs-25-h3w4te_q/chunkfs-0.8/unchunkfs.c:194: undefined reference to `fuse_main_real_compat25' /usr/bin/ld: /tmp/rpkg/chunkfs-25-h3w4te_q/chunkfs-0.8/unchunkfs.c:229: undefined reference to `fuse_main_real_compat25' collect2: error: ld returned 1 exit status make: *** [<builtin>: unchunkfs] Error 1 gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -s -lfuse unchunkfs.o utils.o -o unchunkfs make: *** Waiting for unfinished jobs.... /usr/bin/ld: /tmp/chunkfs.2zHD4j.ltrans0.ltrans.o: in function `main': /tmp/rpkg/chunkfs-25-h3w4te_q/chunkfs-0.8/chunkfs.c:212: undefined reference to `fuse_main_real_compat25' /usr/bin/ld: /tmp/rpkg/chunkfs-25-h3w4te_q/chunkfs-0.8/chunkfs.c:207: undefined reference to `fuse_main_real_compat25' /usr/bin/ld: /tmp/rpkg/chunkfs-25-h3w4te_q/chunkfs-0.8/chunkfs.c:231: undefined reference to `fuse_main_real_compat25' collect2: error: ld returned 1 exit status make: *** [<builtin>: chunkfs] Error 1 gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -s -lfuse chunkfs.o utils.o -o chunkfs
Thanks, Richard
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
|
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx