redneck649 / wiiflow

Automatically exported from code.google.com/p/wiiflow
0 stars 0 forks source link

Compile Error #502

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,
I try to compile the last sources but i have an error:
(Update of DevKitPro correctly installed and Portlibs too)

linking ... boot.elf
main.o: In function `old_main(int, char**)':
c:/devkitPro/WiiFlow/source/main.cpp:57: undefined reference to `mainIOS'
c:/devkitPro/WiiFlow/source/main.cpp:57: undefined reference to `mainIOSminRev'
c:/devkitPro/WiiFlow/source/main.cpp:64: undefined reference to `use_port1'
c:/devkitPro/WiiFlow/source/main.cpp:57: undefined reference to `mainIOS'
c:/devkitPro/WiiFlow/source/main.cpp:57: undefined reference to `mainIOSminRev'
c:/devkitPro/WiiFlow/source/main.cpp:64: undefined reference to `use_port1'
c:/devkitPro/WiiFlow/source/main.cpp:74: undefined reference to `mainIOS'
c:/devkitPro/WiiFlow/source/main.cpp:74: undefined reference to `mainIOS'
c:/devkitPro/WiiFlow/source/main.cpp:74: undefined reference to `use_port1'
c:/devkitPro/WiiFlow/source/main.cpp:74: undefined reference to `use_port1'
c:/devkitPro/WiiFlow/source/main.cpp:77: undefined reference to `mainIOS'
c:/devkitPro/WiiFlow/source/main.cpp:77: undefined reference to `mainIOS'
c:/devkitPro/WiiFlow/source/main.cpp:41: undefined reference to `mainIOSminRev'
c:/devkitPro/WiiFlow/source/main.cpp:41: undefined reference to `mainIOSminRev'
c:/devkitPro/WiiFlow/source/main.cpp:175: undefined reference to `mainIOS'
c:/devkitPro/WiiFlow/source/main.cpp:175: undefined reference to `mainIOS'
c:/devkitPro/WiiFlow/source/main.cpp:175: undefined reference to `mainIOSminRev'
c:/devkitPro/WiiFlow/source/main.cpp:175: undefined reference to `mainIOSminRev'
alt_ios.o: In function `load_ehc_module_ex':
c:/devkitPro/WiiFlow/source/loader/alt_ios.cpp:36: undefined reference to 
`use_port1'
c:/devkitPro/WiiFlow/source/loader/alt_ios.cpp:36: undefined reference to 
`use_port1'
c:/devkitPro/WiiFlow/source/loader/alt_ios.cpp:40: undefined reference to 
`use_port1'
c:/devkitPro/WiiFlow/source/loader/alt_ios.cpp:40: undefined reference to 
`use_port1'
menu_about.o: In function `CMenu::_textAbout()':
c:/devkitPro/WiiFlow/source/menu/menu_about.cpp:101: undefined reference to 
`mainIOS'
c:/devkitPro/WiiFlow/source/menu/menu_about.cpp:101: undefined reference to 
`mainIOS'
c:/devkitPro/WiiFlow/source/menu/menu_about.cpp:103: undefined reference to 
`mainIOS'
c:/devkitPro/WiiFlow/source/menu/menu_about.cpp:103: undefined reference to 
`mainIOS'
c:/devkitPro/WiiFlow/source/menu/menu_about.cpp:105: undefined reference to 
`mainIOS'
menu_about.o:c:/devkitPro/WiiFlow/source/menu/menu_about.cpp:105: more 
undefined references to `mainIOS' follow
collect2: ld returned 1 exit status
make[1]: *** [/c/devkitPro/WiiFlow/boot.elf] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 04:15

Original issue reported on code.google.com by rlela...@gmail.com on 27 Jun 2011 at 11:12

GoogleCodeExporter commented 8 years ago
Are you using DevKitPro r23 and libogc 1.8.7?
try clean, then compile.

Original comment by hosigumayuugi on 27 Jun 2011 at 11:36

GoogleCodeExporter commented 8 years ago
Yes i use DKP r23 and libogc v1.8.7
I tried 'clean' and it's works
Thanks !

Original comment by rlela...@gmail.com on 27 Jun 2011 at 12:13

GoogleCodeExporter commented 8 years ago
Problem was in the Makefile. If you would've typed make again, the issue would 
also be solved.

Original comment by r-...@live.com on 9 Jul 2011 at 6:20