On Debian Wheezy on x86_64 with kernel 3.2.0-3-amd64 I get the
following error:

gcc  -o gp-dyn 
-L"/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64" 
-O3 -Wall -fno-strict-aliasing -fomit-frame-pointer  -g 
-I/home/jedlund/local/Linux-x86_64/include 
-I/home/jedlund/local/Linux-x86_64/include 
-I/home/jedlund/local/independent/include 
-I/home/jedlund/local/Linux-x86_64/include 
-I/home/jedlund/local/Linux-x86_64/include 
-I/home/jedlund/local/independent/include -Wl,--export-dynamic 
-L/home/jedlund/local/Linux-x86_64/lib -L/home/jedlund/local/Linux-x86_64/lib 
gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plotport.o plotnull.o  
-L/home/jedlund/Downloads/sage-5.3/local/lib -lreadline 
-L/home/jedlund/Downloads/sage-5.3/local/lib/ -ltermcap -lpari  -lm -ldl
gp.o: In function `what_readline':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp.c:761:
 undefined reference to `rl_library_version'
gp_rl.o: In function `change_state':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:115:
 undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:118:
 undefined reference to `rl_restore_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:115:
 undefined reference to `rl_save_prompt'
gp_rl.o: In function `pari_rl_forward_sexp':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:260:
 undefined reference to `rl_ding'
gp_rl.o: In function `rl_print_aide':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:528:
 undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:531:
 undefined reference to `rl_restore_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:528:
 undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:531:
 undefined reference to `rl_restore_prompt'
gp_rl.o: In function `change_state':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:115:
 undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:118:
 undefined reference to `rl_restore_prompt'
gp_rl.o: In function `pari_rl_complete':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:115:
 undefined reference to `rl_save_prompt'
gp_rl.o: In function `treat_single':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:317:
 undefined reference to `rl_completion_append_character'
gp_rl.o: In function `pari_completion':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:571:
 undefined reference to `rl_completion_append_character'
gp_rl.o: In function `get_matches':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:356:
 undefined reference to `rl_completion_matches'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:356:
 undefined reference to `rl_filename_completion_function'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:356:
 undefined reference to `rl_completion_matches'
gp_rl.o: In function `pari_completion':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:584:
 undefined reference to `rl_username_completion_function'
gp_rl.o: In function `add_space':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:557:
 undefined reference to `rl_completion_append_character'
gp_rl.o: In function `get_matches':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:356:
 undefined reference to `rl_completion_matches'
gp_rl.o: In function `change_state':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:115:
 undefined reference to `rl_save_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:118:
 undefined reference to `rl_restore_prompt'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:115:
 undefined reference to `rl_save_prompt'
gp_rl.o: In function `init_readline':
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:762:
 undefined reference to `vi_movement_keymap'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:763:
 undefined reference to `vi_movement_keymap'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:769:
 undefined reference to `vi_movement_keymap'
/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64/../src/gp/gp_rl.c:771:
 undefined reference to `vi_movement_keymap'
collect2: error: ld returned 1 exit status
make[3]: *** [gp-dyn] Error 1
make[3]: Leaving directory 
`/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src/Olinux-x86_64'
make[2]: *** [gp] Error 2
make[2]: Leaving directory 
`/home/jedlund/Downloads/sage-5.3/spkg/build/pari-2.5.2.p0/src'
Error: Building PARI/GP failed.

Any ideas on how to fix this? I tried running the ubuntu_12.04 binaries, but 
they don't work on debian wheezy.

Thanks, 

Jeffrey

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to