#15 Compile on Archlinux ppc fails

closed-fixed
nobody
General (3)
5
2011-04-27
2011-04-20
Fred
No

When building on Archlinux ppc, the following error message is generated:

cd OpenRPT/renderer/ && make -f Makefile
make[1]: Entering directory
`/home/fred/src/xtuple/openrpt/OpenRPT/renderer'
g++ -c -pipe -mtune=powerpc -mpowerpc-gfxopt -O2 -pipe -fPIC -Wall -W
-D_REENTRANT -DMAKELIB -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++
-I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtXml
-I/usr/include/QtSql -I/usr/include -I../common -I../../common -Itmp -o
tmp/graph.o graph.cpp
graph.cpp: In function 'void renderGraph(QPainter&, const QRect&,
ORGraphData&, XSqlQuery*, const QMap<QString, QColor>&)':
graph.cpp:780:57: error: taking address of temporary [-fpermissive]
make[1]: *** [tmp/graph.o] Error 1
make[1]: Leaving directory
`/home/fred/src/xtuple/openrpt/OpenRPT/renderer'
make: *** [sub-OpenRPT-renderer-make_default-ordered] Error 2

Build is on an iBook G4.

Thanks

Fred

Discussion

  • Chris Ryan

    Chris Ryan - 2011-04-25

    Some newer compilers are being more strict about this. This should just cause a warning and you can try the following command line:

    qmake QMAKE_CXXFLAGS=-fpermissive

    If that works it should help get you moving. The code should be changed to not generate that warning/error at all.

     
  • Fred

    Fred - 2011-04-25

    Thanks. I tried qmake QMAKE_CXXFLAGS=-fpermissive and re built the source code after pulling down the latest from svn. It finished building without errors. I am finishing up a compile of xtuple and will test all together when it is finished.

    Take Care,

    Fred

     
  • Fred

    Fred - 2011-04-26

    All is well. Xtuple is up and running on my iBook G4 under Archlinux ppc. Now how to package everything??

    Thanks Again!

    Fred

     
  • Chris Ryan

    Chris Ryan - 2011-04-27
    • labels: --> General
    • status: open --> closed-fixed
     
  • Chris Ryan

    Chris Ryan - 2011-04-27

    I changed the code to remove the warning/error that was being generated. Closing issue.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks