On 4/12/11 10:00 AM, Ben Pfaff wrote: > Even without this patch I see -lm in the linker command: > > gcc -Wstrict-prototypes -Wall -Wno-sign-compare -Wpointer-arith > -Wdeclaration-after-statement -Wformat-security -Wswitch-enum > -Wunused-parameter -Wstrict-aliasing -Wbad-function-cast > -Wcast-align -Wstrict-prototypes -Wold-style-definition > -Wmissing-prototypes -Wmissing-field-initializers > -Wno-override-init -g -O2 -export-dynamic -o tests/test-multipath > tests/test-multipath.o lib/libopenvswitch.a -lrt -lm > > That's because it's in LIBS due to this configure check: > > AC_SEARCH_LIBS([pow], [m]) > > Why isn't -lm in LIBS on Gentoo?
Ben noticed that I was running configure with -Werror set in CFLAGS. This breaks configure's library checks. Patch retracted. _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
