Actions
Bug #3334
closedports-mgmt/dialog4ports fails linking
Description
When trying to build I get:
===> Applying ports patches for dialog4ports-0.1.6_1 from /usr/dports/ports-mgmt/dialog4ports/files/usr/bin/sed
-mgmt/dialog4ports/dialog4ports-0.1.6/Makefile
===> Configuring for dialog4ports-0.1.6_1
===> Building for dialog4ports-0.1.6_1
--
--- mixedlist.o ---
--- dialog4ports.1.gz ---
--- dialog4ports.o ---
cc
--
cc
--
gzip
--
mixedlist.c: In function 'dlg_mixedlist':
mixedlist.c:344:7: warning: implicit declaration of function 'MAX' [-Wimplicit-function-declaration]
MAX);
^~
mixedlist.c:395:15: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
max_choice = MIN;
^~
--- dialog4ports ---
cc -pipe -I/usr/include/priv/ncurses -O2 -fno-strict-aliasing -Wall -pedantic dialog4ports.o mixedlist.o -o dialog4ports -rpath /lib/priv -L/usr/lib/priv -lprivate_ncursesw -lm -ldialog
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MAX'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MIN'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MAX'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MAX'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MIN'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MIN'
collect2: error: ld returned 1 exit status
- [dialog4ports] Error code 1
- uname -a
DragonFly probe2 6.3-DEVELOPMENT DragonFly v6.3.0.373.g81a8d1-DEVELOPMENT #1: Tue Dec 6 11:07:13 EET 2022 arcade@probe2:/usr/obj/usr/src/sys/DMIN x86_64
Actions