Sehr geehrte Damen und Herren,

 

ich versuchte vorhin ptxdist auf meiner frischen gentoo-Installation zu kompilieren und habe Probleme mit der Bibliothek curses, so wie es scheint. Am Ende von ./configure steht Ihre E-Mail-Adresse, weswegen ich mich an Sie wende.

Um dem Problem Herr zu werden, habe ich ins Makefile das Compilerflag -ltinfo aufgenommen. So konnte make weitere 2 Objektdateien erzeugen. Sie können dies nachvollziehen anhand des Logs der bash.

Ich frage mich nun, wie wir das Problem lösen können. Ein deutlich erfahrenerer gentoo-Nutzer aus dem freenode-IRC vermutet, dass das -ltinfo flag noch an einer weiteren Stelle fehlt. Stimmt das?

Über Ihre Hilfe freue ich mich sehr, vielen Dank dafür im Voraus!

 

 

 

 

 

 

j@gentoo64 ~/ptxdist-2016.04.0 $ ./configure

checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking for ptxdist patches... yes

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking how to run the C preprocessor... gcc -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking regex.h usability... yes

checking regex.h presence... yes

checking for regex.h... yes

checking for library containing regcomp... none required

checking for library containing mvaddch... -lcurses

checking curses.h usability... yes

checking curses.h presence... yes

checking for curses.h... yes

checking menu.h usability... yes

checking menu.h presence... yes

checking for menu.h... yes

checking whether #! works in shell scripts... yes

checking for bash... /bin/bash

checking for gsed... no

checking for sed... /bin/sed

checking sed version... 4.8

checking for GNU cat... /bin/cat

checking for GNU chmod... /bin/chmod

checking for GNU chown... /bin/chown

checking for GNU cp... /bin/cp

checking for GNU dirname... /usr/bin/dirname

checking for GNU install... /usr/bin/install

checking for GNU ln... /bin/ln

checking for GNU md5sum... /usr/bin/md5sum

checking for GNU mkdir... /bin/mkdir

checking for GNU mknod... /bin/mknod

checking for GNU mktemp... /usr/bin/mktemp

checking for GNU mv... /bin/mv

checking for GNU readlink... /usr/bin/readlink

checking for GNU rm... /bin/rm

checking for GNU rmdir... /bin/rmdir

checking for GNU sort... /usr/bin/sort

checking for GNU stat... /usr/bin/stat

checking for GNU touch... /usr/bin/touch

checking for GNU tty... /usr/bin/tty

checking for GNU tar... /bin/tar

checking for GNU find... /usr/bin/find

checking for GNU xargs... /usr/bin/xargs

checking for egrep... (cached) /bin/grep -E

checking for gawk... gawk

checking for gawk... /usr/bin/gawk

checking awk version... 5.0.1, API: 2.0

checking for sysctl... /usr/sbin/sysctl

checking for flex... flex

checking lex output file root... lex.yy

checking lex library... -lfl

checking whether yytext is a pointer... yes

checking for flex... /usr/bin/flex

checking for bison... bison -y

checking for bison... /usr/bin/bison

checking whether yacc is bison++... no, this is good

checking yacc/bison version... 3.1

checking for makeinfo... /usr/bin/makeinfo

checking for bunzip2... /bin/bunzip2

checking for gunzip... /bin/gunzip

checking for gunzip... /bin/gunzip

checking for wget... /usr/bin/wget

checking find version... 4.7.0

checking for gmake... /usr/bin/gmake

./configure: line 5596: test: 4.2: integer expression expected

checking for file... /usr/bin/file

checking for msgfmt... /usr/bin/msgfmt

checking for sphinx-build... no

configure: sphinx not found, required to build the documentation

checking for rst2man... no

checking for python2... /usr/bin/python2

checking Python version... 2.7.18

checking whether /usr/bin/python2 finds distutils... yes

checking whether Python development files are present... yes

checking for patch... /usr/bin/patch

checking whether /usr/bin/patch will work... yes

 

configure: creating ./config.status

config.status: creating Makefile

 

ptxdist version 2016.04.0 configured.

Using '/usr/local' for installation prefix.

 

Report bugs to ptxdist@pengutronix.de

 

j@gentoo64 ~/ptxdist-2016.04.0 $ make

building conf and mconf ...

make[1]: Entering directory '/home/j/ptxdist-2016.04.0/scripts/kconfig'

make[1]: 'conf' is up to date.

gcc mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o  -o mconf -lcurses

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: lxdialog/util.o: undefined reference to symbol 'nodelay'

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make[1]: *** [Makefile:58: mconf] Error 1

make[1]: Leaving directory '/home/j/ptxdist-2016.04.0/scripts/kconfig'

make: *** [Makefile:29: kconfig] Error 2

j@gentoo64 ~/ptxdist-2016.04.0 $ vim Makefile

j@gentoo64 ~/ptxdist-2016.04.0 $ make

building conf and mconf ...

make[1]: Entering directory '/home/j/ptxdist-2016.04.0/scripts/kconfig'

make[1]: 'conf' is up to date.

gcc mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/inputbox.o lxdialog/menubox.o lxdialog/textbox.o lxdialog/util.o lxdialog/yesno.o  -o mconf -ltinfo -lcurses

gcc -g -O2  -DCURSES_LOC="<curses.h>" -DKBUILD_NO_NLS -DPACKAGE='"ptxdist"' -DCONFIG_='"PTXCONF_"' -c nconf.c -o nconf.o

gcc -g -O2  -DCURSES_LOC="<curses.h>" -DKBUILD_NO_NLS -DPACKAGE='"ptxdist"' -DCONFIG_='"PTXCONF_"' -c nconf.gui.c -o nconf.gui.o

gcc nconf.o zconf.tab.o nconf.gui.o  -o nconf -lncurses -lmenu -lpanel

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: nconf.o: undefined reference to symbol 'curs_set'

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make[1]: *** [Makefile:61: nconf] Error 1

make[1]: Leaving directory '/home/j/ptxdist-2016.04.0/scripts/kconfig'

make: *** [Makefile:29: kconfig] Error 2

j@gentoo64 ~/ptxdist-2016.04.0 $ vim Makefile

j@gentoo64 ~/ptxdist-2016.04.0 $ make

building conf and mconf ...

make[1]: Entering directory '/home/j/ptxdist-2016.04.0/scripts/kconfig'

make[1]: 'conf' is up to date.

make[1]: 'mconf' is up to date.

gcc nconf.o zconf.tab.o nconf.gui.o  -o nconf -lncurses -lmenu -lpanel

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: nconf.o: undefined reference to symbol 'curs_set'

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line

collect2: error: ld returned 1 exit status

make[1]: *** [Makefile:61: nconf] Error 1

make[1]: Leaving directory '/home/j/ptxdist-2016.04.0/scripts/kconfig'

make: *** [Makefile:29: kconfig] Error 2

j@gentoo64 ~/ptxdist-2016.04.0 $

 

 

 

 

 

 

 

 

 

Mit freundlichen Grüßen

 

Jens Herbert

Entwicklung

 

Telefon

+49 911 37704 179

Fax

+49 911 37704 150

E-Mail

j.herbert@mikrolab.com

Internet

www.mikrolab.com

 

 

mikrolab ENTWICKLUNGSGESELLSCHAFT FÜR ELEKTRONIKSYSTEME mbH
Dieter-Streng-Str. 1 - 90766 Fürth - Germany
Sitz: Fürth HRB 8192 - Ust.(VAT) IdNr. DE133529384
Geschäftsführer: Dr. Christian Kägeler, Dr. Julia Koehl

 

Die Informationspflicht gem. DS-GVO finden Sie unter:

www.mikrolab.com/home/unternehmen/datenschutzhinweise.html