IRRd-Discuss
Date Prev | Date Next |
Date Index |
Thread Index |
Author Index |
Historical
Re: Problems compiling irrd2.0a-Aug1-2000 on FreeBSD V4.1
- From: Gerald Andrew Winters
- Date: Fri Aug 18 09:44:09 2000
Paul,
I don't have a solution for you at the moment but
we are working on this at the moment and will report
back to you. Sorry about the problems.
--jerry
>
>
> Helpful people,
>
> I am having difficulty compiling irrd2.0a-Aug1-2000 on a new platform
> which is running FreeBSD 4.1 (Intel P3 600). It seems to be a problem with
> libgen.h which is not part of FreeBSD's standard installation (seems to
> part of the linux library set which I got by installing linux_devtools-6.1
> from the 'devel' section of packages). This is where I get after running
> make;
>
>
> STUFF DELETED ...
>
>
> /include -c uii_commands.c
> uii_commands.c: In function `show_database':
> uii_commands.c:38: warning: unused variable `my_tm'
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c journal.c
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c indicies.c
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c rpsl_commands.c
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c route.c
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c dbm_support.c
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c hash_spec.c
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c db1_support.c
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c templates.c
> templates.c:167: warning: excess elements in array initializer
> templates.c:167: warning: (near initialization for `obj_template')
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c util.c
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c mirrorstatus.c
> gcc -g -O2 -Wall -DHAVE_CONFIG_H -DINET6 -DFUNCPROTO -I../../include
> -DSMALL_ENDIAN -I/usr/local/include -c statusfile.c
> echo "Linking: gcc -L/usr/local/lib main.o telnet.o scan.o config.o
> commands.o database.o update.o mirror.o uii_commands.o journal.o
> indicies.o rpsl_commands.o route.o dbm_support.o hash_spec.o db1_support.o
> templates.o util.o mirrorstatus.o statusfile.o ../../lib/libmrt.a
> ../../lib/libcfg.a -o irrd"
> Linking: gcc -L/usr/local/lib main.o telnet.o scan.o config.o commands.o
> database.o update.o mirror.o uii_commands.o journal.o indicies.o
> rpsl_commands.o route.o dbm_support.o hash_spec.o db1_support.o
> templates.o util.o mirrorstatus.o statusfile.o ../../lib/libmrt.a
> ../../lib/libcfg.a -o irrd
> gcc -L/usr/local/lib main.o telnet.o scan.o config.o commands.o
> database.o update.o mirror.o uii_commands.o journal.o indicies.o
> rpsl_commands.o route.o dbm_support.o hash_spec.o db1_support.o
> templates.o util.o mirrorstatus.o statusfile.o ../../lib/libmrt.a
> ../../lib/libcfg.a -o irrd -lkvm -lc
> commands.o: In function `irr_process_command':
> /home/paull/irrd2.0a-Aug1-2000/src/programs/IRRd/commands.c(.text+0x5a5): warning: mktemp() possibly
> used unsafely; consider using mkstemp()
> statusfile.o: In function `WriteStatusFile':
> /home/paull/irrd2.0a-Aug1-2000/src/programs/IRRd/statusfile.c(.text+0xb87): undefined
> reference to `dirname'
> /home/paull/irrd2.0a-Aug1-2000/src/programs/IRRd/statusfile.c(.text+0xbbe): undefined
> reference to `__xpg_basename'
> *** Error code 1
>
> Stop in /home/paull/irrd2.0a-Aug1-2000/src/programs/IRRd.
> *** Error code 1
>
> Stop in /home/paull/irrd2.0a-Aug1-2000/src/programs.
> *** Error code 1
>
> Stop in /home/paull/irrd2.0a-Aug1-2000/src.
> *** Error code 1
>
> Stop in /home/paull/irrd2.0a-Aug1-2000/src.
>
>
>
>
> Any suggestions, ideas ?
>
> Regards,
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Paul Libauer (Network Engineer) paull@telstra.net
> NTG Core Platforms
> Telstra Internet (Big Pond Direct)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
|