Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-dotnet/gtk-sharp-2.99.3-r1 fails to compile #505

Open
Bigun opened this issue Jul 1, 2021 · 0 comments
Open

dev-dotnet/gtk-sharp-2.99.3-r1 fails to compile #505

Bigun opened this issue Jul 1, 2021 · 0 comments

Comments

@Bigun
Copy link

Bigun commented Jul 1, 2021

gui-thread-check.c:90:1: warning: no previous prototype for 'mono_profiler_startup' [-Wmissing-prototypes]
90 | mono_profiler_startup (const char *desc)
| ^~~~~~~~~~~~~~~~~~~~~
gui-thread-check.c: In function 'mono_profiler_startup':
gui-thread-check.c:94:2: warning: implicit declaration of function 'mono_profiler_install'; did you mean 'mono_profiler_startup'? [-Wimplicit-function-declaration]
94 | mono_profiler_install (NULL, NULL);
| ^~~~~~~~~~~~~~~~~~~~~
| mono_profiler_startup
gui-thread-check.c:94:2: warning: nested extern declaration of 'mono_profiler_install' [-Wnested-externs]
gui-thread-check.c:95:2: warning: implicit declaration of function 'mono_profiler_install_enter_leave' [-Wimplicit-function-declaration]
95 | mono_profiler_install_enter_leave (simple_method_enter, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui-thread-check.c:95:2: warning: nested extern declaration of 'mono_profiler_install_enter_leave' [-Wnested-externs]
gui-thread-check.c:96:2: warning: implicit declaration of function 'mono_profiler_set_events'; did you mean 'mono_profiler_startup'? [-Wimplicit-function-declaration]
96 | mono_profiler_set_events (MONO_PROFILE_ENTER_LEAVE);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| mono_profiler_startup
gui-thread-check.c:96:2: warning: nested extern declaration of 'mono_profiler_set_events' [-Wnested-externs]
gui-thread-check.c:96:28: error: 'MONO_PROFILE_ENTER_LEAVE' undeclared (first use in this function)
96 | mono_profiler_set_events (MONO_PROFILE_ENTER_LEAVE);
| ^~~~~~~~~~~~~~~~~~~~~~~~
gui-thread-check.c:96:28: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [Makefile:472: gui-thread-check.lo] Error 1
make[4]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.99.3-r1/work/gtk-sharp-2.99.3/gtk/gui-thread-check/profiler'
make[3]: *** [Makefile:389: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.99.3-r1/work/gtk-sharp-2.99.3/gtk/gui-thread-check'
make[2]: *** [Makefile:605: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.99.3-r1/work/gtk-sharp-2.99.3/gtk'
make[1]: *** [Makefile:451: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-dotnet/gtk-sharp-2.99.3-r1/work/gtk-sharp-2.99.3'
make: *** [Makefile:379: all] Error 2

Looks like it's been addressed already in the mono/gtk-sharp hub, the e-build just needs to be updated, see below:

mono/gtk-sharp@c1b9bd4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant