-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
When running vdbuild_new with correct arguments, I get:
/usr/bin/ld: cannot find -l:/usr/lib/virtualbox/VBoxDDU.so
collect2: error: ld returned 1 exit status
strip: 'vdfuse': No such file
Compile Failed!
If removing the "-l:" part, from the vdbuild_new script, it will work. Thus I changed the vdbuild_script as described below:
BEFORE
gcc "${infile}" -o "${outfile}" \
`pkg-config --cflags --libs fuse` \
-I"${incdir}" \
-Wl,-rpath,"${INSTALL_DIR}" \
-l:"${INSTALL_DIR}"/VBoxDDU.so \
-Wall ${CFLAGS}
AFTER FIX
gcc "${infile}" -o "${outfile}" \
`pkg-config --cflags --libs fuse` \
-I"${incdir}" \
-Wl,-rpath,"${INSTALL_DIR}" \
"${INSTALL_DIR}"/VBoxDDU.so \
-Wall ${CFLAGS}
I admit, that I don't know if the -l was supposed to make a difference, but I know that it builds correctly without.
I'm on Ubuntu 16.10 using gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels