[ee122] makefile for c++

Sylvain La sylvainla at berkeley.edu
Wed Sep 26 21:12:43 PDT 2007


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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/ee122/attachments/20070926/90ce29f5/attachment.html 


More information about the ee122 mailing list