Search Criteria
Package Details: gatling 0.15-1
Git Clone URL: | https://aur.archlinux.org/gatling.git (read-only, click to copy) |
---|---|
Package Base: | gatling |
Description: | A high performance http and ftp server |
Upstream URL: | https://www.fefe.de/gatling |
Licenses: | |
Conflicts: | |
Submitter: | None |
Maintainer: | mrxx |
Last Packager: | mrxx |
Votes: | 9 |
Popularity: | 0.001884 |
First Submitted: | 2006-10-16 18:48 |
Last Updated: | 2020-04-19 15:36 |
Latest Comments
1 2 Next › Last »
mrxx commented on 2020-11-05 21:57
Any ideas?
qwivan commented on 2020-11-05 15:24
/usr/bin/diet -Os gcc -s gatling.o mime.o ftp.o http.o smb.o common.o connstat.o httpstream.o dirfd.o -o gatling -lowfat -lz
cat libsocket libiconv libcrypt
cat md5lib
/usr/bin/ld: http.o:(.bss+0x2088): multiple definition ofifd'; gatling.o:(.bss+0x580): first defined here /usr/bin/ld: common.o:(.bss+0x0): multiple definition of
ifd'; gatling.o:(.bss+0x580): first defined here /usr/bin/ld: dirfd.o:(.bss+0x28): multiple definition ofifd'; gatling.o:(.bss+0x580): first defined here /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libowfat.a(io_fd.o):(.bss+0xb0): multiple definition of
first_deferred'; /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libowfat.a(io_close.o):(.data+0x0): first defined here /usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/libowfat.a(io_sendfile.o): in functionio_sendfile': (.text+0x6b): warning: sendfile is not portable /usr/bin/ld: gatling.o: in function
handle_read_misc': gatling.c:(.text+0xfda): warning: warning: your code still has assertions enabled! /usr/bin/ld: /opt/diet/lib-x86_64/libc.a(stdin.o): in function__fflush_stdin': (.text+0x34): warning: warning: your code uses stdio (7+k bloat). /usr/bin/ld: /opt/diet/lib-x86_64/libc.a(vsnprintf.o): in function
vsnprintf': (.text+0x9c): warning: warning: the printf functions add several kilobytes of bloat. collect2: error: ld returned 1 exit status make: *** [GNUmakefile:99: gatling] Error 1Mic92 commented on 2012-04-10 16:16
Alternatively gatling can be built with polarssl (README.polarssl)
or without tsl support
zlib is needed in each case.
Mic92 commented on 2012-04-10 15:04
To successfully build gatling, you have either link everything against glibc or dietlibc.
To link everything against glibc:
- replace in the PKGBUILD of libowfat the 'make' section:
make DIET=
To link everything against dietlibc:
- use the FAQ[1] how to build openssl and copy it to /opt/diet/$ARCH-lib/
- modify the PKGBUILD of zlib:
1. modify the 'configure' section:
CC="/opt/diet/bin/diet gcc -nostdinc" ./configure --prefix=/opt/diet --static
2. modify the 'make install' section:
make install PREFIX=/opt/diet DESTDIR=${pkgdir}
http://www.fefe.de/dietlibc/FAQ.txt
Mic92 commented on 2012-04-10 14:59
To successfully build gatling, you have either link everything against glibc or dietlibc.
To link everything against glibc:
- replace in the PKGBUILD of libowfat the line:
make
with:
make DIET=
To link everything against dietlibc:
- use the FAQ[1] how to build openssl
- build zlib:
CC="/opt/diet/bin/diet gcc -nostdinc" ./configure --prefix=/opt/diet --static
http://www.fefe.de/dietlibc/FAQ.txt
haagch commented on 2011-10-10 22:04
Just for the information to users of archlinuxfr:
I had problems building gatling with libowfat from archlinuxfr (undefined reference to a standard function(?)).
With libowfat from AUR it worked fine.
Btw: Thank you for awesomely maintaining this package. :)
qs9rx commented on 2011-07-29 08:15
If you get an error on compiling ("collect2: ld returned 1 exit status") update libowfat first.
qs9rx commented on 2011-07-29 08:11
gatling.o: In function `handle_read_misc':
gatling.c:(.text+0xa9b): warning: warning: your code still has assertions enabled!
/usr/bin/ld: Warning: alignment 4 of symbol `sys_siglist' in /opt/diet/lib-i386/libc.a(sys_siglist.o) is smaller than 32 in /usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../libowfat.a(io_fd.o)
/usr/bin/ld: Warning: size of symbol `sys_siglist' changed from 260 in /usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../libowfat.a(io_fd.o) to 4 in /opt/diet/lib-i386/libc.a(sys_siglist.o)
/opt/diet/lib-i386/libc.a(__sendfile64.o): warning: sendfile64 is not portable
/opt/diet/lib-i386/libc.a(__sendfile64.o): In function `sendfile64':
(.text+0x84): warning: sendfile is not portable
/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../libowfat.a(scan_ip6if.o): In function `scan_ip6if':
(.text+0x51): undefined reference to `__ctype_b_loc'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../libowfat.a(io_fd.o): In function `strtoimax':
(.text+0x23): undefined reference to `__strtoll_internal'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../libowfat.a(io_fd.o): In function `strtoumax':
(.text+0x53): undefined reference to `__strtoull_internal'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../libowfat.a(io_fd.o): In function `wcstoimax':
(.text+0x83): undefined reference to `__wcstoll_internal'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../libowfat.a(io_fd.o): In function `wcstoumax':
(.text+0xb3): undefined reference to `__wcstoull_internal'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../libowfat.a(io_fd.o): In function `io_fd':
(.text+0x30a): undefined reference to `__libc_current_sigrtmin'
/usr/lib/gcc/i686-pc-linux-gnu/4.6.1/../../../libowfat.a(io_waituntil2.o): In function `io_waituntil2':
(.text+0x4aa): undefined reference to `sigwaitinfo'
collect2: ld returned 1 exit status
make: *** [gatling] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build gatling.
phects commented on 2011-07-28 16:00
It did not work for me at some point. Now it does, so I changed the PKGBUILD(s) to compile with dietlibc.
erdbeer commented on 2011-07-26 14:05
Why are you compiling gatling and libowfat without dietlibc?