{"action":"opened","issue":{"url":"https://api.github.com/repos/raysan5/raylib/issues/494","repository_url":"https://api.github.com/repos/raysan5/raylib","labels_url":"https://api.github.com/repos/raysan5/raylib/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/raysan5/raylib/issues/494/comments","events_url":"https://api.github.com/repos/raysan5/raylib/issues/494/events","html_url":"https://github.com/raysan5/raylib/issues/494","id":300023663,"number":494,"title":"[build] Undefined reference to symbol","user":{"login":"Martinfx","id":1999714,"avatar_url":"https://avatars2.githubusercontent.com/u/1999714?v=4","gravatar_id":"","url":"https://api.github.com/users/Martinfx","html_url":"https://github.com/Martinfx","followers_url":"https://api.github.com/users/Martinfx/followers","following_url":"https://api.github.com/users/Martinfx/following{/other_user}","gists_url":"https://api.github.com/users/Martinfx/gists{/gist_id}","starred_url":"https://api.github.com/users/Martinfx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martinfx/subscriptions","organizations_url":"https://api.github.com/users/Martinfx/orgs","repos_url":"https://api.github.com/users/Martinfx/repos","events_url":"https://api.github.com/users/Martinfx/events{/privacy}","received_events_url":"https://api.github.com/users/Martinfx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-25T12:50:39Z","updated_at":"2018-02-25T12:50:39Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I compiled with clang on FreeBSD but i have probrlem with linker\r\n```\r\nmkdir build\r\ncd build\r\ncmake -DENABLE_ASAN=ON -DENABLE_UBSAN=ON ..\r\ngmake -j4\r\n\r\n```\r\n\r\n```\r\n-- The C compiler identification is Clang 4.0.0\r\n-- The CXX compiler identification is Clang 4.0.0\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- Performing Test COMPILER_HAS_THOSE_TOGGLES\r\n-- Performing Test COMPILER_HAS_THOSE_TOGGLES - Success\r\n-- Testing if -Werror=pointer-arith can be used -- works\r\n-- Testing if -Werror=implicit-function-declaration can be used -- works\r\n-- Testing if -fno-omit-frame-pointer can be used -- works\r\n-- Testing if -fsanitize=address can be used -- works\r\n-- Testing if -fno-omit-frame-pointer can be used -- works\r\n-- Testing if -fsanitize=undefined can be used -- works\r\n-- Found OpenGL: /usr/local/lib/libGL.so   \r\n-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so\r\n-- Looking for XOpenDisplay in /usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found\r\n-- Looking for gethostbyname\r\n-- Looking for gethostbyname - found\r\n-- Looking for connect\r\n-- Looking for connect - found\r\n-- Looking for remove\r\n-- Looking for remove - found\r\n-- Looking for shmat\r\n-- Looking for shmat - found\r\n-- Looking for IceConnectionNumber in ICE\r\n-- Looking for IceConnectionNumber in ICE - found\r\n-- Found X11: /usr/local/lib/libX11.so\r\n-- Compiling with the flags:\r\n--   PLATFORM=PLATFORM_DESKTOP\r\n--   GRAPHICS=GRAPHICS_API_OPENGL_33\r\n-- Looking for CLOCK_MONOTONIC\r\n-- Looking for CLOCK_MONOTONIC - not found\r\n-- Looking for QueryPerformanceCounter\r\n-- Looking for QueryPerformanceCounter - not found\r\n-- Looking for include file OVR_CAPI_GL.h\r\n-- Looking for include file OVR_CAPI_GL.h - not found\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /usr/home/bsd/Code/raylib/build\r\nScanning dependencies of target raylib\r\n[  1%] Building C object release/CMakeFiles/raylib.dir/audio.c.o\r\n[  1%] Building C object release/CMakeFiles/raylib.dir/core.c.o\r\n[  2%] Building C object release/CMakeFiles/raylib.dir/models.c.o\r\n[  2%] Building C object release/CMakeFiles/raylib.dir/rglfw.c.o\r\n[  3%] Building C object release/CMakeFiles/raylib.dir/rlgl.c.o\r\n[  3%] Building C object release/CMakeFiles/raylib.dir/shapes.c.o\r\n[  4%] Building C object release/CMakeFiles/raylib.dir/text.c.o\r\n[  4%] Building C object release/CMakeFiles/raylib.dir/textures.c.o\r\n[  5%] Building C object release/CMakeFiles/raylib.dir/utils.c.o\r\n[  5%] Building C object release/CMakeFiles/raylib.dir/external/mini_al.c.o\r\n[  6%] Building C object release/CMakeFiles/raylib.dir/external/stb_vorbis.c.o\r\n[  6%] Linking C static library libraylib.a\r\n[  6%] Built target raylib\r\nScanning dependencies of target textures_image_drawing\r\nScanning dependencies of target textures_srcrec_dstrec\r\nScanning dependencies of target textures_raw_data\r\nScanning dependencies of target textures_image_processing\r\n[  6%] Building C object examples/CMakeFiles/textures_raw_data.dir/textures/textures_raw_data.c.o\r\n[  7%] Building C object examples/CMakeFiles/textures_image_drawing.dir/textures/textures_image_drawing.c.o\r\n[  7%] Building C object examples/CMakeFiles/textures_srcrec_dstrec.dir/textures/textures_srcrec_dstrec.c.o\r\n[  8%] Building C object examples/CMakeFiles/textures_image_processing.dir/textures/textures_image_processing.c.o\r\n[  9%] Linking C executable textures_srcrec_dstrec\r\n[  9%] Linking C executable textures_image_drawing\r\n[ 10%] Linking C executable textures_raw_data\r\n[ 10%] Linking C executable textures_image_processing\r\n/usr/bin/ld: /usr/bin/ld: undefined reference to symbol `__cxa_demangle@@CXXABI_1.3' (try adding -lcxxrt)\r\n//lib/libcxxrt.so.1: could not read symbols: Bad value\r\nundefined reference to symbol `__cxa_demangle@@CXXABI_1.3' (try adding -lcxxrt)\r\n//lib/libcxxrt.so.1: could not read symbols: Bad value\r\n/usr/bin/ld: undefined reference to symbol `__cxa_demangle@@CXXABI_1.3' (try adding -lcxxrt)\r\n//lib/libcxxrt.so.1: could not read sycc/usr/bin/ld: undefined reference to symbol `__cxa_demangle@@CXXABI_1.3' (try adding -lcxxrt)\r\n//lib/libcxxrt.so.1: could not rcce: aderror: linker command failed with exit code 1 (use -v to see invocation)\r\n symbolsm: Bad value\r\n: boerrorl: s:linker command failed with exit code 1 (use -v to see invocation) Bad value\r\n```\r\n\r\n"}}
{"actor":{"display_login":"Martinfx"}}