#13 Problem with /usr/ccs/bin/as

open-out-of-date
nobody
None
5
2003-08-15
2002-11-04
Anonymous
No

Hello all

When I try to compile PerlQt 3.002 I face a compilation problem
that is beyond my scope.

My system:
- Solaris 7 with gcc 3.0.1.
- Qt 3.0.6 with thread support
- env CFLAGS='-I/usr/local/include' ./configure --prefix=/usr/pack/$sepp --with-qt-dir=/usr/pack/qt-3.0.6-bm

When I want to compile it fails with this error:

make[3]: Entering directory `/usr/ife/local/src/PerlQt-3.002/smoke/qt'
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/pack/perlqt-3.002-bm/include -I/usr/pack/qt-3.0.6
-bm/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -O2 -fno-exceptions -fno-check-new -c
smokedata.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -I/usr/pack/perlqt-3.002-bm/include -I/usr/pack/qt-3.0.6-bm/include -DQT_THREAD_SUPPORT -D_RE
ENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -O2 -fno-exceptions -fno-check-new -Wp,-MD,.deps/smokedata.pp -c smokedata.cpp
-fPIC -DPIC -o .libs/smokedata.o
/usr/ccs/bin/as: "/var/tmp/cc17I7mP.s", line 1055: error: can't compute value of an expression involving an external symbol
/usr/ccs/bin/as: "/var/tmp/cc17I7mP.s", line 1077: error: can't compute value of an expression involving an external symbol
/usr/ccs/bin/as: "/var/tmp/cc17I7mP.s", line 2671: error: can't compute value of an expression involving an external symbol
make[3]: *** [smokedata.lo] Error 1

My assembler cannot find certain required symbols. It this a
configuration error or something in the source?

Thanks a lot for your assistance!

Beat
beat.mueller@ife.ee.ethz.ch

Discussion

  • Logged In: NO

    to fix this, use gas not as... or install the gnu version
    of as. most of the solaris compiler programs do not have the
    features the gnu counterparts do

     
  • germain garand
    germain garand
    2003-08-15

    • status: open --> open-out-of-date
     
  • germain garand
    germain garand
    2003-08-15

    Logged In: YES
    user_id=145773

    mmh this one is getting old but I haven't got much clue about
    Solaris...
    However, since Marek Rouchal compiles PerlQt regularly on this
    platform, it should work now...
    Does "nobody"'s advice of using gas instead of as solves it?
    Remind me if not.