Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-07-2014, 06:56 AM
|
#1
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Rep:
|
vte3 compile from SBo fails
Hi,
when upgrading vte3 (using either sbopkg or straight from SBo) the compilation fails with the following error:
Code:
CC libvte2_90_la-vteutils.lo
vteutils.c: In function '_vte_mkstemp':
vteutils.c:90:71: error: 'FS_NOCOW_FL' undeclared (first use in this function)
flags |= FS_SECRM_FL | FS_NOATIME_FL | FS_NOCOMP_FL | FS_NOCOW_FL | FS_NODUMP_FL;
^
vteutils.c:90:71: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [libvte2_90_la-vteutils.lo] Error 1
make[3]: Leaving directory `/tmp/SBo/vte-0.36.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/vte-0.36.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/vte-0.36.3'
make: *** [all] Error 2
make all-recursive
make[1]: Entering directory `/tmp/SBo/vte-0.36.3'
Making all in src
make[2]: Entering directory `/tmp/SBo/vte-0.36.3/src'
make all-am
make[3]: Entering directory `/tmp/SBo/vte-0.36.3/src'
CC libvte2_90_la-vteutils.lo
vteutils.c: In function '_vte_mkstemp':
vteutils.c:90:71: error: 'FS_NOCOW_FL' undeclared (first use in this function)
flags |= FS_SECRM_FL | FS_NOATIME_FL | FS_NOCOMP_FL | FS_NOCOW_FL | FS_NODUMP_FL;
^
vteutils.c:90:71: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [libvte2_90_la-vteutils.lo] Error 1
make[3]: Leaving directory `/tmp/SBo/vte-0.36.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/vte-0.36.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/vte-0.36.3'
make: *** [all] Error 2
Google wasn't of any help, and I can't figure out what is wrong (besides that 'FS_NOCOW_FL' is undeclared, but that doesn't mean much to me).
Any pointers?
|
|
|
07-07-2014, 07:05 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816
|
Just tested here on my VM and it's working fine
Quote:
SUMMARY LOG
Using the SBo repository for Slackware 14.1
Queue Process: Download and build
vte3:
MD5SUM check for vte-0.36.3.tar.xz ... OK
Building package vte3-0.36.3-x86_64-1_SBo.tgz ... OK
|
Do you have a full installation of Slackware 14.1?
Last edited by willysr; 07-07-2014 at 07:06 AM.
|
|
|
07-07-2014, 07:08 AM
|
#3
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Original Poster
Rep:
|
I have a full install, but current instead of 14.1.
Could that be the reason?
EDIT: @willysr: I wasn't suggesting there was anything wrong with the Slackbuild. I know one can always rely on your scripts.
I get the same error message when doing the manual configure/make thing.
Last edited by BroX; 07-07-2014 at 07:15 AM.
|
|
|
07-07-2014, 07:25 AM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,385
|
are you by any chance missing the kernel-source package?
|
|
|
07-07-2014, 07:27 AM
|
#5
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Original Poster
Rep:
|
I have kernel-source-2.6.35.10-noarch-1 installed, but recompiled a custom kernel-3.15.3.
|
|
|
07-07-2014, 07:29 AM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,385
|
I think you must upgrade your kernel-source (and probably also kernel-headers) package to the one of -current.
Last edited by ponce; 07-07-2014 at 07:32 AM.
|
|
1 members found this post helpful.
|
07-07-2014, 07:35 AM
|
#7
|
Member
Registered: Aug 2012
Location: Ryomgård, Danmark
Distribution: Slackware64
Posts: 146
Rep:
|
That symbol is defined in
/usr/include/linux/fs.h from kernel-headers-3.14.5-x86-1.txz
Is this one installed?
|
|
1 members found this post helpful.
|
07-07-2014, 07:36 AM
|
#8
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Original Poster
Rep:
|
Thanks Ponce, I will give that a try.
But shouldn't my kernel-3.15.3 sources be automagically detected?
|
|
|
07-07-2014, 07:45 AM
|
#9
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,385
|
no, because as ml4711 said (and as I just checked) the symbol FS_NOCOW_FL is defined in that file from the kernel-headers package and that is looked for in src/vteutils.c
Code:
#include <linux/fs.h>
so you need the kernel-headers package, not the kernel-source (that contains the same file but doesn't place it in /usr/include/linux/fs.h) as I first stated.
and you have to use the kernel-headers package your toolchain (glibc/gcc) has been built with (the versions in -current), you cannot upgrade it to a newer one derived from your custom built kernel.
Last edited by ponce; 07-07-2014 at 07:50 AM.
|
|
|
07-07-2014, 07:48 AM
|
#10
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Original Poster
Rep:
|
Thanks ml4711,
Code:
$ grep FS_NOCOW_FL /usr/include/linux/fs.h
$
Apparently that symbol has been removed in later kernels?
Isn't upgrading kernel headers (the package) going to give a mess since I am running another kernel version?
|
|
|
07-07-2014, 07:52 AM
|
#11
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,385
|
Last edited by ponce; 07-07-2014 at 07:54 AM.
|
|
|
07-07-2014, 07:57 AM
|
#12
|
Member
Registered: Aug 2012
Location: Ryomgård, Danmark
Distribution: Slackware64
Posts: 146
Rep:
|
kernel-headers should be those glibc is build against,
so You should upgrade kernel-headers
|
|
|
07-07-2014, 08:07 AM
|
#13
|
Member
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833
Original Poster
Rep:
|
Code:
...
Slackware package /tmp/vte3-0.36.3-x86_64-1_SBo.tgz created.
Sweet
Thanks! Learned something again!
|
|
|
All times are GMT -5. The time now is 04:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|