[Bro] Compiling error on Ubuntu Linux - now: make-problem

Vidar Evenrud Seeberg vseeberg at netcom.no
Mon Nov 7 23:25:10 PST 2005


Hello Jason!

Thank you very much. I appreciate your help very much. No problem with
delay.

g++ and libterm did the trick for ./configure. Some additions for your
record, though (if others ask the same question):
The termcap is obsolete in Ubuntu Breezy. I installed the termcap-compat
package. I then had to "cd /usr/lib" and "ln -s /lib/libtermcap.so.2
libtermcap.so" to make "./configure" work. I also exported /usr/lib to
$LD_LIBRARYPATH

But now to some make-problems. This is what I get when "make":
...
In file included from /usr/include/netinet/ether.h:26,
                 from ef.l:13:
../../linux-include/netinet/if_ether.h:41: error: redefinition of
'struct ether_ addr'
../../linux-include/netinet/if_ether.h:48: error: redefinition of
'struct ether_ header'
In file included from ef.l:16:
../../linux-include/netinet/if_ether.h:41: error: redefinition of
'struct ether_ addr'
../../linux-include/netinet/if_ether.h:48: error: redefinition of
'struct ether_ header'
../../linux-include/netinet/if_ether.h:77: error: redefinition of
'struct ether_ arp'
make[4]: *** [ef.o] Error 1
...

Any ideas?


Best regards
Vidar


Jason Lee (DSD staff) wrote:

>and you seem to be missing the termcap lib
>(which is the real source of your error on
>the long long, but you still not going to
>get far without g++)
>
>
>configure:9327: checking size of long long
>configure:9605: gcc -o conftest -g -O2 -I/include -I/usr/include   -I${top_srcdir}/linux-include  conftest.c -lresolv -lz -lpcap -lpcap  -lssl -lcrypto -lpcap /usr/lib/libresolv.a -ltermcap >&5
>/usr/bin/ld: cannot find -ltermcap
>collect2: ld returned 1 exit status
>
>  
>



More information about the Bro mailing list