Re: [Wireshark-dev] Building with libtool /epan
Thx Jeff .. it works..im happy :) I run ./autogen ./configure and make and it finally works Thx a lot buddy u made my day ;) On Tue, 04 Oct 2011 09:24:17 -0400, Jeff Morriss wrote: Marcel Haas wrote: Hmm Nope.. the makefile will work without any error but at libwireshark.la "libdir=" is no entry and i guess thats the library so i can not use my functions and now i havent an entry at the .deps file folder I changed it like it was before what i have done is at Makefile.common LIBWIRESHARK_SRC = ... list_mh.c \ ... LIBWIRESHARK_INCLUDES = ... list_mh.c \ ... and Makefile.in Normally you should not edit Makefile.in: it is generated (from the .am and .common files) when you run ./autogen.sh . ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Building with libtool /epan
Yep, but i dont have a version checked out by SVN. I dl the source code.. so i have directly a Makefile.in On Tue, 04 Oct 2011 09:24:17 -0400, Jeff Morriss wrote: Marcel Haas wrote: Hmm Nope.. the makefile will work without any error but at libwireshark.la "libdir=" is no entry and i guess thats the library so i can not use my functions and now i havent an entry at the .deps file folder I changed it like it was before what i have done is at Makefile.common LIBWIRESHARK_SRC = ... list_mh.c \ ... LIBWIRESHARK_INCLUDES = ... list_mh.c \ ... and Makefile.in Normally you should not edit Makefile.in: it is generated (from the .am and .common files) when you run ./autogen.sh . ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Building with libtool /epan
Marcel Haas wrote: Hmm Nope.. the makefile will work without any error but at libwireshark.la "libdir=" is no entry and i guess thats the library so i can not use my functions and now i havent an entry at the .deps file folder I changed it like it was before what i have done is at Makefile.common LIBWIRESHARK_SRC = ... list_mh.c \ ... LIBWIRESHARK_INCLUDES = ... list_mh.c \ ... and Makefile.in Normally you should not edit Makefile.in: it is generated (from the .am and .common files) when you run ./autogen.sh . ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Building with libtool /epan
Hmm Nope.. the makefile will work without any error but at libwireshark.la "libdir=" is no entry and i guess thats the library so i can not use my functions and now i havent an entry at the .deps file folder I changed it like it was before what i have done is at Makefile.common LIBWIRESHARK_SRC = ... list_mh.c \ ... LIBWIRESHARK_INCLUDES = ... list_mh.c \ ... and Makefile.in am__objects_1 = libwireshark_la-list_mh.lo \ LIBWIRESHARK_SRC = \ list_mh.c \ LIBWIRESHARK_INCLUDES = \ list_mh.h \ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libwireshark_la-list_mh.Plo@am__quote@ libwireshark_la-list_mh.lo: list_mh.c @am__fastdepCC_TRUE@if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwireshark_la_CFLAGS) $(CFLAGS) -MT libwireshark_la-list_mh.lo -MD -MP -MF "$(DEPDIR)/libwireshark_la-list_mh.Tpo" -c -o libwireshark_la-list_mh.lo `test -f 'list_mh.c' || echo '$(srcdir)/'`list_mh.c; \ @am__fastdepCC_TRUE@then mv -f "$(DEPDIR)/libwireshark_la-list_mh.Tpo" "$(DEPDIR)/libwireshark_la-list_mh.Plo"; else rm -f "$(DEPDIR)/libwireshark_la-list_mh.Tpo"; exit 1 ; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='list_mh.c' object='libwireshark_la-list_mh.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libwireshark_la_CFLAGS) $(CFLAGS) -c -o libwireshark_la-list_mh.lo `test -f 'list_mh.c' || echo '$(srcdir)/'`list_mh.c I were doning it the same way reassemble.c /.h was find in the two files. copy paste replace "reassemble" with "list_mh" On Tue, 4 Oct 2011 13:00:42 +0200, Anders Broman wrote: -Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Marcel Haas Sent: den 4 oktober 2011 12:53 To: wireshark-dev@wireshark.org Subject: [Wireshark-dev] Building with libtool /epan Hey guys.. I have written, my own functions to reassemble split packets. Now I want to include that to wireshark more precisely wireshark/epan. I updated the Makefile.in common .am. If i run ./configure it works. He built me a Makefile and the ./deps file folder. I get a xxx.Plo File with content like "dummy" what is normal before make. If i run make now he will bulit but stopps with "libtool: link: `libwireshark_la-list_mh.lo' is not a valid libtool object" so I dont get a .lo file and no .la .a file and in may .Plo is still only "dummy" the content Maybe someone have an >idea.. Thx and regards Marcel Adding the file to Makefile.common should be enough I think are you doing any weird includes? Regards Anders ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
Re: [Wireshark-dev] Building with libtool /epan
-Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Marcel Haas Sent: den 4 oktober 2011 12:53 To: wireshark-dev@wireshark.org Subject: [Wireshark-dev] Building with libtool /epan > Hey guys.. > > I have written, my own functions to reassemble split packets. > Now I want to include that to wireshark more precisely wireshark/epan. > I updated the Makefile.in common .am. > If i run ./configure it works. He built me a Makefile and the ./deps file > folder. > I get a xxx.Plo File with content like "dummy" what is normal before make. > If i run make now he will bulit but stopps with > > "libtool: link: `libwireshark_la-list_mh.lo' is not a valid libtool object" > > so I dont get a .lo file and no .la .a file and in may .Plo is still only > "dummy" the content Maybe someone have an >idea.. > > Thx and regards > Marcel Adding the file to Makefile.common should be enough I think are you doing any weird includes? Regards Anders ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe
[Wireshark-dev] Building with libtool /epan
Hey guys.. I have written, my own functions to reassemble split packets. Now I want to include that to wireshark more precisely wireshark/epan. I updated the Makefile.in common .am. If i run ./configure it works. He built me a Makefile and the ./deps file folder. I get a xxx.Plo File with content like "dummy" what is normal before make. If i run make now he will bulit but stopps with "libtool: link: `libwireshark_la-list_mh.lo' is not a valid libtool object" so I dont get a .lo file and no .la .a file and in may .Plo is still only "dummy" the content Maybe someone have an idea.. Thx and regards Marcel ___ Sent via:Wireshark-dev mailing list Archives:http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe