aspell-devel
[Top][All Lists]
Advanced

[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

Hello,

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
2.11.2)

Compiling .12.1 and .12.2 failed on the following error:
Making all in interface
make[1]: Entering directory
`/export/home/admin/src/pspell-0.12.2/interface'
/bin/sh ../libtool --mode=link c++  -g -O2  -o libpspell.la -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/libltdl.la -L../modules/.libs
../modules/libpspell-modules.la 
c++ -shared -nostdlib
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/crti.o
/usr/ccs/lib/values-Xa.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/crtbegin.o 
.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/libltdl.so
-L/export/home/admin/src/pspell-0.12.2/modules/.libs
../modules/.libs/libpspell-modules.so
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3
-L/usr/local/sparc-sun-solaris2.6/lib -L/usr/ccs/bin -L/usr/ccs/lib
-L/usr/local/lib /usr/local/lib/libstdc++.so
-L/usr2/SOURCES/S26/gcc-3.0.3/objdir/sparc-sun-solaris2.6/libstdc++-v3/src 
-L/usr2/SOURCES/S26/gcc-3.0.3/objdir/sparc-sun-solaris2.6/libstdc++-v3/src/.libs
 -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/crtend.o 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/crtn.o  -Wl,-mimpure-text 
-Wl,-soname -Wl,libpspell.so.4 -o .libs/libpspell.so.4.0.3
/usr/local/sparc-sun-solaris2.6/bin/ld: unrecognised emulation mode:
impure-text
Supported emulations: elf32_sparc
collect2: ld returned 1 exit status
make[1]: *** [libpspell.la] Error 1
make[1]: Leaving directory
`/export/home/admin/src/pspell-0.12.2/interface'
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 !

Bye,
-- 
GoM




reply via email to

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