Skip to content
This repository has been archived by the owner on Aug 19, 2018. It is now read-only.

Build fails to link on Ubuntu #3

Open
kf6kjg opened this issue Feb 13, 2017 · 1 comment
Open

Build fails to link on Ubuntu #3

kf6kjg opened this issue Feb 13, 2017 · 1 comment

Comments

@kf6kjg
Copy link

kf6kjg commented Feb 13, 2017

Following the recipe I'm documenting at https://github.com/InWorldz/whip-server/wiki/Building-(Ubuntu) I'm getting the following:

...
[100%] Linking CXX executable whip
/usr/bin/ld: cannot open output file whip: Is a directory
collect2: error: ld returned 1 exit status
CMakeFiles/whip.dir/build.make:1426: recipe for target 'whip' failed
make[2]: *** [whip] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/whip.dir/all' failed
make[1]: *** [CMakeFiles/whip.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Investigating now.

kf6kjg added a commit to kf6kjg/whip-server that referenced this issue Feb 13, 2017
This solves building on linux, Issue IslandzVW#3, as this OS doesn't append an extension to the filename.
@kf6kjg
Copy link
Author

kf6kjg commented Feb 13, 2017

Ok, looks like it was simply the output was trying to write to a file named "whip" when there was already a folder there by the same name. Windows would have created "whip.exe" and not had a name collision.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant