unixbench.
/tmp/ccOp1orS.o: In function `gear.constprop.1':
ubgears.c:(.text.unlikely+0xfbd): undefined reference to `sincosf'
ubgears.c:(.text.unlikely+0x1012): undefined reference to `sincos'
collect2: ld returned 1 exit status
make: *** [pgms/ubgears] Error 1
libm の指定が無い...w
Makefile
48 # Set "GL_LIBS" to the libraries needed to link a GL program.
49 GL_LIBS = -lGL -lXext -lX11
50
51
52 # COMPILER
- -
48 # Set "GL_LIBS" to the libraries needed to link a GL program.
49 GL_LIBS = -lm -lGL -lXext -lX11
50
51
52 # COMPILER