Stealth wrote:What were the errors anyway?
What version of gcc is installed?
Hello. Thanks for the response.
The compile error.
ircd.o(.text+0xc92): In function `main':
/usr/local/irc/Unreal3.2/src/ircd.c:1239: undefined reference to `tre_version'
collect2: ld returned 1 exit status
*** Error code 1
Stop in /usr/local/irc/Unreal3.2/src (line 66 of Makefile).
*** Error code 1
Stop in /usr/local/irc/Unreal3.2 (line 146 of Makefile).
# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-unknown-openbsd4.1/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)
FROM THE Unreal3.2/src/Makefile
all: build
build: ircd mods
custommodule:
cd modules; $(MAKE) MODULEFILE=$(MODULEFILE) 'EXLIBS=$(EXLIBS)' custommodule
ircd: $(OBJS)
Line 66----> $(CC) $(CFLAGS) $(CRYPTOLIB) -o ircd $(OBJS) $(LDFLAGS) $(IRCDLIBS) $(CRYPTOLIB)
staticircd: $(OBJS)
$(CC) $(CFLAGS) $(CRYPTOLIB) -DSTATIC_LINKING -o ircd.static $(OBJS) \
modules/l_commands.c \
modules/m_sethost.c \
modules/m_chghost.c \
modules/m_chgident.c \
FROM THE /Unreal3.2/Makefile
server:
build:
-@if [ ! -f include/setup.h ] ; then \
echo "Hmm...doesn't look like you've run Config..."; \
echo "Doing so now."; \
sh Config; \
LINE 146-----> fi
@for i in $(SUBDIRS); do \
echo "Building $$i";\
( cd $$i; ${MAKE} ${MAKEARGS} build; ) \
done