[dev] [st] Problem linking in OpenBSD

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Tue, 8 Jul 2014 22:45:15 +0200


        After the patch 0015e198bfc (Making surf compile again with rt),
I cannot compile st in OpenBSD:

$ make
st build options:
CFLAGS = -O2 -pipe -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os -I. -I/usr/include -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -DVERSION="0.5" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
LDFLAGS = -g -L/usr/lib -lc -L/usr/X11R6/lib -lm -lrt -lX11 -lutil -lXext -lXft -L/usr/X11R6/lib -lfontconfig -L/usr/X11R6/lib -lfreetype -lz
CC = cc
CC -o st
/usr/bin/ld: cannot find -lrt
collect2: ld returned 1 exit status
*** Error 1 in /home/k0ga/src/others/st (Makefile:28 'st': _AT_cc -o st st.o -g -L/usr/lib -lc -L/usr/X11R6/lib -lm -lrt -lX11 -lutil -lXext -...)

I could see a similar problem in [1]. Do someone have the same problem?


[1] http://mail.tarsnap.com/kivaloo/msg00004.html
Roberto E. Vargas Caballero
Received on Tue Jul 08 2014 - 22:45:15 CEST

This archive was generated by hypermail 2.3.0 : Tue Jul 08 2014 - 22:48:11 CEST