Hi!

> Which version of FreeBSD ? Do you have BATCH enabled in make.conf ? Are
> you sure your port dependencies are up to date ? Do you have any other
> custom rules defined in make.conf ?
>
> Cheers,
>         Martin.

FreeBSD was relatively recent 9-STABLE, yesterday I upgraded it to
9.1-PRERELEASE #0 r240025.
My make.conf only contains PERL_VERSION added by perl port.

> my bet is that FreeBSD has a macro named 'nitems' that conflicts with a FLTK 
> member function of the same name.
>
> Regards,
> -Fred

I'm not a programmer, but I could try to check it. Is there an
accessible way to do it?

Regards


>> 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

------------------------------------------------------------------------------
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