[dev] st compile fails under osx 10.6.8.

From: j. v. d. hoff <veedeehjay_AT_googlemail.com>
Date: Tue, 01 Jan 2013 16:19:46 +0100


trying to compile `st' under osx fails with:

st build options:
CFLAGS = -g -std=c99 -pedantic -Wall -Os -I. -I/usr/include
-I/usr/X11R6/include -I/opt/local/include/freetype2 -DVERSION="0.3"
LDFLAGS = -g -L/usr/lib -lc -L/usr/X11R6/lib -lX11 -lutil -lXext -lXft
CC = cc
CC st.c
In file included from st.c:261:
config.h:68: error: ‘selpaste’ undeclared here (not in a function)
config.h:69: error: ‘numlock’ undeclared here (not in a function)
config.h:106: warning: excess elements in struct initializer
config.h:106: warning: (near initialization for ‘key[0]’)

... and so on for the other keys (up to 189) and terminates with:

st.c: In function ‘xdraws’:
st.c:2390: warning: comparison is always true due to limited range of data
make: *** [st.o] Error 1

as can be seen I fixed the include path for `freetype2' but something else
is wrong. could someone point me in the right direction where to look?

thx in advance,

Using Opera's revolutionary email client: http://www.opera.com/mail/
Received on Tue Jan 01 2013 - 16:19:46 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 01 2013 - 16:24:04 CET