[syslinux] OpenBSD TFTPD remap rules

Hans-Guenther Maerkle hg.maerkle at basis-dv.com
Thu Jan 8 06:11:24 PST 2009


Hans-Guenther Maerkle wrote:
>> 
>> ...
>> 
>> Does the build-in TFTP-Dameon in OpenBSD has no feature for
remapping?
>> If yes, how do I have to enable it?
>> If no, how can I install the TFTPD-HPA 0.49 on OpenBSD 4.4?
>> 
>
> I don't think it does.
>
> You should be able to get the tftp-hpa sources and build them on
OpenBSD
> (see the file INSTALL for instructions.)
>
> 	-hpa

Hi!

I've dowloaded TFTPD-HPA 0.49 to /tmp
I've installed gnu make 3.81 via pkg_add

Done ./configure - works fine
gmake to compile - reports an error:

echo \#define VERSION \"tftp-hpa `cat version`\" > version.h
gmake -C  lib
gmake[1]: Entering directory `/tmp/tftp-hpa-0.49/lib'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/tmp/tftp-hpa-0.49/lib'
gmake -C  common
gmake[1]: Entering directory `/tmp/tftp-hpa-0.49/common'
gcc -g -O2 -W -Wall -Wpointer-arith -Wbad-function-cast
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -Wwrite-strings -Wundef -Wshadow
-Wsign-compare -pipe -fno-strict-aliasing -I/tmp/tftp-hpa-0.49 -c
tftpsubs.c
tftpsubs.c: In function `set_sock_addr':
tftpsubs.c:311: error: `AI_ADDRCONFIG' undeclared (first use in this
function)
tftpsubs.c:311: error: (Each undeclared identifier is reported only once
tftpsubs.c:311: error: for each function it appears in.)
gmake[1]: *** [tftpsubs.o] Error 1
gmake[1]: Leaving directory `/tmp/tftp-hpa-0.49/common'
gmake: *** [common.build] Error 2

The error attemps regardless of the build-in OpenBSD TFTP-Daemon is
running or not.

Regards
Hans




More information about the Syslinux mailing list