Thank you Youness,

Now I tried to build it using the minGW in Windows.
After I build all the dependent library, I configure and build farsight in
MSYS, but the errors below arises. Can you give me some hints about this
problem?

  CCLD   libgstfarsight-0.10.la
Creating library file: .libs/libgstfarsight-0.10.dll.a
.libs/libgstfarsight_0.10_la-fs-interfaces.o: In function
`fs_interfaces_get_WSA_socket':
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:392:
undefined reference to `GST_ERROR'
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:400:
undefined reference to `GST_ERROR'
.libs/libgstfarsight_0.10_la-fs-interfaces.o: In function
`fs_interfaces_get_local_interfaces':
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:413:
undefined reference to `GetIfTable@12'
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:420:
undefined reference to `GetIfTable@12'
.libs/libgstfarsight_0.10_la-fs-interfaces.o: In function
`fs_interfaces_get_local_ips':
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:441:
undefined reference to `GetIpAddrTable@12'
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:450:
undefined reference to `GetBestInterface@8'
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:455:
undefined reference to `GetIpAddrTable@12'
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:470:
undefined reference to `GetIfEntry@4'
.libs/libgstfarsight_0.10_la-fs-interfaces.o: In function
`win32_get_ip_for_interface':
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:506:
undefined reference to `GetIpAddrTable@12'
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:513:
undefined reference to `GetIpAddrTable@12'
.libs/libgstfarsight_0.10_la-fs-interfaces.o: In function
`fs_interfaces_get_ip_for_interface':
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:542:
undefined reference to `GetIfTable@12'
C:\msys\1.0\src\farsight2-0.0.25\gst-libs\gst\farsight/fs-interfaces.c:549:
undefined reference to `GetIfTable@12'
collect2: ld returned 1 exit status


2011/2/25 Youness Alaoui <youness.ala...@collabora.co.uk>

> Hi,
>
> Obviously iconv.h is missing, it's part of 'glibc-headers'... For mingw,
> you
> should get the mingw-iconv package instead...
> However, the issue I see here is that it's including files from your local
> installation of gstreamer. You should recompile gstreamer under mingw and
> make
> sure when you cross-compile, it doesn't use a local, linux version of a
> file.
>
> Good luck,
> Youness.
>
>
> On 02/24/2011 09:13 AM, JiaXin Yuan wrote:
> > Hi,
> >
> > I tried to build farsight for windows in linux environment but failed.
> > The configure phase success, but in the make process, following errors
> raised,
> > can anyone tell me how to solve this problem?
> >
> > In file included from /usr/include/libxml2/libxml/parser.h:807,
> >                   from /usr/include/gstreamer-0.10/gst/gstconfig.h:198,
> >                   from /usr/include/gstreamer-0.10/gst/gstelement.h:55,
> >                   from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
> >                   from /usr/include/gstreamer-0.10/gst/gst.h:34,
> >                   from fs-base-conference.h:29,
> >                   from fs-base-conference.c:39:
> > /usr/include/libxml2/libxml/encoding.h:28:19: iconv.h: No such file or
> directory
> > In file included from /usr/include/libxml2/libxml/parser.h:807,
> >                   from /usr/include/gstreamer-0.10/gst/gstconfig.h:198,
> >                   from /usr/include/gstreamer-0.10/gst/gstelement.h:55,
> >                   from /usr/include/gstreamer-0.10/gst/gstbin.h:27,
> >                   from /usr/include/gstreamer-0.10/gst/gst.h:34,
> >                   from fs-base-conference.h:29,
> >                   from fs-base-conference.c:39:
> >
> > Thank you & best regards,
> > Jason
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Free Software Download: Index, Search&  Analyze Logs and other IT data in
> > Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> > generated by your applications, servers and devices whether physical,
> virtual
> > or in the cloud. Deliver compliance at lower cost and gain new business
> > insights. http://p.sf.net/sfu/splunk-dev2dev
> >
> >
> >
> > _______________________________________________
> > Farsight-devel mailing list
> > Farsight-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/farsight-devel
>
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> Farsight-devel mailing list
> Farsight-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/farsight-devel
>
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Farsight-devel mailing list
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel

Reply via email to