LinuxQuestions.org
Help answer threads with 0 replies.
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 07-07-2014, 06:56 AM   #1
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Rep: Reputation: 90
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?
 
Old 07-07-2014, 07:05 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,816

Rep: Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889Reputation: 1889
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.
 
Old 07-07-2014, 07:08 AM   #3
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
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.
 
Old 07-07-2014, 07:25 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,385

Rep: Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356
are you by any chance missing the kernel-source package?
 
Old 07-07-2014, 07:27 AM   #5
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
I have kernel-source-2.6.35.10-noarch-1 installed, but recompiled a custom kernel-3.15.3.
 
Old 07-07-2014, 07:29 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,385

Rep: Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356
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.
Old 07-07-2014, 07:35 AM   #7
ml4711
Member
 
Registered: Aug 2012
Location: Ryomgård, Danmark
Distribution: Slackware64
Posts: 146

Rep: Reputation: 103Reputation: 103
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.
Old 07-07-2014, 07:36 AM   #8
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
Thanks Ponce, I will give that a try.

But shouldn't my kernel-3.15.3 sources be automagically detected?
 
Old 07-07-2014, 07:45 AM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,385

Rep: Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356
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.
 
Old 07-07-2014, 07:48 AM   #10
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
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?
 
Old 07-07-2014, 07:52 AM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,385

Rep: Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356Reputation: 4356
Alien's wiki - Building a Linux Kernel from source - Slackware kernel-headers package

Last edited by ponce; 07-07-2014 at 07:54 AM.
 
Old 07-07-2014, 07:57 AM   #12
ml4711
Member
 
Registered: Aug 2012
Location: Ryomgård, Danmark
Distribution: Slackware64
Posts: 146

Rep: Reputation: 103Reputation: 103
kernel-headers should be those glibc is build against,
so You should upgrade kernel-headers
 
Old 07-07-2014, 08:07 AM   #13
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current, SlackwareARM-15.0
Posts: 833

Original Poster
Rep: Reputation: 90
Code:
...
Slackware package /tmp/vte3-0.36.3-x86_64-1_SBo.tgz created.
Sweet

Thanks! Learned something again!
 
  


Reply

Tags
vte3 sbo


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
Trying to compile Robby's networkmanager-openconnect from SBO fails. vdemuth Slackware 10 06-02-2013 06:52 AM
[SOLVED] SBo-Webkit does not compile on current; inkscape need gcc-4.8 patched source brobr Slackware 4 04-03-2013 09:38 AM
Nvidia-driver.SlackBuild from SBo (or: I am a bad and sloppy SBo maintainer) kingbeowulf Slackware 8 08-31-2012 03:41 AM
[SOLVED] Digikam from SBo does not compile on 64-current of 2010-03-09 gargamel Slackware 10 03-21-2010 06:28 PM
Slackware64, trying to compile wine with SBo suid0 Slackware 6 05-27-2009 10:48 AM

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

All times are GMT -5. The time now is 04:47 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
Open Source Consulting | Domain Registration