-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/31/10 4:53 AM, Dominique Dhumieres wrote:
> On ppc 10.5 updating to pgcalc-2.2-1003 failed with
> 
> ...
> g++ -DHAVE_CONFIG_H -I. -I.. -I/sw/include -I/sw/lib/qt3/include 
> -I/usr/X11/include  -I/sw/include  -DQT_THREAD_SUPPORT -I/sw/include  
> -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Os -Wno-non-virtual-dtor 
> -fno-exceptions -fno-check-new -fno-common  -c -o pgcalc.moc.o pgcalc.moc.cc
> In file included from ./atom.h:5,
>                  from ./astack.h:5,
>                  from uCalcRPN.h:7,
>                  from pgcalc.h:22,
>                  from pgcalc.moc.cc:11:
> ./acomplex.h:27:1: warning: "M_PI" redefined
> In file included from /usr/include/math.h:26,
>                  from ./acomplex.h:20,
>                  from ./atom.h:5,
>                  from ./astack.h:5,
>                  from uCalcRPN.h:7,
>                  from pgcalc.h:22,
>                  from pgcalc.moc.cc:11:
> /usr/include/architecture/ppc/math.h:686:1: warning: this is the location of 
> the previous definition
> /bin/sh ../libtool --silent --tag=CXX   --mode=link g++  -Wno-long-long 
> -Wundef -Wall -W -Wpointer-arith -Os -Wno-non-virtual-dtor -fno-exceptions 
> -fno-check-new -fno-common  -R /sw/lib -R /sw/lib -R /sw/lib/qt3/lib -R 
> /usr/X11/lib -R /sw/lib -L/sw/lib -L/sw/lib/qt3/lib -L/usr/X11/lib    
> -L/sw/lib 
> -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
>  -L/sw/lib -o pgcalc main.o pgcalc.o tlcd.o tlcdfont.o astring.o astrings.o 
> pgxml.o ptree.o tpgsystemtray.o acomplex.o atomutil.o aconst.o amatrix.o 
> ameasure.o avector.o atom.o atomlist.o tcalcbutton.o TInputBox.o TInputLine.o 
> uCalcAlg.o uCalcConst.o uCalcMnu.o ucalcobj.o uCalcRPN.o uCalcTVM.o 
> uCalcUnitConv.o uCalcVar.o uCalcWin.o uFuncKey.o astack.o ainter.o 
> calctypes.o keycodetr.o tpgsystemtray.moc.o pgcalc.moc.o  -lkdeui 
> Undefined symbols:
>   "QPixmap::convertToImage() const", referenced from:
>       TLCDDisplay::invertRect(RECT&)       in tlcd.o
>       TCalcButton::makeHighlightMask()       in tcalcbutton.o
>       TCalcButton::drawPressedKind1()       in tcalcbutton.o
> ...
>   "QPainter::lineTo(int, int)", referenced from:
>       TLCDDisplay::clear()      in tlcd.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[2]: *** [pgcalc] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> 
> TIA
> 
> Dominique
> 

Checking my 10.5 system, I found that QPixmap::convertToImage() was
defined in  /sw/lib/qt3/lib/libqt-mt.3.3.8.dylib

$ nm -o /sw/lib/qt3/lib/libqt-mt.3.3.8.dylib | c++filt | grep "T
QPixmap::convertToImage()"
/sw/lib/qt3/lib/libqt-mt.3.3.8.dylib:single module: 0002ca7c T
QPixmap::convertToImage() const

Do you get the same thing?
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkx9DkQACgkQB8UpO3rKjQ+YQgCgnslpIBUchYC0X/owC9/RHGKt
1Q4Anj/+Ll1nGjIUftwxEnXdklhxRo03
=xRNg
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to