Re: [MacPorts] #30665: tiemu3: ‘GtkFunction’ undeclared (first use in this function) (was: tiemu3 fails to build under OS X 10.6.8)
MacPorts
noreply at macports.org
Tue Aug 9 07:08:09 PDT 2011
#30665: tiemu3: ‘GtkFunction’ undeclared (first use in this function)
-----------------------------+----------------------------------------------
Reporter: rubgb@… | Owner: and.damore@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port: tiemu3
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):
* keywords: tiemu =>
* owner: macports-tickets@… => and.damore@…
Old description:
> I have failed to build sucessfully tiemu 3.02 under 10.6.8
>
> This is the part of the log containing the error messages:
>
> :info:build gui/calc/calc.c: In function ‘hid_init’:
> :info:build gui/calc/calc.c:589: error: ‘GtkFunction’ undeclared (first
> use in this function)
> :info:build gui/calc/calc.c:589: error: (Each undeclared identifier is
> reported only once
> :info:build gui/calc/calc.c:589: error: for each function it appears in.)
> :info:build gui/calc/calc.c:589: error: expected ‘)’ before ‘hid_refresh’
> :info:build gui/calc/calc.c:589: error: too few arguments to function
> ‘g_timeout_add’
> :info:build gui/calc/calc.c: In function ‘hid_lcd_rate_set’:
> :info:build gui/calc/calc.c:643: error: ‘GtkFunction’ undeclared (first
> use in this function)
> :info:build gui/calc/calc.c:643: error: expected ‘)’ before ‘hid_refresh’
> :info:build gui/calc/calc.c:643: error: too few arguments to function
> ‘g_timeout_add’
> :info:build make[2]: *** [gui/calc/calc.o] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/work/tiemu-3.02/src'
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/work/tiemu-3.02'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/work/tiemu-3.02'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/work/tiemu-3.02"
> && /usr/bin/make -j2 -w all " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for tiemu3):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Log for tiemu3 is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/main.log
>
> I have attached the main log for reference purposes as well.
> Many thanks in advance,
> Ruben
New description:
I have failed to build sucessfully tiemu 3.02 under 10.6.8
This is the part of the log containing the error messages:
{{{
:info:build gui/calc/calc.c: In function ‘hid_init’:
:info:build gui/calc/calc.c:589: error: ‘GtkFunction’ undeclared (first
use in this function)
:info:build gui/calc/calc.c:589: error: (Each undeclared identifier is
reported only once
:info:build gui/calc/calc.c:589: error: for each function it appears in.)
:info:build gui/calc/calc.c:589: error: expected ‘)’ before ‘hid_refresh’
:info:build gui/calc/calc.c:589: error: too few arguments to function
‘g_timeout_add’
:info:build gui/calc/calc.c: In function ‘hid_lcd_rate_set’:
:info:build gui/calc/calc.c:643: error: ‘GtkFunction’ undeclared (first
use in this function)
:info:build gui/calc/calc.c:643: error: expected ‘)’ before ‘hid_refresh’
:info:build gui/calc/calc.c:643: error: too few arguments to function
‘g_timeout_add’
:info:build make[2]: *** [gui/calc/calc.o] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/work/tiemu-3.02/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/work/tiemu-3.02'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/work/tiemu-3.02'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/work/tiemu-3.02"
&& /usr/bin/make -j2 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for tiemu3):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for tiemu3 is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_tiemu3/tiemu3/main.log
}}}
I have attached the main log for reference purposes as well. [[br]]
Many thanks in advance, [[br]]
Ruben
--
Comment:
Remember to use WikiFormatting and to preview before submitting, and to Cc
the maintainer of the affected port.
--
Ticket URL: <https://trac.macports.org/ticket/30665#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list