LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-01-2019, 08:10 PM   #1
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,051

Rep: Reputation: Disabled
Issue with compilation of gst-plugins-base


Bear with me, I am not good as saying things simply.

Wanting to upgrade webkitgtk to version 2.26.1 on Slint64-14.2 I came across a message running ccmake that made me think I should upgrade gstreamer (version shipped in Slackware64-14.2). While I was at it I thought I could upgrade all gst-plugins-* as well. When trying to build gst-plugins-base version 1.16.1 (SlackBuild from Slackware64-current) I came across this error:
Code:
Making all in gbm
make[6] : on entre dans le répertoire « /storage/repo/x86_64/slint-14.2.1/source/gst-plugins-base/gst-plugins-base-1.16.1/gst-libs/gst/gl/gbm »
  CC       libgstgl_gbm_la-gstgl_gbm_utils.lo
gstgl_gbm_utils.c: Dans la fonction ‘gst_gl_gbm_get_name_for_drm_connector’:
gstgl_gbm_utils.c:69:10: erreur : ‘DRM_MODE_CONNECTOR_DPI’ undeclared (first use in this function)
     case DRM_MODE_CONNECTOR_DPI:
          ^
gstgl_gbm_utils.c:69:10: note : each undeclared identifier is reported only once for each function it appears in
Makefile:687 : la recette pour la cible « libgstgl_gbm_la-gstgl_gbm_utils.lo » a échouée
make[6]: *** [libgstgl_gbm_la-gstgl_gbm_utils.lo] Erreur 1
I got rid of this error removing lines 69 and 70 in gstgl_gbm_utils.c:
Code:
    case DRM_MODE_CONNECTOR_DPI:
      return "DPI";
However I am wondering:
  • Do I possibly remove a feature doing that?
  • Am I the only one getting this issue?
This is with glib2-2.62.2 installed.
Attached Files
File Type: txt gstgl_gbm_utils.c.txt (14.1 KB, 15 views)

Last edited by Didier Spaier; 11-01-2019 at 09:44 PM.
 
Old 11-02-2019, 01:01 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,734

Rep: Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297
Can you repeat this in Slackware?

Edit: also please post only error messages that are in English.

Last edited by Alien Bob; 11-02-2019 at 01:04 PM.
 
Old 11-02-2019, 01:04 PM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,732

Rep: Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683Reputation: 683
Not slack specific but may help:
http://www.linuxfromscratch.org/blfs...gins-base.html

Remember you have to install in order:
GStreamer-1.16.0
gst-plugins-base-1.16.0
gst-plugins-good-1.16.0
gst-plugins-bad-1.16.0
gst-plugins-ugly-1.16.0
gst-libav-1.16.0
 
Old 11-02-2019, 01:16 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,051

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Can you repeat this in Slackware?
I will try in a qemu VM. But I am not sure if I should take 14.2 or current as a basis. Maybe I will try in both.
Quote:
Edit: also please post only error messages that are in English.
Will do.
 
Old 11-02-2019, 01:20 PM   #5
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,051

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Keith Hedger View Post
Not slack specific but may help:
http://www.linuxfromscratch.org/blfs...gins-base.html

Remember you have to install in order:
GStreamer-1.16.0
gst-plugins-base-1.16.0
gst-plugins-good-1.16.0
gst-plugins-bad-1.16.0
gst-plugins-ugly-1.16.0
gst-libav-1.16.0
Thanks, but I don't think this be the issue (and I have checked the deps of a Slackware-current pacakage)
 
Old 11-02-2019, 01:38 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,734

Rep: Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297Reputation: 6297
Quote:
Originally Posted by Didier Spaier View Post
But I am not sure if I should take 14.2 or current as a basis.
I would say that your Slint is not compatible with either. This is why you can not really ask these questions in the Slackware forum and get meaningful answers. Perhaps try in the generic Linux forum.
 
1 members found this post helpful.
Old 11-02-2019, 02:01 PM   #7
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,051

Original Poster
Rep: Reputation: Disabled
You are right, it's initially based on Slackware64-14.2 but I have updated many packages since, mostly to be able to upgrade the desktops and the accessibility related packages. As there is no real urgency to upgrade gst-plugins-base, I just won't. Sorry for the noise.
 
Old 11-03-2019, 12:05 AM   #8
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, Manjaro (for gaming)
Posts: 209

Rep: Reputation: 147Reputation: 147
Hey Didier, your problem is your libdrm in your distro. That's where that is defined, in xf86drmMode.h, included in gstgl_gbm_utils.h, included in gstgl_gbm_utils.c

You would need to upgrade your libdrm.

P.S. This would happen to you on Slackware 14.2 as well, if trying to upgrade gst-plugins-base

Last edited by TheRealGrogan; 11-03-2019 at 12:22 AM.
 
1 members found this post helpful.
Old 11-03-2019, 07:57 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,051

Original Poster
Rep: Reputation: Disabled
Hey TheRealGrogan you're right, in xf86drmMode.h from drm-2.4.100 there is this line:
Code:
#define DRM_MODE_CONNECTOR_DPI          17
but not in drm-2.4.68, huge thanks!

However I won't upgrade libdrm now, as that would need to upgrade other packages of the x series. I'd better spend my time on enhancing Slint's installer and documentation. Alternatively I could include the definition in gstgl_gbm_utils.h, but that'd be ugly.

This not withstanding I mark this thread as SOLVED.

Last edited by Didier Spaier; 11-03-2019 at 07:59 AM.
 
Old 11-03-2019, 03:14 PM   #10
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, Manjaro (for gaming)
Posts: 209

Rep: Reputation: 147Reputation: 147
When you're making packages for other people (especially for a distro where you're trying to keep compatibility with a parent) yeah, you have to do things the right way. For your own use you can do whatever silly workarounds you want, your usage might not even hit those code paths. Putting in a #define is usually better than deleting lines willy nilly though, which can make a program segfault :-)

I personally just do things for my own use, most always.
 
Old 11-03-2019, 06:36 PM   #11
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,051

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TheRealGrogan View Post
Putting in a #define is usually better than deleting lines willy nilly though, which can make a program segfault :-)
Yeah, but I'd have to remove that if/when that conflicts with an upstream change. One more thing I'd have to remember...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] gstreamer-plugins-base conflicts with gstreamer-plugins-good Raveolution Linux - Software 14 11-17-2009 01:24 PM
The error of compile gst-plugin-base-0.10.22 jeazh Linux - Newbie 3 05-13-2009 02:11 PM
error in gst-plugins-base-0.10.22 for GNOME sumeet inani Linux - Newbie 0 03-17-2009 12:27 AM
installing gst-base-plugins ankscorek Linux - Software 1 01-18-2007 04:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration