praveenvvstgy / crack-language

Automatically exported from code.google.com/p/crack-language
Other
0 stars 0 forks source link

hello world is linked to ALSA #106

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. crackc hello.crk
2. ldd ./hello
3.

What is the expected output? What do you see instead?
hello world is linked to libasound.so.2

    linux-vdso.so.1 =>  (0x0000031b669ec000)
    runtime.so => /usr/local/lib64/crack-0.6/crack/runtime.so (0x0000031b6659c000)
    libCrackNativeRuntime.so.2 => /usr/local/lib/libCrackNativeRuntime.so.2 (0x0000031b66398000)
    libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/libgcc_s.so.1 (0x0000031b6615c000)
    libc.so.6 => /lib64/libc.so.6 (0x0000031b65dd4000)
    libasound.so.2 => /usr/lib64/libasound.so.2 (0x0000031b65ac5000)
    libdl.so.2 => /lib64/libdl.so.2 (0x0000031b658c1000)
    libpthread.so.0 => /lib64/libpthread.so.0 (0x0000031b656a5000)
    libpcre.so.1 => /lib64/libpcre.so.1 (0x0000031b65436000)
    libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/libstdc++.so.6 (0x0000031b650fe000)
    libm.so.6 => /lib64/libm.so.6 (0x0000031b64e7d000)
    /lib64/ld-linux-x86-64.so.2 (0x0000031b667cd000)
    librt.so.1 => /lib64/librt.so.1 (0x0000031b64c74000)

Original issue reported on code.google.com by wbr...@gmail.com on 17 Aug 2012 at 9:31

GoogleCodeExporter commented 9 years ago
can you paste the output of "crackc -v -v -v -v hello.crk"?

Original comment by weyrick on 31 Aug 2012 at 4:30

GoogleCodeExporter commented 9 years ago

Original comment by weyrick on 31 Aug 2012 at 4:30

GoogleCodeExporter commented 9 years ago
I can't build crack trunk
http://code.google.com/p/crack-language/issues/detail?id=111

Original comment by wbr...@gmail.com on 31 Aug 2012 at 5:08

GoogleCodeExporter commented 9 years ago
It looks like this is due to the autoconf macros for alsa - they leave -lasound 
in the global LIBS variable.

I'll attempt a fix sometime soon.

Original comment by mind...@gmail.com on 2 Sep 2012 at 7:18