Closed MaikKlein closed 6 years ago
rlsl currently still tries to link with the main
error: linking with `cc` failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/maik/projects/rlsl/rlsl-example/target/debug/deps/rlsl_example-0ed607f60771a702.1y16o1qfye96o7m0.rcgu.o" "-o" "/home/maik/projects/rlsl/rlsl-example/target/debug/deps/rlsl_example-0ed607f60771a702" "/home/maik/projects/rlsl/rlsl-example/target/debug/deps/rlsl_example-0ed607f60771a702.crate.allocator.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "-L" "/home/maik/projects/rlsl/rlsl-example/target/debug/deps" "-L" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/maik/projects/rlsl/rlsl-example/target/debug/deps/librlsl_math-b58264b8e9da687f.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-57fdceb1c52b4db2.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-4f85ba5d0e870e29.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-a655730befa35987.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-c86c9565da689e14.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-655151fba596847e.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-b8f9bb8294d9a014.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-513d34708cb20443.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-5211f032242a5357.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-e2f49b08d2bc06b5.rlib" "/home/maik/.rlsl/compiler/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-136e26942e0df602.rlib" "-Wl,-Bdynamic" "-l" "dl" "-l" "rt" "-l" "pthread" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "pthread" "-l" "util" "-l" "util" = note: /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.1/../../../../lib/Scrt1.o: In function `_start': (.text+0x20): undefined reference to `main' collect2: error: ld returned 1 exit status
rlsl currently still tries to link with the main