[dev] [sxiv] doesn't want to be compiled

From: Cág <ca6c_AT_bitmessage.ch>
Date: Sat, 07 Oct 2017 13:55:42 +0100

Hi,

I feel a bit stupid right now. The output is:

---
LINK sxiv
/usr/local/lib/libImlib2.so.6.0: warning: warning: strcpy() is almost always misused, please use strlcpy()
/usr/local/lib/libImlib2.so.6.0: warning: warning: sprintf() is often misused, please use snprintf()
/usr/X11R6/lib/libX11.so.16.1: warning: warning: strcat() is almost always misused, please use strlcat()
/usr/lib/crt0.o: In function `_start':
(.text+0x5a): undefined reference to `main'
collect2: ld returned 1 exit status
*** Error 1 in /home/caoc/code/suckless/sxiv (Makefile:30 'sxiv': cc  -L/usr/X11R6/lib -L/usr/local/lib -o sxiv  -lImlib2 -lX11 -lXft -lgif ...)
---
I modified config.mk and Makefile (they are attached), so OpenBSD's make
can start at least. Someone please take a glance with fresh eyes.
Thanks
--
caóc




Received on Sat Oct 07 2017 - 14:55:42 CEST

This archive was generated by hypermail 2.3.0 : Sat Oct 07 2017 - 15:00:17 CEST