fixed few cloning and compilation errors #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
submodule clone error:
seraghiti@mint14 ~/dukluv $ git submodule update --init --recursive
Submodule 'lib/duktape' (https://github.com/svaarala/duktape-releases.git) registered for path 'lib/duktape'
Submodule 'lib/uv' (https://github.com/joyent/libuv.git) registered for path 'lib/uv'
Cloning into 'lib/duktape'...
remote: Counting objects: 1011, done.
remote: Compressing objects: 100% (306/306), done.
remote: Total 1011 (delta 698), reused 1011 (delta 698)
Receiving objects: 100% (1011/1011), 14.74 MiB | 256 KiB/s, done.
Resolving deltas: 100% (698/698), done.
Submodule path 'lib/duktape': checked out '0b56df7b1a4055054ed4860438ebbdaee5233c1b'
Cloning into 'lib/uv'...
remote: Counting objects: 20298, done.
remote: Total 20298 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (20298/20298), 12.30 MiB | 507 KiB/s, done.
Resolving deltas: 100% (12410/12410), done.
fatal: reference is not a tree: 9572f3e74a167f59a8017e57ca3ebe91ffd88e18
Unable to checkout '9572f3e74a167f59a8017e57ca3ebe91ffd88e18' in submodule path 'lib/uv'
linker error:
Linking C static library libuv.a
[ 97%] Built target uv
Scanning dependencies of target dukluv
[100%] Building C object CMakeFiles/dukluv.dir/src/main.c.o
Linking C executable dukluv
libuv.a(dl.c.o): In function
uv_dlopen': dl.c:(.text+0xbd): undefined reference to
dlerror'dl.c:(.text+0xda): undefined reference to
dlopen' libuv.a(dl.c.o): In function
uv_dlclose':dl.c:(.text+0x13a): undefined reference to
dlclose' libuv.a(dl.c.o): In function
uv_dlsym':dl.c:(.text+0x150): undefined reference to
dlerror' dl.c:(.text+0x164): undefined reference to
dlsym'libuv.a(dl.c.o): In function
uv__dlerror': dl.c:(.text+0x1b5): undefined reference to
dlerror'libuv.a(linux-core.c.o): In function
uv__hrtime': linux-core.c:(.text+0xa09): undefined reference to
clock_getres'linux-core.c:(.text+0xa54): undefined reference to
clock_gettime' libuv.a(linux-core.c.o): In function
uv_uptime':linux-core.c:(.text+0xe4e): undefined reference to
clock_gettime' linux-core.c:(.text+0xe66): undefined reference to
clock_gettime'collect2: error: ld returned 1 exit status
make[2]: *** [dukluv] Error 1
make[1]: *** [CMakeFiles/dukluv.dir/all] Error 2
make: *** [all] Error 2