Opened 22 months ago
Last modified 22 months ago
#66718 closed defect
mathomatic fails to respect Macports archflags — at Initial Version
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | powerpc, rosetta, snowleopard | Cc: | |
Port: | mathomatic |
Description
And fails to build on Rosetta:
`
/usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions -DUNIX -DVERSION=\"
cat VERSION
\" -DREADLINE -I/opt/local/include -c -o list.o list.c
/usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions -DUNIX -DVERSION=\"cat VERSION
\" -DREADLINE -I/opt/local/include -c -o gcd.o gcd.c
/usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions -DUNIX -DVERSION=\"cat VERSION
\" -DREADLINE -I/opt/local/include -c -o factor_int.o factor_int.c
/usr/bin/gcc-4.2 -Os -Wall -Wshadow -Wno-char-subscripts -fexceptions -DUNIX -DVERSION=\"cat VERSION
\" -DREADLINE -L/opt/local/lib main.o globals.o am.o solve.o help.o parse.o cmds.o simplify.o factor.o super.o unfactor.o poly.o diff.o integrate.o complex.o complex_lib.o list.o gcd.o factor_int.o -lm -ledit -o mathomatic
ld: warning: in /opt/local/lib/libedit.dylib, file was built for ppc7400 which is not the architecture being linked (x86_64)
Undefined symbols:
"_write_history", referenced from:
_exit_program in main.o
"_rl_inhibit_completion", referenced from:
_main in main.o
"_rl_initialize", referenced from:
_main in main.o
"_add_history", referenced from:
_get_string in am.o _push_en in cmds.o _push_cmd in cmds.o
"_stifle_history", referenced from:
_main in main.o
"_readline", referenced from:
_get_string in am.o
(maybe you meant: _readline_enabled)
"_read_history", referenced from:
_main in main.o
"_using_history", referenced from:
_main in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: * [mathomatic] Error 1
`