LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 03-27-2019, 03:52 AM   #1
joakim12
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82

Rep: Reputation: 15
libevdev 1.6.0 make error BLFS 8.4


Hei!

I'm having make error in libevdev 1.6.0:

Code:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libevdev/Makefile
config.status: creating doc/Makefile
config.status: creating doc/libevdev.doxygen
config.status: creating doc/libevdev.man
config.status: creating tools/Makefile
config.status: creating test/Makefile
config.status: creating libevdev.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

               Prefix                           /usr
               Libdir                           ${exec_prefix}/lib

               Build documentation              yes
               Enable unit-tests                yes
               Enable profiling                 no
               Static library symbol check      no - static build disabled

lfs [ ~/BLFS/xc/XOrg Drivers/libevdev-1.6.0 ]$ make
make --no-print-directory all-recursive
Making all in doc
  GEN      html/index.html
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
make[2]: *** [Makefile:555: html/index.html] Error 1
make[1]: *** [Makefile:482: all-recursive] Error 1
make: *** [Makefile:391: all] Error 2
lfs [ ~/BLFS/xc/XOrg Drivers/libevdev-1.6.0 ]$
What is the problem?
 
Old 03-30-2019, 12:31 PM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by joakim12 View Post
Hei!

I'm having make error in libevdev 1.6.0:

Code:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libevdev/Makefile
config.status: creating doc/Makefile
config.status: creating doc/libevdev.doxygen
config.status: creating doc/libevdev.man
config.status: creating tools/Makefile
config.status: creating test/Makefile
config.status: creating libevdev.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

               Prefix                           /usr
               Libdir                           ${exec_prefix}/lib

               Build documentation              yes
               Enable unit-tests                yes
               Enable profiling                 no
               Static library symbol check      no - static build disabled

lfs [ ~/BLFS/xc/XOrg Drivers/libevdev-1.6.0 ]$ make
make --no-print-directory all-recursive
Making all in doc
  GEN      html/index.html
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
make[2]: *** [Makefile:555: html/index.html] Error 1
make[1]: *** [Makefile:482: all-recursive] Error 1
make: *** [Makefile:391: all] Error 2
lfs [ ~/BLFS/xc/XOrg Drivers/libevdev-1.6.0 ]$
What is the problem?
You are going to need to give us a little more then this, I see you are using LLVM and the book uses GCC, I would see if GCC compiles this first.
 
Old 03-30-2019, 12:54 PM   #3
joakim12
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82

Original Poster
Rep: Reputation: 15
I used books commands. I do not know how to make it use GCC instead of LLVM.
 
Old 03-30-2019, 01:03 PM   #4
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
http://www.linuxfromscratch.org/lfs/.../packages.html

LLVM is not a compiler that is used in LFS...

Did you use the root or chroot method? What chapter are you on?

Quote:
LLVM ERROR: inconsistency in registered CommandLine options
This tells me that you aren't using the books instructions, because the books compiler is GCC not LLVM

Also BLFS doesnt seem to have a libedev...

http://www.linuxfromscratch.org/blfs/view/stable/

Last edited by /dev/random; 03-30-2019 at 01:06 PM. Reason: Added BLFS info
 
Old 03-30-2019, 01:34 PM   #5
joakim12
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82

Original Poster
Rep: Reputation: 15
LLVM is installed in BLFS

I tried both chroot and in LFS. Always the same error.

libevdev is in Xorg Drivers page.

Last edited by joakim12; 03-30-2019 at 01:42 PM.
 
Old 03-30-2019, 07:37 PM   #6
joakim12
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82

Original Poster
Rep: Reputation: 15
I tried to use CC variable this way:

Code:
CC=gcc ./configure $XORG_CONFIG
and

Code:
root [ /home/lfs/BLFS/xc/XOrg Drivers/libevdev-1.6.0 ]# CC=gcc make
make --no-print-directory all-recursive
Making all in doc
  GEN      html/index.html
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
make[2]: *** [Makefile:555: html/index.html] Error 1
make[1]: *** [Makefile:482: all-recursive] Error 1
make: *** [Makefile:391: all] Error 2
, but error is the same.
 
Old 03-31-2019, 11:10 AM   #7
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: Linux-from-Scratch
Posts: 108

Rep: Reputation: Disabled
I seem to recall seeing an error like this but i can't find it in my notes. I think if you built doxygen with llvm support (intentionally or not?) you might get an error like that - i remember it was a weird error.

Try (re)building doxygen with "-Duse_libclang=OFF" if you built it. If not, i would try disabling building the documention in libevdev and see what happens.
 
Old 04-01-2019, 08:29 AM   #8
joakim12
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82

Original Poster
Rep: Reputation: 15
How to use -Duse_libclang=OFF?

I tried to put it in CC, CFLAGS and LDFLAGS, but nothing happens.

How to disable building documentation?

I tried --disable-doc and --disable-docs in configure script, but still the sama error.
 
Old 04-01-2019, 08:40 AM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,583
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Doxygen is built with cmake, not configure, so the way you give arguments is different. Bryan_S has given you the correct syntax. Go back to the doxygen chapter, use the arguments in the book and then add -Duse_libclang=OFF at the end.

libevdev is built with configure, so ./configure --help should give you instructions on how to disable building the documentation.
 
Old 04-01-2019, 09:11 AM   #10
joakim12
Member
 
Registered: Nov 2003
Location: Estonia
Distribution: Ubuntu 18.04
Posts: 82

Original Poster
Rep: Reputation: 15
Thank You.

Adding -Duse_libclang=OFF at the end of cmake command solved the problem. But the .configure --help does not offer any help on disabling the documantation building in libevdev.
 
  


Reply



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
evdev_drv.so cannot find libevdev.so even though it is installed and shows up in ldconfig udiboy1209 Linux From Scratch 5 10-16-2017 07:58 AM
BLFS libxcb-1.9.3 make error Rodano Linux From Scratch 14 12-05-2013 11:03 AM
blfs + dpkg make error! :( k84834 Linux From Scratch 2 11-18-2012 02:28 AM
BLFS OpenLDAP-2.4.32 make test error kkt Linux From Scratch 4 10-27-2012 06:40 AM
BLFS 6.1: Gnome-vfs-2.10.1 make error Lenard Spencer Linux From Scratch 1 08-29-2006 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:28 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