[ee122] Fwd: makefile for c++
Amit Matani
amitmatani at gmail.com
Wed Sep 26 21:27:00 PDT 2007
turns out i had other out files from a different platform still in
the directory. Had to clean those out and it worked.
On Sep 26, 2007, at 9:12 PM, Sylvain La wrote:
> Is the issue that you need the following flags with gcc?
>
> -lsocket -lnsl
>
> On 9/26/07, Amit Matani <amitmatani at berkeley.edu > wrote:
> When I try to link my files on c199, I am getting an error when
> trying to link my output file from g++:
>
> g++ -o http_client file1.o file2.o
> ld: fatal: file file1.o: unknown file type
>
> Anyone know whats up?
>
> -Amit
>
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
>
>
> _______________________________________________
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/ee122/attachments/20070926/1ef2a93c/attachment.html
More information about the ee122
mailing list