I cant compile a eggdrop with eggdrop-1.6.19-ipv6.patch and eggdrop-1.6.19-ssl-rootie.patch
SSL-Patch
Code: Select all
user@alix:~/work/eggdrop1.6.19$ patch -p0 < eggdrop-1.6.19-ssl-rootie.patch
patching file Makefile.in
patching file aclocal.m4
patching file config.h.in
patching file configure
patching file configure.ac
patching file src/Makefile.in
patching file src/dcc.c
patching file src/dccutil.c
patching file src/eggdrop.h
patching file src/main.c
patching file src/md5/md5.h
patching file src/md5/md5c.c
patching file src/mod/compress.mod/compress.c
patching file src/mod/irc.mod/chan.c
patching file src/mod/irc.mod/irc.c
patching file src/mod/irc.mod/irc.h
patching file src/mod/irc.mod/mode.c
patching file src/mod/module.h
patching file src/mod/server.mod/servmsg.c
patching file src/modules.c
patching file src/net.c
patching file src/net.h
patching file src/patch.h
patching file src/tcl.c
patching file src/tclmisc.c
user@alix:~/work/eggdrop1.6.19$
Code: Select all
user@alix:~/work/eggdrop1.6.19$ patch -p1 < eggdrop-1.6.19-ipv6.patch
(Stripping trailing CRs from patch.)
patching file config.h.in
Hunk #1 succeeded at 375 (offset 3 lines).
(Stripping trailing CRs from patch.)
patching file eggdrop.conf
(Stripping trailing CRs from patch.)
patching file src/botnet.c
(Stripping trailing CRs from patch.)
patching file src/chanprog.c
(Stripping trailing CRs from patch.)
patching file src/dcc.c
Hunk #1 succeeded at 238 (offset 4 lines).
Hunk #2 succeeded at 1178 (offset 4 lines).
(Stripping trailing CRs from patch.)
patching file src/eggdrop.h
Hunk #1 FAILED at 626.
1 out of 1 hunk FAILED -- saving rejects to file src/eggdrop.h.rej
(Stripping trailing CRs from patch.)
patching file src/main.c
Hunk #2 succeeded at 245 (offset 6 lines).
Hunk #3 succeeded at 270 (offset 6 lines).
Hunk #4 succeeded at 912 (offset 6 lines).
(Stripping trailing CRs from patch.)
patching file src/mod/filesys.mod/filesys.c
(Stripping trailing CRs from patch.)
patching file src/mod/module.h
Hunk #2 succeeded at 470 with fuzz 1.
(Stripping trailing CRs from patch.)
patching file src/mod/server.mod/server.c
(Stripping trailing CRs from patch.)
patching file src/mod/server.mod/servmsg.c
(Stripping trailing CRs from patch.)
patching file src/mod/share.mod/share.c
(Stripping trailing CRs from patch.)
patching file src/modules.c
Hunk #1 succeeded at 111 (offset 12 lines).
Hunk #2 succeeded at 578 with fuzz 1 (offset 16 lines).
(Stripping trailing CRs from patch.)
patching file src/net.c
Hunk #1 succeeded at 72 (offset 12 lines).
Hunk #2 succeeded at 147 with fuzz 2 (offset 56 lines).
Hunk #3 succeeded at 221 (offset 82 lines).
Hunk #4 succeeded at 232 (offset 82 lines).
Hunk #5 succeeded at 262 (offset 82 lines).
Hunk #6 succeeded at 374 (offset 82 lines).
Hunk #7 succeeded at 385 (offset 82 lines).
Hunk #8 succeeded at 395 (offset 82 lines).
Hunk #9 succeeded at 415 (offset 82 lines).
Hunk #10 succeeded at 466 (offset 89 lines).
Hunk #11 succeeded at 510 (offset 89 lines).
Hunk #12 succeeded at 531 (offset 89 lines).
Hunk #13 succeeded at 557 (offset 89 lines).
Hunk #14 succeeded at 583 (offset 89 lines).
Hunk #15 succeeded at 649 (offset 89 lines).
Hunk #16 succeeded at 738 (offset 146 lines).
Hunk #17 succeeded at 753 (offset 146 lines).
Hunk #18 succeeded at 769 (offset 146 lines).
Hunk #19 succeeded at 780 (offset 146 lines).
Hunk #20 succeeded at 791 (offset 146 lines).
Hunk #21 succeeded at 845 (offset 146 lines).
Hunk #22 succeeded at 857 (offset 146 lines).
Hunk #23 succeeded at 924 (offset 146 lines).
Hunk #24 succeeded at 943 (offset 146 lines).
Hunk #25 succeeded at 1553 (offset 214 lines).
(Stripping trailing CRs from patch.)
patching file src/proto.h
(Stripping trailing CRs from patch.)
patching file src/tcl.c
Hunk #1 succeeded at 49 with fuzz 1 (offset 3 lines).
Hunk #2 succeeded at 464 (offset 3 lines).
(Stripping trailing CRs from patch.)
patching file src/tcldcc.c
(Stripping trailing CRs from patch.)
patching file src/tclmisc.c
patch unexpectedly ends in middle of line
Hunk #1 succeeded at 433 with fuzz 1 (offset 5 lines).
user@alix:~/work/eggdrop1.6.19$
Code: Select all
user@alix:~/work/eggdrop1.6.19$ ./configure --with-ssl
This is Eggdrop's GNU configure script.
It's going to run a bunch of tests to hopefully make your compile
work without much twiddling.
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether the compiler understands -Wall... yes
checking whether the compiler understands -pipe... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether ln -s works... yes
checking whether head -n 1 works... yes
checking for gawk... gawk
checking for basename... basename
checking for uname... uname
checking for socket in -lsocket... no
checking for connect in -lnsl... yes
checking for gethostbyname in -ldns... no
checking for dlopen in -ldl... yes
checking for tan in -lm... yes
checking for pthread_mutex_init in -lpthread... yes
checking system type... Linux
checking system release... 2.6.25-2-486
checking module loading capabilities...
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking loader.h usability... no
checking loader.h presence... no
checking for loader.h... no
checking rld.h usability... no
checking rld.h presence... no
checking for rld.h... no
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking mach-o/rld.h usability... no
checking mach-o/rld.h presence... no
checking for mach-o/rld.h... no
checking for dlopen... yes
checking for load... no
checking for NSLinkModule... no
checking for shl_load... no
checking for rld_load... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking std_args.h usability... no
checking std_args.h presence... no
checking for std_args.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/rusage.h usability... no
checking sys/rusage.h presence... no
checking for sys/rusage.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for working volatile... yes
checking for socklen_t... yes
checking for long... yes
checking size of long... 4
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for clock... yes
checking for dprintf... yes
checking for fsync... yes
checking for getdtablesize... yes
checking for getrusage... yes
checking for inet_aton... yes
checking for isascii... yes
checking for mbrlen... yes
checking for memcpy... yes
checking for memset... yes
checking for random... yes
checking for rename... yes
checking for setpgid... yes
checking for sigaction... yes
checking for sigemptyset... yes
checking for snprintf... yes
checking for srandom... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for uname... yes
checking for vsnprintf... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking whether to include SSL support... yes
checking for SSL_accept in -lssl... yes
checking for vprintf... yes
checking for _doprnt... no
checking for strftime... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for broken libsafe sscanf... no
checking for Tcl library... found /usr/lib/libtcl8.4.so
checking for Tcl header... found /usr/include/tcl8.4/tcl.h
checking whether the Tcl system has changed... yes
checking for Tcl version... 8.4
checking for Tcl patch level... 8.4.19
checking for Tcl_Free in -ltcl8.4... yes
checking for TclpFinalizeThreadData in -ltcl8.4... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating scripts/Makefile
config.status: creating src/Makefile
config.status: creating src/compat/Makefile
config.status: creating src/md5/Makefile
config.status: creating src/mod/Makefile
config.status: creating config.h
config.status: executing replace-if-changed commands
creating lush.h
config.status: executing catch-make-rebuild commands
Operating System: Linux 2.6.25-2-486
If you experience any problems compiling Eggdrop, please read the
compile guide, found in doc/COMPILE-GUIDE.
Type 'make config' to configure the modules, or type 'make iconfig'
to interactively choose which modules to compile.
user@alix:~/work/eggdrop1.6.19$
Code: Select all
user@alix:~/work/eggdrop1.6.19$ make
make[1]: Entering directory `/home/user/work/eggdrop1.6.19/src'
This may take a while. Go get some runts.
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c bg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botcmd.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botmsg.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c botnet.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c chanprog.c
chanprog.c: In function ‘isowner’:
chanprog.c:673: warning: the address of ‘owner’ will always evaluate as ‘true’
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c cmds.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dcc.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dccutil.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c dns.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c flags.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c language.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c match.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H \
'-DCCFLAGS="gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H "' \
'-DLDFLAGS="gcc -pipe"' \
'-DSTRIPFLAGS="touch"' -c ./main.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c mem.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c misc_file.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c modules.c
gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H -c net.c
net.c: In function ‘allocsock’:
net.c:388: error: ‘sock_list’ has no member named ‘af’
net.c: In function ‘getsockproto’:
net.c:542: error: ‘sock_list’ has no member named ‘af’
make[1]: *** [net.o] Error 1
make[1]: Leaving directory `/home/user/work/eggdrop1.6.19/src'
make: *** [modegg] Error 2
user@alix:~/work/eggdrop1.6.19$