Hi!

I'm trying to build a port of FlightGear 2.6.0 on FreeBSD, and it
fails with the same error every time. What can possibly cause it?
I already contacted port maintainer, and he said the port should build
fine. We tried reinstalling FLTK and the ports it depends on, but it
didn't help.

Scanning dependencies of target fgadmin
[ 97%] Building CXX object
utils/fgadmin/src/CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o
In file included from
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin.h:14,
                 from
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:37:
/usr/local/include/FL/Fl_Check_Browser.H:100: error: expected
unqualified-id before 'sizeof'
/usr/local/include/FL/Fl_Check_Browser.H:100: error: expected `)'
before 'sizeof'
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:
In member function 'void FGAdminUI::install_selected()':
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:283:
error: expected unqualified-id before '(' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:283:
error: expected primary-expression before ')' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:283:
error: expected primary-expression before ')' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:
In member function 'void FGAdminUI::remove_selected()':
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:391:
error: expected unqualified-id before '(' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:391:
error: expected primary-expression before ')' token
/usr/ports/games/flightgear/work/flightgear-2.6.0/utils/fgadmin/src/fgadmin_funcs.cxx:391:
error: expected primary-expression before ')' token
*** [utils/fgadmin/src/CMakeFiles/fgadmin.dir/fgadmin_funcs.cxx.o] Error code 1

-- 
Nik

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to