Hi all.

I'm having some problems building the qt example programs.

-----------------------------------
$ make 2> err.txt
g++-2.95  -c -I/usr/include/qt -pipe -fno-exceptions -O3 -Wall 
-Wpointer-arith -Wwrite-strings -Wmissing-prototypes  -o hello.o hello.cpp
g++-2.95 -L/lib    -o ./hello hello.o main.o moc_hello.o  -lqt
------------------------------------

Errors:
...
main.o(.text+0x24): undefined reference to `QString::shared_null'
...

-----------------------------------
$ readelf -s /usr/lib/libqt.so | c++filt | grep "QString::shared_null"
  1175: 00482e64     4 OBJECT  GLOBAL DEFAULT   13 QString::shared_null
------------------------------------

Does anyone have any idea what the problem could be?

Thanks,
Craig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to