sleinen / samplicator

Send copies of (UDP) datagrams to multiple receivers, with optional sampling and spoofing
GNU General Public License v2.0
391 stars 133 forks source link

r126 build errors #12

Closed sleinen closed 9 years ago

sleinen commented 9 years ago

From morty.ab...@gmail.com on October 19, 2011 21:24:14

What steps will reproduce the problem? aclocal autoheader automake -a autconf ./configure make What is the expected output? What do you see instead? autoheader produces warnings:

autoheader: WARNING: Using auxiliary files such as acconfig.h',config.h.bot' autoheader: WARNING: and config.h.top', to define templates forconfig.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of AC_DEFINE' and autoheader: WARNING:AC_DEFINE_UNQUOTED' allows one to define a template without autoheader: WARNING: acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a functionmain' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation.

automake -a produces warnings:

automake: configure.in: installing ./install-sh' automake: configure.in: installing./mkinstalldirs' automake: configure.in: installing ./missing' automake: configure.in: installing./config.guess' automake: configure.in: installing ./config.sub' Makefile.am:7: @LIBOBJS@ seen but never set inconfigure.in'

make produces:

gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c samplicate.c samplicate.c:38:18: error: inet.h: No such file or directory make: *\ [samplicate.o] Error 1

I have arpa/inet.h, so I tried making the #include "inet.h" to be in a #else to the arpa/inet.h check. This was in samplicate.c and read_config.c. I got farther, but then make yielded:

make: *\ No rule to make target inet.o', needed bysamplicate'. Stop. What version of the product are you using? On what operating system? r126 , from the repository, on Linux -- Debian 6.0.2. Please provide any additional information below. autoheader version 2.67.

automake version 1.4-p6.

Original issue: http://code.google.com/p/samplicator/issues/detail?id=12

sleinen commented 9 years ago

From simon.le...@gmail.com on October 20, 2011 15:40:12

Oops, I had forgotten to upload the new source files inet.c and inet.h. Thanks for testing, and sorry for my sloppiness. Can you try r127 ?

Status: Fixed
Labels: -Priority-Medium Priority-High