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

Linking problem with net_deinit function on GameCube #187

Open
Crayon2000 opened this issue Dec 28, 2024 · 1 comment
Open

Linking problem with net_deinit function on GameCube #187

Crayon2000 opened this issue Dec 28, 2024 · 1 comment

Comments

@Crayon2000
Copy link
Contributor

I think that void net_deinit(void); in network.h should be within the #ifdef HW_RVL / #endif block just over it.

The code is only defined in network_wii.c and compiling my code for GameCube will generate this

warning: undefined reference to `net_deinit'

Maybe (not sure), the other solution is to add this to lwip\network.c:

void net_deinit(void) {
	return;
}
@DacoTaco
Copy link
Member

to make applications cross platform between GC and Wii i would suggest that adding a net_deinit in the GC code is a better solution. the application doesn't need to have a ifdef for that stuff imo.

ill have to look into what the net_init does in the gc code (lwip)

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

2 participants