Issue #2 resolved

Compile error

crb002
created an issue

u2_isort() seems to be missing:

crb002$ make cd ./usort ; make cd t ; make all /usr/bin/gcc -D BYTE_ORDER=LITTLE_ENDIAN -std=c99 -fgnu89-inline -g -Wall -I/usr/include -I./ -I../ -I../../ -I../../../ -I../../../../ -O5 -lm -o u2 u2.c In file included from u2.c:5: ../u2_sort.c: In function ‘u2_sort’: ../u2_sort.c:34: warning: implicit declaration of function ‘u2_isort’ ../u2_sort.c:34: warning: ‘return’ with a value, in function returning void Undefined symbols: "_u2_isort", referenced from: _main in ccEde64u.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: [u2] Error 1 make[1]: [all] Error 2 make: *** [timing-binaries] Error 2

Comments (2)

  1. crb002 reporter

    I commented out that line and it seemed to compile fine. Also had to fix the makefile a bit and put in the link for the gcc libs on my mac, /usr/lib/gcc/i686-apple-darwin10/4.2.1/

  2. Log in to comment