[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pspell-devel] pspell on solaris

From: Guillaume Laurès
Subject: [pspell-devel] pspell on solaris
Date: Sun Jan 27 10:09:07 2002


I just wanted to drop you a note on a problem I encountered compiling
pspell .12.1 and .12.2 on Solaris.
I ended up on using .12, which compiled well.

Background: Solaris 2.6, gcc version 2.95.3, Gnu binutils (GNU ld

Compiling .12.1 and .12.2 failed on the following error:
Making all in interface
make[1]: Entering directory
/bin/sh ../libtool --mode=link c++  -g -O2  -o -rpath
/usr/local/pspell-0.12.2/lib -Wl,-mimpure-text -version-info 4:3:0
config.lo file_util.lo string_emulation.lo config_impl.lo getdata.lo
string_map.lo convert.lo itemize.lo string_map_impl.lo error.lo
manager.lo string_pair_emulation.lo error_impl.lo manager_impl.lo
wordlist.lo error_messages.lo string.lo string_list.lo
string_list_impl.lo ../libltdl/ -L../modules/.libs
c++ -shared -nostdlib
.libs/config.o .libs/file_util.o .libs/string_emulation.o
.libs/config_impl.o .libs/getdata.o .libs/string_map.o .libs/convert.o
.libs/itemize.o .libs/string_map_impl.o .libs/error.o .libs/manager.o
.libs/string_pair_emulation.o .libs/error_impl.o .libs/manager_impl.o
.libs/wordlist.o .libs/error_messages.o .libs/string.o
.libs/string_list.o .libs/string_list_impl.o  -Wl,--rpath
-Wl,/export/home/admin/src/pspell-0.12.2/libltdl/.libs -Wl,--rpath
-Wl,/export/home/admin/src/pspell-0.12.2/modules/.libs -Wl,--rpath
-Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/pspell-0.12.2/lib
-Wl,--rpath -Wl,/usr/local/lib  ../libltdl/.libs/
-L/usr/local/sparc-sun-solaris2.6/lib -L/usr/ccs/bin -L/usr/ccs/lib
-L/usr/local/lib /usr/local/lib/
 -L/usr2/SOURCES/S26/gcc-3.0.3/objdir/gcc -L/usr/local/sparc-sun-solaris2.6/bin 
-lm -lgcc -lgcc   -lc 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/crtn.o  -Wl,-mimpure-text 
-Wl,-soname -Wl, -o .libs/
/usr/local/sparc-sun-solaris2.6/bin/ld: unrecognised emulation mode:
Supported emulations: elf32_sparc
collect2: ld returned 1 exit status
make[1]: *** [] Error 1
make[1]: Leaving directory
make: *** [all-recursive] Error 1

I guess that the improvement "hack so that Pspell will properly compile
as a shared library under Solaris" from .12.1 have been tweaked for Sun
CC, but not tested (and actually breaking) gcc on this platform.

I think I will stick on .12 for my use, but if you feel you want to
chase this one feel free to contact me to make some tests (unfortunatey
I don't have access to Sun CC).

Thanks for your work !


reply via email to

[Prev in Thread] Current Thread [Next in Thread]