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

undefined reference to `jl_show' #52

Open
LeMinaw opened this issue Mar 6, 2018 · 1 comment
Open

undefined reference to `jl_show' #52

LeMinaw opened this issue Mar 6, 2018 · 1 comment

Comments

@LeMinaw
Copy link

LeMinaw commented Mar 6, 2018

After compiling the system image, the compiler crashes a little after GCC starts.

INFO: Linking sys.dll
INFO: System image successfully built at C:\Program Files\Julia-0.6.2\bin\libwalkers.dll
INFO: To run Julia with this image loaded, run: julia -J C:\Program Files\Julia-0.6.2\bin\libwalkers.dll

running: C:\Users\LeMinaw\.julia\v0.6\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\gcc.exe -g `-D_WIN32_WINNT=0x0502` -IC:\Program Files\Julia-0.6.2\include\julia -IC:\Program Files\src -IC:\Program Files\src/support -IC:\Program Files\usr/include -IC:\Users\LeMinaw\.julia\v0.6\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\include C:\Users\LeMinaw\AppData\Local\Temp\jl_7076.tmp\start_func.c -o C:\Program Files\Julia-0.6.2\bin\walkers.exe -Wl,-rpath,C:\Program Files\Julia-0.6.2\bin -LC:\Program Files\Julia-0.6.2\bin -ljulia -lwalkers
C:\Users\LeMinaw\AppData\Local\Temp\jl_7076.tmp\start_func.c: In function 'main':
C:\Users\LeMinaw\AppData\Local\Temp\jl_7076.tmp\start_func.c:55:9: warning: implicit declaration of function 'jl_show'; did you mean 'jl_throw'? [-Wimplicit-function-declaration]
         jl_show(jl_stderr_obj(), jl_exception_occurred());
         ^~~~~~~
         jl_throw
C:\Users\LeMinaw\AppData\Local\Temp\ccrKmEKI.o: In function `main':
C:/Users/LeMinaw/AppData/Local/Temp/jl_7076.tmp/start_func.c:55: undefined reference to `jl_show'
collect2.exe: error: ld returned 1 exit status
@smartphoneworld
Copy link

Happens with me too on Ubuntu, and Julia v0.6.2. Any fix?

/tmp/tmpkSkZTS/start_func.c:55: undefined reference to `jl_show'

error1.txt

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

No branches or pull requests

2 participants