<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div>  turns out i had other out files from a different platform still in the directory.  Had to clean those out and it worked.<div><br><div><div>On Sep 26, 2007, at 9:12 PM, Sylvain La wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Is the issue that you need the following flags with gcc?<br><br> -lsocket -lnsl<br><br><div><span class="gmail_quote">On 9/26/07, <b class="gmail_sendername">Amit Matani</b> &lt;<a href="mailto:amitmatani@berkeley.edu">amitmatani@berkeley.edu </a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex"> <span style="font-family: Helvetica; font-size: 12px"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px">When I try to link my files on c199, I am getting an error when trying to link my output file from g++: </div><div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px"><font face="Monaco" size="3" style="font-style: normal; font-variant: normal; font-weight: 400; font-size: 11px; line-height: normal"> g++ -o http_client  file1.o file2.o </font></div>ld: fatal: file file1.o: unknown file type</div><div><br></div><div>Anyone know whats up?</div><div><br></div><div>-Amit</div></span><br>_______________________________________________ <br>ee122 mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ee122@mailman.ICSI.Berkeley.EDU">ee122@mailman.ICSI.Berkeley.EDU</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122" target="_blank"> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122</a><br><br></blockquote></div><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">ee122 mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:ee122@mailman.ICSI.Berkeley.EDU">ee122@mailman.ICSI.Berkeley.EDU</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122">http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122</a></div> </blockquote></div><br></div></div><br></div></body></html>