Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed few cloning and compilation errors #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

fixed few cloning and compilation errors #3

wants to merge 2 commits into from

Conversation

serra82
Copy link

@serra82 serra82 commented Dec 29, 2014

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 todlerror'
dl.c:(.text+0xda): undefined reference to dlopen' libuv.a(dl.c.o): In functionuv_dlclose':
dl.c:(.text+0x13a): undefined reference to dlclose' libuv.a(dl.c.o): In functionuv_dlsym':
dl.c:(.text+0x150): undefined reference to dlerror' dl.c:(.text+0x164): undefined reference todlsym'
libuv.a(dl.c.o): In function uv__dlerror': dl.c:(.text+0x1b5): undefined reference todlerror'
libuv.a(linux-core.c.o): In function uv__hrtime': linux-core.c:(.text+0xa09): undefined reference toclock_getres'
linux-core.c:(.text+0xa54): undefined reference to clock_gettime' libuv.a(linux-core.c.o): In functionuv_uptime':
linux-core.c:(.text+0xe4e): undefined reference to clock_gettime' linux-core.c:(.text+0xe66): undefined reference toclock_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

@FreshXOpenSource
Copy link

Fixed by pull request #29

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

Successfully merging this pull request may close these issues.

2 participants