[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems building gnu emacs
I've just installed OpenBSD 2.1 from the CD, and have been attempting
to build gnu emacs out of the ports collection. The ports collection
uses version 19.34b and fails in two ways:
1) (minor and easily fixable) CURRENT_USER needs to be defined in fakemail.c
2) When linking temacs, the link fails with the error:
ld: No reference to __DYNAMIC
This error can be supressed by adding the -Bstatic flag to the link options,
but then the following errors result instead:
fileio.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
callproc.o: warning: mktemp() possibly used unsafely; consider using mkstemp()
verr.o: Undefined symbol `___progname' referenced from text segment
syslog.o: Undefined symbol `___progname' referenced from text segment
vwarnx.o: Undefined symbol `___progname' referenced from text segment
vwarn.o: Undefined symbol `___progname' referenced from text segment
I wondered if this problem was related to the fact that 19.34b is a beta
version, so I tried building version 19.31 (the only other complete sources
I had lying around), but this fails in exactly the same way.
Does anyone have a clue what's wrong/what I'm doing wrong?
corwin