|
Bugzilla – Full Text Bug Listing |
| Summary: | Compiling wxWidget applications leads to NVidia driver based error message | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Forgotten User 0Pa7LREnXl <forgotten_0Pa7LREnXl> |
| Component: | Other | Assignee: | Stefan Dirsch <sndirsch> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | chcao, forgotten_0Pa7LREnXl, marcelo.jimenez |
| Version: | Leap 42.1 | Flags: | sndirsch:
needinfo?
(forgotten_0Pa7LREnXl) sndirsch: needinfo? (marcelo.jimenez) |
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Forgotten User 0Pa7LREnXl
2016-06-22 03:02:19 UTC
*** Bug 986427 has been marked as a duplicate of this bug. *** (In reply to Andreas Stieger from comment #1) > *** Bug 986427 has been marked as a duplicate of this bug. *** Hi, I have just posted Bug 986427, which has been marked as a duplicate, maybe it is interesting to put the testcase here. Just link anything with -GLU to reproduce the problem. You don't need wxWidgets. Linking against opengl is broken in nvidia 367.27 G04 drivers. I consider this to be a critical problem, since I am no longer able to generate an executable. Any ideas for a workaround, while we don't have a new driver? Regards, Marcelo. testcase.c: int main(int argc, char **argv) { return 0; } The result is: $ gcc -lGLU testcase.c /usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_alloc' /usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_vsnprintf' /usr/lib64/libnvidia-glcore.so.367.27: undefined reference to `nv_vasprintf_free' collect2: error: ld returned 1 exit status Hi, Just found a workaround. Add -lGL to the line and it works fine: $ gcc -lGL -lGLU testcase.c Hmm. I cannot reproduce that issue with 367.35. Could you retry with 367.35, please? Hi Stefan, I am also unable to reproduce the problem with 367.35. $ rpm -qa | grep -i nvidia x11-video-nvidiaG04-367.35-25.1.x86_64 nvidia-computeG04-367.35-25.1.x86_64 nvidia-gfxG04-kmp-default-367.35_k4.1.12_1-25.1.x86_64 nvidia-glG04-367.35-25.1.x86_64 $ gcc -lGLU testcase.c $ I consider the problem solved. Regards, Marcelo. Ok. Then let's close it. :-) |