View Single Post
Old November 27, 2013, 09:54   #5
gangli
Rookie
 
Join Date: Nov 2013
Posts: 4
gangli is on a distinguished road
Mine is similar:

Code:
configure:4916: gcc -o conftest -O3 -mtune=native -DHAVE_CONFIG_H -fno-strength-reduce -W -Wall -Wno-unused-parameter -pedantic -Wno-missing-field-initializers   -I.  conftest.c   >&5
configure:4916: $? = 0
configure:4916: ./conftest
configure:4916: $? = 0
configure:4930: result: yes
Immediately afterwards though , the "mvwaddnwstr" , "use_default_colors" and "can_change_colors" tests fail with a linker error. For example:

Code:
...
configure:5009: checking for can_change_color
configure:5009: gcc -o conftest -O3 -mtune=native -DHAVE_CONFIG_H -fno-strength-reduce -W -Wall -Wno-unused-parameter -peda
ntic -Wno-missing-field-initializers   -I.  conftest.c   >&5
/tmp/ccgkn5Nw.o: In function `main':
conftest.c:(.text.startup+0x7): undefined reference to `can_change_color'
collect2: error: ld returned 1 exit status
configure:5009: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Angband"
| #define PACKAGE_TARNAME "angband"
| #define PACKAGE_VERSION "3.4.1"
| #define PACKAGE_STRING "Angband 3.4.1"
| #define PACKAGE_BUGREPORT "bugs@rephial.org"
...
Could this be related?
gangli is offline   Reply With Quote