[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

hi,

trying to compile `st' under osx fails with:

8<----------------------------------------------------
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
-lfontconfig
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]’)
8<----------------------------------------------------

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

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

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,
joerg

-- 
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