Carl-Johan Sveningsson wrote:

> We're having problem compiling licq here on Chalmers Computer Science
> Solaris system. We've found two strange things.
>
> 1. With qt-2.3.0, configure complains about not finding qt, which is
> weird, since a check in config.log reveals:
>
> ltconfig:1976: checking whether a statically linked program can dlopen
> itself
> ltconfig:2031: gcc -o conftest  -O2 -fno-builtin -fno-rtti -fno-exceptions
> -D_R
> EENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DPIC -fPIC
> -DHAVE_DLFCN_H  -m
> impure-text  -static conftest.c -ldl  1>&5
> ld: fatal: library -ldl: not found
> ld: fatal: File processing errors. No output written to conftest
> collect2: ld returned 1 exit status
> ltconfig: failed program was:
> /*#line 1984 "ltconfig"*/
>

Remove '-mimpure-text' flag from configure [ and configure.in] script if you
want to build with
GNU C/C++ compiler, i.e. patch as shown :

           *-*-solaris*)
                CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DUSE_SOLARIS
                # LDFLAGS="$LDFLAGS -mimpure-text"
                echo "Setting Solaris compilation options"
                ;;


--
WBR, Roman

Visquez EG (http://www.visquez.com)




_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to