gcc-ooo issue

Joshua F Hollenbeck hollenjf at solarcourt.net
Sat Dec 23 09:11:04 PST 2006


Dear port maintainer,

here is a possible problem with the gcc-ooo port.   My tree and install
ports were upgrades today (December 23, 2006 at 10:00am EST).

Here is my error:



root at zephram# make install clean
===>  Building for gcc-ooo-3.4.1_2
gmake[1]: Entering directory
`/usr/ports/lang/gcc-ooo/work/build/libiberty' gmake[2]: Entering
directory `/usr/ports/lang/gcc-ooo/work/build/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory
`/usr/ports/lang/gcc-ooo/work/build/libiberty/testsuite' gmake[1]:
Leaving directory `/usr/ports/lang/gcc-ooo/work/build/libiberty'
gmake[1]: Entering directory `/usr/ports/lang/gcc-ooo/work/build/intl'
gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory
`/usr/ports/lang/gcc-ooo/work/build/intl' Bootstrapping the compiler
gmake[1]: Entering directory `/usr/ports/lang/gcc-ooo/work/build/gcc'
gmake CC="cc"
libdir=/usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/lib
LANGUAGES="c " \ CFLAGS="-g " MAKEINFO="makeinfo --no-split" \
MAKEINFOFLAGS="--no-split" COVERAGE_FLAGS= \ OBJS-onestep="alias.o
bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o
cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgloopanal.o
cfgloopmanip.o loop-init.o loop-unswitch.o loop-unroll.o cfgrtl.o
combine.o conflict.o convert.o coverage.o cse.o cselib.o dbxout.o
debug.o df.o diagnostic.o dojump.o doloop.o dominance.o dwarf2asm.o
dwarf2out.o emit-rtl.o except.o explow.o expmed.o expr.o final.o flow.o
fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o
gtype-desc.o haifa-sched.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o
insn-modes.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o
insn-recog.o integrate.o intl.o jump.o  langhooks.o lcm.o lists.o
local-alloc.o loop.o optabs.o options.o opts.o params.o postreload.o
predict.o print-rtl.o print-tree.o value-prof.o profile.o ra.o
ra-build.o ra-colorize.o ra-debug.o ra-rewrite.o real.o recog.o
reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o
resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o
sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sibcall.o simplify-rtx.o
sreal.o stmt.o stor-layout.o stringpool.o targhooks.o timevar.o
toplev.o tracer.o tree.o tree-dump.o unroll.o varasm.o varray.o
version.o vmsdbgout.o xcoffout.o alloc-pool.o et-forest.o cfghooks.o
bt-load.o pretty-print.o ggc-page.o web.o i386.o  host-default.o
hashtable.o tree-inline.o tree-optimize.o cgraph.o cgraphunit.o"
gmake[2]: Entering directory `/usr/ports/lang/gcc-ooo/work/build/gcc'
cc -c   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H
-I/usr/local/include   -I. -I. -I.././..//gcc-3.4.1/gcc
-I.././..//gcc-3.4.1/gcc/. -I.././..//gcc-3.4.1/gcc/../include
\ .././..//gcc-3.4.1/gcc/c-opts.c -o
c-opts.o .././..//gcc-3.4.1/gcc/c-opts.c:120: warning: ISO C forbids
forward references to `enum' types .././..//gcc-3.4.1/gcc/c-opts.c:120:
warning: "enum opt_code" declared inside parameter
list .././..//gcc-3.4.1/gcc/c-opts.c:120: warning: its scope is only
this definition or declaration, which is probably not what you
want .././..//gcc-3.4.1/gcc/c-opts.c:120: warning: parameter has
incomplete type .././..//gcc-3.4.1/gcc/c-opts.c:123: warning: ISO C
forbids forward references to `enum'
types .././..//gcc-3.4.1/gcc/c-opts.c:123: error: field `code' has
incomplete type .././..//gcc-3.4.1/gcc/c-opts.c: In function
`c_common_missing_argument': .././..//gcc-3.4.1/gcc/c-opts.c:140:
error: `OPT_fconstant_string_class_' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:140: error: (Each undeclared
identifier is reported only once .././..//gcc-3.4.1/gcc/c-opts.c:140:
error: for each function it appears
in.) .././..//gcc-3.4.1/gcc/c-opts.c:144: error: `OPT_A' undeclared
(first use in this function) .././..//gcc-3.4.1/gcc/c-opts.c:148:
error: `OPT_D' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:149: error: `OPT_U'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:153: error: `OPT_I'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:154: error: `OPT_idirafter'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:155: error: `OPT_isysroot'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:156: error: `OPT_isystem'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:160: error: `OPT_MF'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:161: error: `OPT_MD'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:162: error: `OPT_MMD'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:163: error: `OPT_include'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:164: error: `OPT_imacros'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:165: error: `OPT_o'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:169: error: `OPT_MQ'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:170: error: `OPT_MT'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c: At top
level: .././..//gcc-3.4.1/gcc/c-opts.c:180: warning: ISO C forbids
forward references to `enum' types .././..//gcc-3.4.1/gcc/c-opts.c:181:
error: parameter `code' has incomplete
type .././..//gcc-3.4.1/gcc/c-opts.c:180: warning: unused parameter
'code' .././..//gcc-3.4.1/gcc/c-opts.c: In function
`c_common_init_options': .././..//gcc-3.4.1/gcc/c-opts.c:191: error:
`CL_C' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:191: error: initializer
element is not constant .././..//gcc-3.4.1/gcc/c-opts.c:191: error:
(near initialization for `lang_flags[0]')
.././..//gcc-3.4.1/gcc/c-opts.c:191: error: `CL_ObjC' undeclared (first
use in this function) .././..//gcc-3.4.1/gcc/c-opts.c:191: error:
initializer element is not
constant .././..//gcc-3.4.1/gcc/c-opts.c:191: error: (near
initialization for
`lang_flags[1]') .././..//gcc-3.4.1/gcc/c-opts.c:191: error: `CL_CXX'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:191: error: initializer
element is not constant .././..//gcc-3.4.1/gcc/c-opts.c:191: error:
(near initialization for
`lang_flags[2]') .././..//gcc-3.4.1/gcc/c-opts.c:191: error:
`CL_ObjCXX' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:191: error: initializer
element is not constant .././..//gcc-3.4.1/gcc/c-opts.c:191: error:
(near initialization for
`lang_flags[3]') .././..//gcc-3.4.1/gcc/c-opts.c: In function
`c_common_handle_option': .././..//gcc-3.4.1/gcc/c-opts.c:247: warning:
ISO C forbids forward references to `enum'
types .././..//gcc-3.4.1/gcc/c-opts.c:247: error: variable `code' has
initializer but incomplete type .././..//gcc-3.4.1/gcc/c-opts.c:247:
warning: ISO C forbids forward references to `enum'
types .././..//gcc-3.4.1/gcc/c-opts.c:247: error: conversion to
incomplete type .././..//gcc-3.4.1/gcc/c-opts.c:247: error: storage
size of 'code' isn't known .././..//gcc-3.4.1/gcc/c-opts.c:256: error:
`OPT__output_pch_' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:260: error: `OPT_A'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:261: error: type of formal
parameter 1 is incomplete .././..//gcc-3.4.1/gcc/c-opts.c:264: error:
`OPT_C' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:268: error: `OPT_CC'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:273: error: `OPT_D'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:274: error: type of formal
parameter 1 is incomplete .././..//gcc-3.4.1/gcc/c-opts.c:277: error:
`OPT_E' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:281: error: `OPT_H'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:285: error: `OPT_I'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:297: error: `OPT_M'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:298: error: `OPT_MM'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:308: error: `OPT_MD'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:309: error: `OPT_MMD'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:314: error: `OPT_MF'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:319: error: `OPT_MG'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:324: error: `OPT_MP'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:329: error: `OPT_MQ'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:330: error: `OPT_MT'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:332: error: type of formal
parameter 1 is incomplete .././..//gcc-3.4.1/gcc/c-opts.c:335: error:
`OPT_P' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:339: error:
`OPT_fworking_directory' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:343: error: `OPT_U'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:344: error: type of formal
parameter 1 is incomplete .././..//gcc-3.4.1/gcc/c-opts.c:347: error:
`OPT_Wabi' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:351: error: `OPT_Wall'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:393: error:
`OPT_Wbad_function_cast' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:397: error: `OPT_Wcast_qual'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:401: error:
`OPT_Wchar_subscripts' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:405: error: `OPT_Wcomment'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:406: error: `OPT_Wcomments'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:410: error: `OPT_Wconversion'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:414: error:
`OPT_Wctor_dtor_privacy' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:418: error:
`OPT_Wdeclaration_after_statement' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:422: error: `OPT_Wdeprecated'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:427: error:
`OPT_Wdiv_by_zero' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:431: error: `OPT_Weffc__'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:435: error:
`OPT_Wendif_labels' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:439: error: `OPT_Werror'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:443: error:
`OPT_Werror_implicit_function_declaration' undeclared (first use in
this function) .././..//gcc-3.4.1/gcc/c-opts.c:447: error:
`OPT_Wfloat_equal' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:451: error: `OPT_Wformat'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:455: error: `OPT_Wformat_'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:459: error:
`OPT_Wformat_extra_args' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:463: error:
`OPT_Wformat_nonliteral' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:467: error:
`OPT_Wformat_security' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:471: error: `OPT_Wformat_y2k'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:475: error:
`OPT_Wformat_zero_length' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:479: error: `OPT_Winit_self'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:483: error: `OPT_Wimplicit'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:487: error:
`OPT_Wimplicit_function_declaration' undeclared (first use in this
function)
.././..//gcc-3.4.1/gcc/c-opts.c:491: error: `OPT_Wimplicit_int'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:495: error: `OPT_Wimport'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:499: error:
`OPT_Winvalid_offsetof' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:503: error:
`OPT_Winvalid_pch' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:507: error: `OPT_Wlong_long'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:511: error: `OPT_Wmain'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:518: error:
`OPT_Wmissing_braces' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:522: error:
`OPT_Wmissing_declarations' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:526: error:
`OPT_Wmissing_format_attribute' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:530: error:
`OPT_Wmissing_prototypes' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:534: error: `OPT_Wmultichar'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:538: error:
`OPT_Wnested_externs' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:542: error:
`OPT_Wnon_template_friend' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:546: error:
`OPT_Wnon_virtual_dtor' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:550: error: `OPT_Wnonnull'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:554: error:
`OPT_Wold_style_definition' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:558: error:
`OPT_Wold_style_cast' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:562: error:
`OPT_Woverloaded_virtual' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:566: error:
`OPT_Wparentheses' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:570: error:
`OPT_Wpmf_conversions' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:574: error:
`OPT_Wpointer_arith' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:578: error: `OPT_Wprotocol'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:582: error: `OPT_Wselector'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:586: error:
`OPT_Wredundant_decls' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:590: error: `OPT_Wreorder'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:594: error:
`OPT_Wreturn_type' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:598: error:
`OPT_Wsequence_point' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:602: error:
`OPT_Wsign_compare' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:606: error: `OPT_Wsign_promo'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:610: error:
`OPT_Wstrict_prototypes' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:614: error: `OPT_Wsynth'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:618: error:
`OPT_Wsystem_headers' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:622: error:
`OPT_Wtraditional' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:627: error: `OPT_Wtrigraphs'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:631: error:
`OPT_Wundeclared_selector' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:635: error: `OPT_Wundef'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:639: error:
`OPT_Wunknown_pragmas' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:645: error:
`OPT_Wunused_macros' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:649: error:
`OPT_Wwrite_strings' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:656: error: `OPT_ansi'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:663: error: `OPT_d'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:667: error:
`OPT_fcond_mismatch' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:675: error:
`OPT_fall_virtual' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:676: error:
`OPT_falt_external_templates' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:677: error:
`OPT_fenum_int_equiv' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:678: error:
`OPT_fexternal_templates' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:679: error:
`OPT_fguiding_decls' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:680: error: `OPT_fhonor_std'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:681: error:
`OPT_fhuge_objects' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:682: error: `OPT_flabels_ok'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:683: error:
`OPT_fname_mangling_version_' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:684: error: `OPT_fnew_abi'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:685: error:
`OPT_fnonnull_objects' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:686: error: `OPT_fsquangle'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:687: error:
`OPT_fstrict_prototype' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:688: error:
`OPT_fthis_is_variable' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:689: error:
`OPT_fvtable_thunks' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:690: error: `OPT_fxref'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:691: error: `OPT_fvtable_gc'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:695: error:
`OPT_faccess_control' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:699: error: `OPT_fasm'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:703: error: `OPT_fbuiltin'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:707: error: `OPT_fbuiltin_'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:714: error:
`OPT_fdollars_in_identifiers' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:718: error: `OPT_fdump_'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:723: error:
`OPT_ffreestanding' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:726: error: `OPT_fhosted'
undeclared (first use in this function)
.././..//gcc-3.4.1/gcc/c-opts.c:734: error: `OPT_fshort_double'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:738: error:
`OPT_fshort_enums' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:742: error:
`OPT_fshort_wchar' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:746: error:
`OPT_fsigned_bitfields' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:751: error:
`OPT_fsigned_char' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:755: error:
`OPT_funsigned_bitfields' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:760: error:
`OPT_funsigned_char' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:764: error: `OPT_fcheck_new'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:768: error:
`OPT_fconserve_space' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:772: error:
`OPT_fconst_strings' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:776: error:
`OPT_fconstant_string_class_' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:780: error:
`OPT_fdefault_inline' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:784: error:
`OPT_felide_constructors' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:788: error:
`OPT_fenforce_eh_specs' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:792: error: `OPT_ffixed_form'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:793: error:
`OPT_ffixed_line_length_' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:799: error: `OPT_ffor_scope'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:803: error:
`OPT_fgnu_keywords' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:807: error:
`OPT_fgnu_runtime' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:811: error:
`OPT_fhandle_exceptions' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:816: error:
`OPT_fimplement_inlines' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:820: error:
`OPT_fimplicit_inline_templates' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:824: error:
`OPT_fimplicit_templates' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:828: error:
`OPT_fms_extensions' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:832: error:
`OPT_fnext_runtime' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:836: error:
`OPT_fnil_receivers' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:840: error:
`OPT_fnonansi_builtins' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:844: error:
`OPT_fobjc_exceptions' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:848: error:
`OPT_foperator_names' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:852: error:
`OPT_foptional_diags' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:856: error: `OPT_fpch_deps'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:860: error: `OPT_fpermissive'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:864: error:
`OPT_fpreprocessed' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:868: error:
`OPT_freplace_objc_classes' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:872: error: `OPT_frepo'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:878: error: `OPT_frtti'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:882: error:
`OPT_fshow_column' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:886: error: `OPT_fstats'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:890: error: `OPT_ftabstop_'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:896: error:
`OPT_fexec_charset_' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:900: error:
`OPT_fwide_exec_charset_' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:904: error:
`OPT_finput_charset_' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:908: error:
`OPT_ftemplate_depth_' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:912: error:
`OPT_fuse_cxa_atexit' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:916: error:
`OPT_fvisibility_inlines_hidden' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:920: error: `OPT_fweak'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:924: error: `OPT_fzero_link'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:928: error: `OPT_gen_decls'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:932: error: `OPT_idirafter'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:936: error: `OPT_imacros'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:937: error: `OPT_include'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:938: error: type of formal
parameter 1 is incomplete .././..//gcc-3.4.1/gcc/c-opts.c:941: error:
`OPT_iprefix' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:945: error: `OPT_isysroot'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:949: error: `OPT_isystem'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:953: error: `OPT_iwithprefix'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:957: error:
`OPT_iwithprefixbefore' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:961: error: `OPT_lang_asm'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:966: error: `OPT_lang_objc'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:970: error: `OPT_nostdinc'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:974: error: `OPT_nostdinc__'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:978: error: `OPT_o'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:988: error:
`OPT_pedantic_errors' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:991: error: `OPT_pedantic'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:996: error:
`OPT_print_objc_runtime_info' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1000: error: `OPT_remap'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1004: error: `OPT_std_c__98'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1005: error:
`OPT_std_gnu__98' undeclared (first use in this function)
.././..//gcc-3.4.1/gcc/c-opts.c:1009: error: `OPT_std_c89' undeclared
(first use in this function) .././..//gcc-3.4.1/gcc/c-opts.c:1010:
error: `OPT_std_iso9899_1990' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1011: error:
`OPT_std_iso9899_199409' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1015: error: `OPT_std_gnu89'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1019: error: `OPT_std_c99'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1020: error: `OPT_std_c9x'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1021: error:
`OPT_std_iso9899_1999' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1022: error:
`OPT_std_iso9899_199x' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1026: error: `OPT_std_gnu99'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1027: error: `OPT_std_gnu9x'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1031: error: `OPT_trigraphs'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1035: error:
`OPT_traditional_cpp' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1039: error: `OPT_undef'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1043: error: `OPT_w'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1047: error: `OPT_v'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:247: warning: unused variable
`code' .././..//gcc-3.4.1/gcc/c-opts.c: In function
`check_deps_environment_vars': .././..//gcc-3.4.1/gcc/c-opts.c:1313:
error: `OPT_MT' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1313: error: type of formal
parameter 1 is incomplete .././..//gcc-3.4.1/gcc/c-opts.c: In function
`handle_deferred_opts': .././..//gcc-3.4.1/gcc/c-opts.c:1335: error:
`OPT_MT' undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1335: error: `OPT_MQ'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c: In function
`finish_options': .././..//gcc-3.4.1/gcc/c-opts.c:1428: error: `OPT_D'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1430: error: `OPT_U'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1432: error: `OPT_A'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c:1447: error: `OPT_imacros'
undeclared (first use in this
function) .././..//gcc-3.4.1/gcc/c-opts.c: In function
`push_command_line_include': .././..//gcc-3.4.1/gcc/c-opts.c:1469:
error: `OPT_include' undeclared (first use in this function) gmake[2]:
*** [c-opts.o] Error 1 gmake[2]: Leaving directory
`/usr/ports/lang/gcc-ooo/work/build/gcc' gmake[1]: *** [stage1_build]
Error 2 gmake[1]: Leaving directory
`/usr/ports/lang/gcc-ooo/work/build/gcc' gmake: *** [bootstrap-lean]
Error 2 *** Error code 2

Stop in /usr/ports/lang/gcc-ooo.
root at zephram# 


And Below here is my MakeFile




# ex:ts=8
# Ports collection makefile for:        egcs
# Date created:                         9 Jan 1998
# Whom:                                 John Polstra <jdp at polstra.com>
#
# $FreeBSD: ports/lang/gcc-ooo/Makefile,v 1.199 2006/05/09 20:52:13
edwin Exp $ #

PORTNAME=       gcc-ooo
PORTVERSION=    3.4.1
PORTREVISION=   2
CATEGORIES=     lang
MASTER_SITES=   ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR=     releases/gcc-${PORTVERSION}
DISTFILES=      \
                gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
                gcc-g++-${PORTVERSION}${EXTRACT_SUFX} \
                gcc-testsuite-${PORTVERSION}${EXTRACT_SUFX}

PATCH_SITES+=   http://www.nedprod.com/TnFOX/patches/
PATCHFILES+=    GCC3.4.0VisibilityPatch2.diff
PATCH_DIST_STRIP=       -p1

MAINTAINER?=    openoffice at FreeBSD.org
COMMENT?=       GNU Compiler Collection for OpenOffice.org

NOT_FOR_ARCHS=  ia64

NO_LATEST_LINK= yes

USE_BISON=      yes
USE_BZIP2=      yes
USE_GMAKE=      yes
USE_PERL5_BUILD=yes

CONFIGURE_SCRIPT=       ../${SRCDIR:C/${WRKDIR}//}/configure
NOMANCOMPRESS=  yes     # too hard to deal with differences on 5-cur
and releng4

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
CONFIGURE_TARGET=       x86_64-portbld-freebsd${OSREL}
.else
CONFIGURE_TARGET=       ${ARCH}-portbld-freebsd${OSREL}
.endif

SRCDIR=         ${WRKDIR}/gcc-${PORTVERSION}
PATCH_WRKSRC=   ${SRCDIR}
WRKSRC=         ${WRKDIR}/build
SUFFIX=         -ooo
TARGLIB=        ${PREFIX}/gcc-ooo/${CONFIGURE_TARGET}/${PORTVERSION}
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-nls \
                --with-system-zlib \
                --with-libiconv-prefix=${LOCALBASE} \
                --program-suffix=${SUFFIX} \
                --libdir=${TARGLIB}/lib \
                --libexecdir=${TARGLIB}/libexec \
                --with-gxx-include-dir=${TARGLIB}/include/c++/
MAKE_ARGS+=     MAKEINFOFLAGS="--no-split"
.if defined(WANT_SHAREDLIBS)
CONFIGURE_ARGS+=        --enable-shared
INSTALLS_SHLIB= yes
LDCONFIG_DIRS=  %%PREFIX%%/lib ${TARGLIB}
EXTRA_SHLIB=
libgcc_s .else
CONFIGURE_ARGS+=        --disable-shared
.endif
ALL_TARGET=     bootstrap-lean
PLIST_SUB=      GCC_VER=${PORTVERSION} GNU_HOST=${CONFIGURE_TARGET}
MAN1=           cpp${SUFFIX}.1 \
                g++${SUFFIX}.1 \
                gcc${SUFFIX}.1 \
                gcov${SUFFIX}.1
MAN7=           fsf-funding.7 gfdl.7 gpl.7
INFO=           cpp cppinternals gcc gccinstall gccint

pre-everything::
        @${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS}
${OSREL}  target=${CONFIGURE_TARGET}"

post-patch:
        @${REINPLACE_CMD} -e 's|\(const char version_string.*\)";|\1
[FreeBSD]";|' \ ${SRCDIR}/gcc/version.c

pre-configure:
        cd ${SRCDIR} ; contrib/gcc_update --touch
        @${RM} -f ${SRCDIR}/gcc/*/*.info*
        @${MKDIR} ${CONFIGURE_WRKSRC}

post-build:
        @${ECHO_MSG} "Consider running 'make check' before 'make
install', especially" @${ECHO_MSG} "if you have not performed this
build on -STABLE or -CURRENT." @${ECHO_MSG} "This assumes that you have
the dejagnu port installed."

check: build
        cd ${WRKSRC}; export RUNTESTFLAGS='--target_board
''unix{-pthread}'''; ${GMAKE} -sk check

post-install: fake-manpages
.for f in c++ gcc g++ cpp gcov ${CONFIGURE_TARGET}-gcc
${CONFIGURE_TARGET}-g++ if [ -e ${PREFIX}/bin/${f}${SUFFIX} ]; then \
          ${STRIP_CMD} ${PREFIX}/bin/${f}${SUFFIX}; \
        fi
        if [ -e ${PREFIX}/man/man1/${f}.1 ]; then \
          ${MV} -f ${PREFIX}/man/man1/${f}.1 \
                   ${PREFIX}/man/man1/${f}${SUFFIX}.1; \
        fi
.endfor
.for d in gcc-ooo
        cd ${PREFIX} ; if [ -d $d ]; then \
            ${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
            ${FIND} $d -type d | ${SORT} -r \
                | ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
        fi
.endfor
        ${ECHO_CMD} "r ${TMPPLIST}"             > ${WRKDIR}/ex.script
        ${ECHO_CMD} "/Insert PLIST.lib"         >> ${WRKDIR}/ex.script
        ${ECHO_CMD} "d"                         >> ${WRKDIR}/ex.script
        ${ECHO_CMD} "r ${WRKDIR}/PLIST.lib"     >> ${WRKDIR}/ex.script
        ${ECHO_CMD} "x!"                        >> ${WRKDIR}/ex.script
        ${CP} -p ${TMPPLIST} ${TMPPLIST}.pre
        cd ${WRKDIR} ; ex < ex.script

fake-manpages:
        # man pages can only be generated if Perl >= 5.6 is installed,
so # fake them on 4.x systems.
.for mp in ${_MANPAGES}
        ( ${TEST} -e ${mp} || ${TOUCH} ${TOUCH_FLAGS} ${mp} )
.endfor

.include <bsd.port.post.mk>








please reply to hollenjf at solarcourt.net and cc to
merchant at solarcourt.net



Thanks.

Josh F Hollenbeck


More information about the freebsd-ports mailing list