Skip to contentSkip to conversation

New: nouveau_screen.c: undefined reference to `nouveau_drm_del'

Bug 101199 [email protected] 1 participant 5 messages May 26, 2017 – May 28, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101199

Bug ID: 101199
Summary: nouveau_screen.c: undefined reference to
`nouveau_drm_del'
Product: Mesa
Version: 17.1
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

The build of mesa 17.1.1 has failed with error:

nouveau_screen.c:230: undefined reference to nouveau_drm_del' nouveau/.libs/libnouveau_dri.a(nouveau_screen.o): In function nouveau_init_screen2':
nouveau/nouveau_screen.c:105: undefined reference to nouveau_drm_new' nouveau/nouveau_screen.c:111: undefined reference to nouveau_device_new'

The library is configured with the following parameters:

./configure --enable-shared --enable-glx --disable-osmesa --enable-debug --enable-gles2 --enable-gles1 --with-llvm-prefix=/path/to/LLVM-3.8.1/ PKG_CONFIG_PATH='/path/to/libdrm/2.4.80/lib/pkgconfig'

GCC version: 4.9.2

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-101199-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 101199] nouveau_screen.c: undefined reference to `nouveau_drm_del'

https://bugs.freedesktop.org/show_bug.cgi?id=101199

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |NOTOURBUG
             Status|NEW                         |RESOLVED

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- You have an issue on your system. You're picking up a version of drm/nouveau.h which is not the one that configure found.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 101199] nouveau_screen.c: undefined reference to `nouveau_drm_del'

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101199

Andrey <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|NOTOURBUG                   |---

--- Comment #2 from Andrey <[email protected]> --- (In reply to Ilia Mirkin from comment #1)

Quoted 2 lines

You have an issue on your system. You're picking up a version of drm/nouveau.h which is not the one that configure found.

I have two libdrms:

1) The system's one libdrm-devel-2.4.60-1.fc21.x86_64
2) The local one needed for mesa: /path/to/libdrm/2.4.80/

How can I tell configure to pick up a right one?

Thank you.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 101199] nouveau_screen.c: undefined reference to `nouveau_drm_del'

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101199

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #3 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- (In reply to Andrey from comment #2)

Quoted 4 lines

(In reply to Ilia Mirkin from comment #1)

Quoted 2 lines

You have an issue on your system. You're picking up a version of drm/nouveau.h which is not the one that configure found.

Quoted 8 lines

I have two libdrms:

1) The system's one libdrm-devel-2.4.60-1.fc21.x86_64
2) The local one needed for mesa: /path/to/libdrm/2.4.80/

How can I tell configure to pick up a right one?

Thank you.

No clue. If libdrm-devel is installed in a system path, and you have other libraries installed in system paths, this may not be a supportable configuration, since all include paths are just mashed together.

Uninstall libdrm-devel perhaps?

Either way, not a nouveau issue.

Signature · 3 lines
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 101199] nouveau_screen.c: undefined reference to `nouveau_drm_del'

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101199

Andrey <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         QA Contact|[email protected] |mesa-dev-PD4FTy7X32lNgt0PjOBp9/[email protected]
                   |rg                          |org
         Resolution|NOTOURBUG                   |---
             Status|RESOLVED                    |REOPENED
           Assignee|[email protected] |mesa-dev-PD4FTy7X32lNgt0PjOBp9/[email protected]
                   |rg                          |org
          Component|Drivers/DRI/nouveau         |Other

--- Comment #4 from Andrey <[email protected]> --- This is an issue with the Mesa build system. The configure script should choose right libdrm from PKG_CONFIG_PATH specified.

Signature · 3 lines
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau