DALnet-src
Threads by month
- ----- 2025 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
January 2020
- 1 participants
- 1 discussions
Hello.
I am unable to build bahamut-2.1.4 from source if I pass
--disable-openssl to configure. It configures, but fails on the make
phase. I am using irc for a ham radio project that does not require ssl.
Builds with ssl enabled work fine with some of the same compiler
warnings, but does not build with it disabled. The output is below.
Thank you.
Building src
make[1]: Entering directory '/root/b/bahamut-2.1.4/src'
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c
blalloc.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c bsd.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c
channel.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c
clientlist.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c
clones.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c
confparse.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c
fdlist.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c fds.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c hash.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c hide.c
channel.c: In function ‘send_channel_modes.part.12’:
channel.c:1602:39: warning: ‘%s’ directive writing up to 511 bytes into
a region of size between 387 and 501 [-Wformat-overflow=]
ircsprintf(buf, ":%s SJOIN %ld %s %s %s :", me.name,
^~
chptr->channelts, chptr->chname, modebuf, parabuf);
~~~~~~~
In file included from ../include/h.h:32,
from channel.c:26:
../include/ircsprintf.h:10:20: note: ‘sprintf’ output between 15 and
1151 bytes into a destination of size 512
#define ircsprintf sprintf
channel.c:1602:5: note: in expansion of macro ‘ircsprintf’
ircsprintf(buf, ":%s SJOIN %ld %s %s %s :", me.name,
^~~~~~~~~~
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c
inet_addr.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c ircd.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c
klines.c
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -fgnu89-inline -c
libcrypto-compat.c
ircd.c: In function ‘s_die’:
ircd.c:187:24: warning: ‘/.maxclients’ directive writing 12 bytes into a
region of size between 1 and 4096 [-Wformat-overflow=]
ircsprintf(tmp, "%s/.maxclients", dpath);
^~~~~~~~~~~~
In file included from ../include/h.h:32,
from ircd.c:40:
../include/ircsprintf.h:10:20: note: ‘sprintf’ output between 13 and
4108 bytes into a destination of size 4096
#define ircsprintf sprintf
ircd.c:187:5: note: in expansion of macro ‘ircsprintf’
ircsprintf(tmp, "%s/.maxclients", dpath);
^~~~~~~~~~
libcrypto-compat.c:14:24: error: unknown type name ‘DH’
void DH_get0_pqg(const DH *dh,
^~
libcrypto-compat.c:15:24: error: unknown type name ‘BIGNUM’
const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
^~~~~~
libcrypto-compat.c:15:42: error: unknown type name ‘BIGNUM’
const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
^~~~~~
libcrypto-compat.c:15:60: error: unknown type name ‘BIGNUM’
const BIGNUM **p, const BIGNUM **q, const BIGNUM **g)
^~~~~~
libcrypto-compat.c: In function ‘DH_get0_pqg’:
libcrypto-compat.c:18:16: error: request for member ‘p’ in something not
a structure or union
*p = dh->p;
^~
libcrypto-compat.c:20:16: error: request for member ‘q’ in something not
a structure or union
*q = dh->q;
^~
libcrypto-compat.c:22:16: error: request for member ‘g’ in something not
a structure or union
*g = dh->g;
^~
libcrypto-compat.c: At top level:
libcrypto-compat.c:25:17: error: unknown type name ‘DH’
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
^~
libcrypto-compat.c:25:25: error: unknown type name ‘BIGNUM’; did you
mean ‘SIGBUS’?
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
^~~~~~
SIGBUS
libcrypto-compat.c:25:36: error: unknown type name ‘BIGNUM’; did you
mean ‘SIGBUS’?
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
^~~~~~
SIGBUS
libcrypto-compat.c:25:47: error: unknown type name ‘BIGNUM’; did you
mean ‘SIGBUS’?
int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g)
^~~~~~
SIGBUS
libcrypto-compat.c:54:24: error: unknown type name ‘DH’
void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM
**priv_key)
^~
libcrypto-compat.c:54:38: error: unknown type name ‘BIGNUM’
void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM
**priv_key)
^~~~~~
libcrypto-compat.c:54:62: error: unknown type name ‘BIGNUM’
void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM
**priv_key)
^~~~~~
libcrypto-compat.c: In function ‘DH_get0_key’:
libcrypto-compat.c:57:22: error: request for member ‘pub_key’ in
something not a structure or union
*pub_key = dh->pub_key;
^~
libcrypto-compat.c:59:23: error: request for member ‘priv_key’ in
something not a structure or union
*priv_key = dh->priv_key;
^~
libcrypto-compat.c: At top level:
libcrypto-compat.c:62:17: error: unknown type name ‘DH’
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
^~
libcrypto-compat.c:62:25: error: unknown type name ‘BIGNUM’; did you
mean ‘SIGBUS’?
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
^~~~~~
SIGBUS
libcrypto-compat.c:62:42: error: unknown type name ‘BIGNUM’; did you
mean ‘SIGBUS’?
int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
^~~~~~
SIGBUS
libcrypto-compat.c:83:19: error: unknown type name ‘DH’
int DH_set_length(DH *dh, long length)
^~
make[1]: *** [Makefile:49: libcrypto-compat.o] Error 1
make[1]: *** Waiting for unfinished jobs....
klines.c: In function ‘klinestore_compact’:
klines.c:479:38: warning: ‘%s’ directive output may be truncated writing
up to 4095 bytes into a region of size 512 [-Wformat-truncation=]
ircsnprintf(buf1, sizeof(buf1), "%s/.klines_c", dpath);
^~ ~~~~~
In file included from ../include/h.h:32,
from klines.c:42:
../include/ircsprintf.h:15:21: note: ‘snprintf’ output between 11 and
4106 bytes into a destination of size 512
#define ircsnprintf snprintf
klines.c:479:5: note: in expansion of macro ‘ircsnprintf’
ircsnprintf(buf1, sizeof(buf1), "%s/.klines_c", dpath);
^~~~~~~~~~~
ircd.c: In function ‘main’:
ircd.c:787:24: warning: ‘/.maxclients’ directive writing 12 bytes into a
region of size between 1 and 4096 [-Wformat-overflow=]
ircsprintf(tmp, "%s/.maxclients", dpath);
^~~~~~~~~~~~
In file included from ../include/h.h:32,
from ircd.c:40:
../include/ircsprintf.h:10:20: note: ‘sprintf’ output between 13 and
4108 bytes into a destination of size 4096
#define ircsprintf sprintf
ircd.c:787:5: note: in expansion of macro ‘ircsprintf’
ircsprintf(tmp, "%s/.maxclients", dpath);
^~~~~~~~~~
klines.c: In function ‘klinestore_init’:
klines.c:556:60: warning: ‘%s’ directive output may be truncated writing
up to 4095 bytes into a region of size 512 [-Wformat-truncation=]
ircsnprintf(journalfilename, sizeof(journalfilename),
"%s/.klines", dpath);
^~ ~~~~~
In file included from ../include/h.h:32,
from klines.c:42:
../include/ircsprintf.h:15:21: note: ‘snprintf’ output between 9 and
4104 bytes into a destination of size 512
#define ircsnprintf snprintf
klines.c:556:5: note: in expansion of macro ‘ircsnprintf’
ircsnprintf(journalfilename, sizeof(journalfilename),
"%s/.klines", dpath);
^~~~~~~~~~~
make[1]: Leaving directory '/root/b/bahamut-2.1.4/src'
Building doc
make[1]: Entering directory '/root/b/bahamut-2.1.4/doc'
make[1]: Nothing to be done for 'build'.
make[1]: Leaving directory '/root/b/bahamut-2.1.4/doc'
Building tools
make[1]: Entering directory '/root/b/bahamut-2.1.4/tools'
gcc -I../include -g -O2 -Wall -fno-strict-aliasing -c mkpasswd.c
gcc -Wl,-export-dynamic -o mkpasswd mkpasswd.o -lz -lssl -lcrypto -ldl
-lcrypt -lresolv -lnsl
make[1]: Leaving directory '/root/b/bahamut-2.1.4/tools'
******************************************************************************
* For help with bahamut, please refer to
http://bahamut.dal.net/ *
* If you encouter serious security related bugs, please mail
coders(a)dal.net *
* For other bug reports and inquiries, please mail
dalnet-src(a)dal.net *
* Thank you for choosing Bahamut! - The DALnet coding
team *
******************************************************************************
2
1