Page 1 of 1
cant compile unreal on bsd 4.9
Posted: Mon Aug 23, 2004 4:06 am
by Greg
ive had it compiled before, but i tried to recompile it and i get this error
/usr/local/lib/libtre.so: undefined reference to `libintl_gettext'
*** Error code 1
Stop in /usr/home/Greg/Unreal3.2/src.
*** Error code 1
Stop in /usr/home/Greg/Unreal3.2.
$
Posted: Mon Aug 23, 2004 6:36 am
by Ron2K
Did you remember to use gmake instead of make?
Posted: Mon Aug 23, 2004 4:01 pm
by codemastr
Open up makefile find -ltre and add -lintl after it. Then run make.
.
Posted: Tue Aug 24, 2004 5:26 pm
by Greg
ok i did that, but now i get a diffrent error
ircd.o: In function `main':
/usr/home/ircd/Unreal3.2/src/ircd.c:1200: undefined reference to `tre_version'
gmake[1]: *** [ircd] Error 1
gmake[1]: Leaving directory `/usr/home/ircd/Unreal3.2/src'
gmake: *** [build] Error 2
btw, does the first error have anything to do with the options i set in ./Config ?
Did you fix this?
Posted: Mon Jun 11, 2007 5:44 pm
by entrex
Was this ever resolved?
I'm having the same problem...
ipe -g -O2 -funsigned-char -fno-strict-aliasing -export-dynamic -lssl -lcrypto -o ircd timesynch.o res.o s_bsd.o auth.o aln.o channel.o cloak.o crule.o dbuf.o events.o fdlist.o hash.o help.o ircd.o ircsprintf.o list.o lusers.o match.o modules.o packet.o parse.o s_auth.o s_conf.o s_debug.o s_err.o s_extra.o s_kline.o s_misc.o s_numeric.o s_serv.o s_svs.o socket.o ssl.o s_user.o charsys.o scache.o send.o support.o umodes.o version.o whowas.o zip.o cidr.o random.o extcmodes.o extbans.o md5.o api-isupport.o api-command.o -lcares -lssl -lcrypto
ircsprintf.o(.text+0x98): In function `ircvsprintf':
/home/ircd/Unreal3.2/src/ircsprintf.c:434: warning: vsprintf() is often misused, please use vsnprintf()
timesynch.o(.text+0x4f1): In function `unreal_time_synch':
/home/ircd/Unreal3.2/src/timesynch.c:208: warning: strcpy() is almost always misused, please use strlcpy()
auth.o(.text+0xcb9): In function `Auth_Make':
/home/ircd/Unreal3.2/src/auth.c:741: warning: sprintf() is often misused, please use snprintf()
channel.o(.text+0x18e0): In function `channel_modes':
/home/ircd/Unreal3.2/src/channel.c:984: warning: strcat() is almost always misused, please use strlcat()
ircd.o(.text+0xc92): In function `main':
/home/ircd/Unreal3.2/src/ircd.c:1239: undefined reference to `tre_version'
collect2: ld returned 1 exit status
gmake[1]: *** [ircd] Error 1
gmake[1]: Leaving directory `/home/ircd/Unreal3.2/src'
gmake: *** [build] Error 2
-bash-3.2$
Anyone have any ideas?
Hello
Posted: Wed Jun 13, 2007 4:02 pm
by elskwi
It s my first post \o/
Maybe you need to install
tre-0.7.x
So i think this is just a win32 compiling directive
I have just put // and comment this line
after i use make and everything seems allright
Posted: Wed Jun 13, 2007 6:52 pm
by entrex
Thanks for your reply.
TRE is already installed.
I did comment it out and it seemed to compile fine but the IRCd still won't correctly start. It's not spitting out any errors. I'm going to further investgate and try to recompile it again.
Re entrex
Posted: Thu Jun 14, 2007 12:08 am
by elskwi
i have this trouble with Open BSD 4.1
it uses tre 0.7.5... and doesn t compile
First i have tryed to comment line
after compile unreal works but shutdown suddenly with no log.
( i suppose that bug is issue of tre version )
else i have downgraded to bsd 4.0 because i thought new system can cause troubles.
Open bsd 4.0 use tre0.7.2 GPL
i will try to install Open bsd 4.1 again and change to tre to 0.7.2 or find a solution to keep two libs with differents versions without conflict
It very strange fonction like tre_version doesn t work successfully
Maybe Unrealircd installation kit doesn t work with last tre
So i have done more searchs and in directory extras there is
Code: Select all
tre.tar tre.tar.gz tre-0.7.2 tre.tar.gz.bak
It seems this is a trouble of compatibility based on tre version
And where are no-regression tests ?
Posted: Thu Jun 21, 2007 7:25 pm
by entrex
I've had to rebuild my IRC server with Fedora Core 7
bump bump bump.
Re: cant compile unreal on bsd 4.9
Posted: Tue Feb 12, 2008 3:32 am
by WolfSage
I believe the fix at:
http://forums.unrealircd.com/viewtopic. ... 621#p25412
takes care of the problem. If not - let me know.
Cheers.