<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><STRONG>While compile TOOLS/netstream in MINGW32 (Under WinXP OS),&nbsp; 
for I want to</STRONG></DIV>
<DIV><STRONG>get a WIN32 netstream executable file, but some error 
here:</STRONG></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2>$ make<BR>gcc -I../libvo -I../../libvo&nbsp; -O4 
-march=pentium4 -mcpu=pentium4 -pipe -ffast-math -fomit-frame-pointer 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&nbsp; -I../.. -I../../loader&nbsp; 
netstream.o -o netstream ../../libmpdemux/libmpdemux.a 
../../libmpdvdkit2/libmpdvdkit.a ../../libmpcodecs/native/minilzo.o 
../../libvo/aclib.o ../../libmpcodecs/img_format.o ../../liba52/liba52.a 
../../libao2/afmt.o ../../m_option.o ../../m_struct.o ../../subreader.o 
../../mp_msg.o ../../osdep/shmem.o ../../osdep/timer-*.o 
../../osdep/strl.o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -lpthread&nbsp; 
-lm<BR>g:\MinGW\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -lpthread<BR>make: *** [netstream] Error 1<BR></FONT></DIV>
<DIV><FONT size=2><FONT size=3><STRONG>Then I remove "-lpthread" from Makefile, 
and compile it again, also other error here:</STRONG></FONT></FONT></DIV>
<DIV><FONT size=2><STRONG><FONT size=3>(Could you help me, thanks a 
lot)</FONT></STRONG></FONT></DIV>
<DIV><FONT size=2><STRONG><FONT size=3></FONT></STRONG></FONT>&nbsp;</DIV>
<DIV><FONT size=2><STRONG><FONT size=3>:):)</FONT></STRONG></DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT size=2><FONT color=#0000ff>$ make<BR>gcc -I../libvo 
-I../../libvo&nbsp; -O4 -march=pentium4 -mcpu=pentium4 -pipe -ffast-math 
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64&nbsp; -I../.. 
-I../../loader&nbsp; netstream.o -o netstream ../../libmpdemux/libmpdemux.a 
../../libmpdvdkit2/libmpdvdkit.a ../../libmpcodecs/native/minilzo.o 
../../libvo/aclib.o ../../libmpcodecs/img_format.o ../../liba52/liba52.a 
../../libao2/afmt.o ../../m_option.o ../../m_struct.o ../../subreader.o 
../../mp_msg.o ../../osdep/shmem.o ../../osdep/timer-*.o 
../../osdep/strl.o&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-lm<BR>netstream.o(.text+0x209):netstream.c: undefined reference to </FONT><A 
href="mailto:`send@16'">`send@16'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x420):netstream.c: undefined reference to 
</FONT><A href="mailto:`send@16'">`send@16'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x50b):netstream.c: undefined reference to 
</FONT><A href="mailto:`send@16'">`send@16'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x645):netstream.c: undefined reference to 
</FONT><A href="mailto:`socket@12'">`socket@12'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x67d):netstream.c: undefined reference to 
</FONT><A href="mailto:`htons@4'">`htons@4'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x6a1):netstream.c: undefined reference to 
</FONT><A href="mailto:`bind@12'">`bind@12'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x6eb):netstream.c: undefined reference to 
</FONT><A href="mailto:`listen@8'">`listen@8'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x915):netstream.c: undefined reference to 
`kill'<BR>netstream.o(.text+0x93e):netstream.c: undefined reference to 
`usleep'<BR>netstream.o(.text+0x97f):netstream.c: undefined reference to 
</FONT><A href="mailto:`send@16'">`send@16'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0xa64):netstream.c: undefined reference to 
</FONT><A href="mailto:`send@16'">`send@16'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0xbbb):netstream.c: undefined reference to 
</FONT><A href="mailto:`send@16'">`send@16'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0xcc2):netstream.c: undefined reference to 
</FONT><A href="mailto:`send@16'">`send@16'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0xda1):netstream.c: undefined reference to 
</FONT><A href="mailto:`send@16'">`send@16'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0xf7c):netstream.c: more undefined references to 
</FONT><A href="mailto:`send@16'">`send@16'</A><FONT color=#0000ff> 
follow<BR>netstream.o(.text+0x12c8):netstream.c: undefined reference to 
</FONT><A href="mailto:`select@20'">`select@20'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x12e8):netstream.c: undefined reference to 
</FONT><A href="mailto:`__WSAFDIsSet@8'">`__WSAFDIsSet@8'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x1309):netstream.c: undefined reference to 
</FONT><A href="mailto:`__WSAFDIsSet@8'">`__WSAFDIsSet@8'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x1411):netstream.c: undefined reference to 
</FONT><A href="mailto:`accept@12'">`accept@12'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x1426):netstream.c: undefined reference to 
</FONT><A href="mailto:`inet_ntoa@4'">`inet_ntoa@4'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x15d8):netstream.c: undefined reference to 
</FONT><A href="mailto:`recv@16'">`recv@16'</A><BR><FONT 
color=#0000ff>netstream.o(.text+0x166d):netstream.c: undefined reference to 
</FONT><A href="mailto:`recv@16'">`recv@16'</A><BR><FONT 
color=#0000ff>../../libmpdemux/libmpdemux.a(stream.o)(.text+0x9d1):stream.c: 
undefined reference to </FONT><A 
href="mailto:`WSAStartup@8'">`WSAStartup@8'</A><BR><FONT 
color=#0000ff>../../libmpdemux/libmpdemux.a(stream.o)(.text+0xb96):stream.c: 
undefined reference to </FONT><A 
href="mailto:`closesocket@4'">`closesocket@4'</A><BR><FONT 
color=#0000ff>../../libmpdemux/libmpdemux.a(stream.o)(.text+0xbb2):stream.c: 
undefined reference to </FONT><A 
href="mailto:`WSACleanup@0'">`WSACleanup@0'</A><BR><FONT 
color=#0000ff>../../libmpdemux/libmpdemux.a(stream_netstream.o)(.text+0x214):stream_netstream.c: 
undefined reference to </FONT><A 
href="mailto:`closesocket@4'">`closesocket@4'</A><BR><FONT 
color=#0000ff>../../libmpdemux/libmpdemux.a(stream_netstream.o)(.text+0x4e2):stream_netstream.c: 
undefined reference to </FONT><A href="mailto:`send@16'">`send@16'</A><BR><FONT 
color=#0000ff>../../libmpdemux/libmpdemux.a(stream_netstream.o)(.text+0x818):stream_netstream.c: 
undefined reference to </FONT><A href="mailto:`recv@16'">`recv@16'</A><BR><FONT 
color=#0000ff>../../libmpdemux/libmpdemux.a(stream_netstream.o)(.text+0x8ad):stream_netstream.c: 
undefined reference to </FONT><A href="mailto:`recv@16'">`recv@16'</A><BR><FONT 
color=#0000ff>../../libmpdemux/libmpdemux.a(stream_ftp.o)(.text+0x26a):stream_ftp.c: 
undefined reference to </FONT><A 
href="mailto:`closesocket@4'">`closesocket@4'</A><BR><FONT 
color=#0000ff>../../libmpdemux/libmpdemux.a(stream_ftp.o)(.text+0x2c5):stream_ftp.c: 
undefined reference to </FONT><A 
href="mailto:`send@16'">`send@16'</A></FONT></DIV>
<DIV><FONT color=#0000ff size=2>......</FONT></DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&nbsp;</DIV></FONT></BODY></HTML>