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

Unable to compile on ubuntu linux. #156

Open
LeadLerner opened this issue Apr 18, 2024 · 0 comments
Open

Unable to compile on ubuntu linux. #156

LeadLerner opened this issue Apr 18, 2024 · 0 comments

Comments

@LeadLerner
Copy link

after running make -f Makefile.3ds clean && make -f Makefile.3ds, this is the error i get.

/media/orangepi/SSDGame/rsc-c-master/rsc-c-master/src/mudclient.c: In function 'mudclient_start_application': /media/orangepi/SSDGame/rsc-c-master/rsc-c-master/src/mudclient.c:906:25: warning: implicit declaration of function 'memalign' [-Wimplicit-function-declaration] 906 | SOC_buffer = (u32 *)memalign(SOC_ALIGN, SOC_BUFFER_SIZE); | ^~~~~~~~ /media/orangepi/SSDGame/rsc-c-master/rsc-c-master/src/mudclient.c: In function 'mudclient_read_data_file': /media/orangepi/SSDGame/rsc-c-master/rsc-c-master/src/mudclient.c:1737:29: warning: passing argument 2 of 'snprintf' makes integer from pointer without a cast [-Wint-conversion] 1737 | snprintf(prefixed_file, "romfs:/%s", file); | ^~~~~~~~~~~ | | | char * In file included from /media/orangepi/SSDGame/rsc-c-master/rsc-c-master/src/mudclient.h:6, from /media/orangepi/SSDGame/rsc-c-master/rsc-c-master/src/mudclient.c:1: /opt/devkitpro/devkitARM/arm-none-eabi/include/stdio.h:272:37: note: expected 'size_t' {aka 'unsigned int'} but argument is of type 'char *' 272 | int snprintf (char *__restrict, size_t, const char *__restrict, ...) | ^~~~~~ /media/orangepi/SSDGame/rsc-c-master/rsc-c-master/src/mudclient.c:1774:9: error: 'archive_stream' undeclared (first use in this function) 1774 | if (archive_stream == NULL) { | ^~~~~~~~~~~~~~ /media/orangepi/SSDGame/rsc-c-master/rsc-c-master/src/mudclient.c:1774:9: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [/opt/devkitpro/devkitARM//base_rules:39: mudclient.o] Error 1 rm game_top.bgr entities_0.bgr sprites.bgr entities_1.bgr entities_3.bgr model_textures.bgr entities_2.bgr entities_4.bgr make: *** [Makefile.3ds:145: all] Error 2

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

No branches or pull requests

1 participant