Ethereal-dev: [ethereal-dev] Sun Solaris x86 2.6 compile problem

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Roar Pettersen <roar@xxxxxxxxxxxx>
Date: Fri, 06 Aug 1999 11:40:23 +0200
Hello !

At the end of compiling I get this error message :

ld: fatal: symbol `yylex' is multiply defined:
        (file dfilter-scanner.o and file /usr/local/lib/libpcap.a(scanner.o));
ld: fatal: symbol `yywrap' is multiply defined:
        (file dfilter-scanner.o and file /usr/local/lib/libpcap.a(scanner.o));
ld: warning: symbol `yytext' has differing alignments:
(file dfilter-scanner.o value=0x4; file /usr/local/lib/libpcap.a(scanner
.o) value=0x1);
        largest value applied
ld: warning: symbol `yytext' has differing sizes:
(file dfilter-scanner.o value=0x4; file /usr/local/lib/libpcap.a(scanner
.o) value=0x400);
        /usr/local/lib/libpcap.a(scanner.o) definition taken
ld: fatal: symbol `yyparse' is multiply defined:
        (file dfilter-grammar.o and file /usr/local/lib/libpcap.a(grammar.o));
ld: fatal: File processing errors. No output written to ethereal
*** Error code 1
make: Fatal error: Command failed for target `ethereal'
Current working directory /usr/local/src/ethereal-0.7.1
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/ethereal-0.7.1
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'


I'm using :

libpcap-0.4
gcc-2.8.1
glib-1.2.3
gtk+-1.2.3


Vennligst hilsen / Regards

                                                                        \\|//
                                                                        (O-O)
-------------------------------------------------oOO--(_)--OOo-------
Roar Pettersen                                  Phone   : (+47) 55304600
Technical Support Fax : (+47) 55304601
Heath Comm A/S, Norway                          E-mail: roar@xxxxxxxxxxxx
---------------------------------------------------------------------