Closed dentearl closed 10 years ago
cd pinchesAndCacti/ && make all && cd .. externalTools && make all cd threeEdgeConnected && /Applications/Xcode.app/Contents/Developer/usr/bin/make all gcc -std=c99 -O3 -g -Wall --pedantic -funroll-loops -lm -DNDEBUG -I ../..//../sonLib/lib/ -c impl/*.c clang: warning: -lm: 'linker' input unused impl/3_Absorb3edge2x.c:391:38: warning: implicit declaration of function 'stIntTuple_construct1' is invalid in C99 [-Wimplicit-function-declaration] stList_append(list2, stIntTuple_construct1( u-1)); ^ impl/3_Absorb3edge2x.c:391:38: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion] stList_append(list2, stIntTuple_construct1( u-1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../..//../sonLib/lib/sonLibList.h:69:40: note: passing argument to parameter 'item' here void stList_append(stList *list, void *item); ^ impl/3_Absorb3edge2x.c:398:42: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion] stList_append(list2, stIntTuple_construct1( tmp2-1)); //constructInt(tmp2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../..//../sonLib/lib/sonLibList.h:69:40: note: passing argument to parameter 'item' here void stList_append(stList *list, void *item); ^ impl/3_Absorb3edge2x.c:543:17: warning: implicit declaration of function 'stIntTuple_get' is invalid in C99 [-Wimplicit-function-declaration] n = stIntTuple_get(N, 0)+1; ^ impl/3_Absorb3edge2x.c:574:34: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion] stList_append(list2, stIntTuple_construct1( r-1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../..//../sonLib/lib/sonLibList.h:69:40: note: passing argument to parameter 'item' here void stList_append(stList *list, void *item); ^ impl/3_Absorb3edge2x.c:581:38: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion] stList_append(list2, stIntTuple_construct1( tmp2-1)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../..//../sonLib/lib/sonLibList.h:69:40: note: passing argument to parameter 'item' here void stList_append(stList *list, void *item); ^ 6 warnings generated. ar rc 3EdgeConnected.a *.o ranlib 3EdgeConnected.a rm *.o mv 3EdgeConnected.a ../..//../sonLib/lib/ cp inc/*.h ../..//../sonLib/lib/ gcc -std=c99 -O3 -g -Wall --pedantic -funroll-loops -lm -DNDEBUG -I inc -I../..//../sonLib/lib -o ../..//../sonLib/bin/3EdgeTests tests/*.c ../..//../sonLib/lib/3EdgeConnected.a ../..//../sonLib/lib/sonLib.a ../..//../sonLib/lib/cuTest.a -lz -lm tests/3_Absorb3edge2xTest.c:20:26: warning: implicit declaration of function 'stIntTuple_construct1' is invalid in C99 [-Wimplicit-function-declaration] stList_append(edges, stIntTuple_construct1( vertex2)); ^ tests/3_Absorb3edge2xTest.c:20:26: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Wint-conversion] stList_append(edges, stIntTuple_construct1( vertex2)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../..//../sonLib/lib/sonLibList.h:69:40: note: passing argument to parameter 'item' here void stList_append(stList *list, void *item); ^ 2 warnings generated. Undefined symbols for architecture x86_64: "_stIntTuple_construct1", referenced from: _addEdgeToList in 3_Absorb3edge2xTest-McUlx6.o _getRandomGraph in 3_Absorb3edge2xTest-McUlx6.o _computeThreeEdgeConnectedComponents in 3EdgeConnected.a(3_Absorb3edge2x.o) "_stIntTuple_get", referenced from: _computeThreeEdgeConnectedComponents in 3EdgeConnected.a(3_Absorb3edge2x.o) (maybe you meant: _stIntTuple_getPosition) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [../..//../sonLib/bin/3EdgeTests] Error 1 make[1]: *** [all.threeEdgeConnected] Error 2 make: *** [externalToolsM] Error 2
I'll push clean stuff to the master once issues are resolved with mavericks build. For now use development branch.