-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
$ sudo apt install libfuse-dev
$ wget http://opensource.platon.sk/projects/download.php\?id\=136
$ mv download.php\?id=136 libcfg+-0.7.0.tar.gz
$ tar zxvf ~/libcfg+-0.7.0.tar.gz
$ cd libcfg+-0.7.0
$ ./configure && make && sudo make install
$ git clone https://github.com/thkala/fuseflt.git
$ cd fuseflt
Need to patch the Makefile to move the linker options to be after the source file (https://stackoverflow.com/questions/22288456/fuse-functions-not-found-on-compile) 🤷
Was getting collect2: error: ld returned 1 exit status with errors for fuse and cfg+ libraries until that patch.
diff --git a/Makefile b/Makefile
index 1fd8832..f21acfe 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ VER := $(shell head -n 1 NEWS | cut -d : -f 1)
all: fuseflt
fuseflt: fuseflt.c NEWS
- $(CC) $(shell pkg-config fuse --cflags --libs) $(CFLAGS) -lcfg+ -DVERSION=\"$(VER)\" $< -o $@
+ $(CC) $< $(shell pkg-config fuse --cflags --libs) $(CFLAGS) -lcfg+ -DVERSION=\"$(VER)\" -o $@
install: all
install -D -m755 fuseflt $(bindir)/fuseflt
then
$ make && sudo make install
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels