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
<[email protected]> wrote:
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Marcel Haas
Sent: den 4 oktober 2011 12:53
To: [email protected]
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 <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe