x86_64 컴퓨터에 있습니다. 나는 그것의 메이크 파일을 사용하여 fortune
를 구축하기 위해 노력하고있어,하지만 난은없는 문자에 대한 오류 얻을 : 내가 86 호스트의 구축하려고하면 나도 같은 오류가x86_64에서 "fortune"을 컴파일하는 중 오류가 발생했습니다.
cd fortune && make CC='gcc' \
CFLAGS='-O2 -DFORTDIR="\"/usr/local/share/games/fortunes\"" -DOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -DHAVE_REGEX_H -DBSD_REGEX -I../util' \
LDFLAGS='-s' LIBS=''
gcc -s -o fortune fortune.o
ld: warning: option -s is obsolete and being ignored
Undefined symbols for architecture x86_64:
"_re_comp", referenced from:
_getargs in fortune.o
"_re_exec", referenced from:
_matches_in_list in fortune.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [fortune] Error 1
make: *** [fortune-bin] Error 2
을 :
terences-imac:fortune-mod-9708 MAU$ make host=x86
cd fortune && make CC='gcc' \
CFLAGS='-O2 -DFORTDIR="\"/usr/local/share/games/fortunes\"" -DOFFDIR="\"/usr/local/share/games/fortunes/off\"" -Wall -fomit-frame-pointer -pipe -DHAVE_REGEX_H -DBSD_REGEX -I../util' \
LDFLAGS='-s' LIBS=''
gcc -s -o fortune fortune.o
ld: warning: option -s is obsolete and being ignored
Undefined symbols for architecture x86_64:
"_re_comp", referenced from:
_getargs in fortune.o
"_re_exec", referenced from:
_matches_in_list in fortune.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [fortune] Error 1
make: *** [fortune-bin] Error 2`
무엇을 컴파일? "그것"은 무엇입니까? 운영 체제? 앱? 어떤 장치를 컴파일하고 있습니까? 귀하의 질문은 매우 모호합니다. – Coder404
무엇을 컴파일하려고합니까? – Renan
이것이 가장 큰 질문은 아니지만 사실상 모든 행에 "운"이라고 말합니다. –