[Web10g-user] broken Makefile for userspace APIs

rapier rapier at psc.edu
Mon Aug 13 17:54:01 EDT 2012


Thanks for the information Colin. I'll make sure that our team evaluates 
this. Can I ask what specific problems you were having with the build?

Chris


On 8/13/12 5:33 PM, Colin Dixon wrote:
> I tried to build the userspace APIs on Ubuntu 12.0.4 and found that the
> wouldn't compile. After a bit of poking, our intern found that moving
> the -lmnl option to the end of the lines in the Makefile solved the problem.
>
> Presumably, others will run into this issue. I've put the relevant patch
> inline below.
>
> Colin Dixon
> Researcher
> IBM Research — Austin
>
> $ diff -up web10g-estats-0.1-3.2/Makefile
> web10g-estats-0.1-3.2-fixed-Makefile/Makefile
> --- web10g-estats-0.1-3.2/Makefile 2012-03-20 21:24:02.000000000 -0500
> +++ web10g-estats-0.1-3.2-fixed-Makefile/Makefile 2012-08-08
> 12:10:42.597202989 -0500
> @@ -1,7 +1,7 @@
>
>   default:
> - $(CC) -Wall -Wextra -Wno-unused -lmnl web10g_request.c
> tcp_estats_resolve.c -o web10g_request
> - $(CC) -Wall -Wextra -Wno-unused -lmnl web10g_receive.c
> tcp_estats_resolve.c tcp_estats_var.c -o web10g_receive
> + $(CC) -Wall -Wextra -Wno-unused web10g_request.c tcp_estats_resolve.c
> -o web10g_request -lmnl
> + $(CC) -Wall -Wextra -Wno-unused web10g_receive.c tcp_estats_resolve.c
> tcp_estats_var.c -o web10g_receive -lmnl
>
>   clean:
>    rm -rf *.o web10g_receive web10g_request
>
>
> _______________________________________________
> Web10g-user mailing list
> Web10g-user at web10g.org
> https://lists.psc.edu/mailman/listinfo/web10g-user
>
> To UNSUBSCRIBE visit https://lists.psc.edu/mailman/unsubscribe/web10g-user
>


More information about the Web10g-user mailing list