Gentoo Archives: gentoo-user

From: tuxic@××××××.de
To: Gentoo <gentoo-user@l.g.o>
Subject: [gentoo-user] Constant compile error with different programs
Date: Mon, 24 Feb 2020 17:09:58
Message-Id: 20200224170946.dp7pky7c2rxnf355@solfire
1 Hi,
2
3 currently I am playing around with gopher and want to compile
4 a gopher client myself, which is not lynx.
5
6 Unfortunately, the three I tried to compile myself fail to compile all
7 with similiar symptoms like this:
8
9 gcc -g -O2 -Wall -I.. -I.. -I../object -DNOBANNER -DCTRLCPROMPTS -DCONTROLX -DGOPHERLIB=\"/etc\" -DGOPHERHELP=\"/etc/gopher.hlp\" -DGLOBALRC=\"/etc/gopher.rc\" -DREMOTERC=\"/etc/gopherremote.rc\" -c upload.c
10 gcc -L../object -o gopher manager.o gopher.o globals.o ourutils.o cso.o subprocs.o html2.o CURcurses.o gopherrc.o download.o pager.o form.o upload.o ../object/libgopher.a -lcurses -lcurses -lm
11 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CURcurses.o: undefined reference to symbol 'nodelay'
12 /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
13 collect2: error: ld returned 1 exit status
14 make[1]: *** [Makefile:152: gopher] Error 1
15
16 It seems something wrong with my *curses* installation, which is
17 missing symbols which are identified while linking.
18
19 Is there any chance to compile such programs successfully?
20 What could be the reason for this?
21
22 Cheers!
23 mcc

Replies

Subject Author
[gentoo-user] Re: Constant compile error with different programs Ian Zimmerman <itz@××××××××××××.org>