I'm using the latest SDK and gcc. There are sections of the program that use Reaction classes. It compiles okay. In the linking phase I get a lot of undefined reference messages like the one below.
o/gcc-amigaos4-latest/MainFrm.o: In function 'CMainFrame::Custom_win()':
MainFrm.cpp:(.text+0x6e): undefined reference to 'WindowClass'
.
.
.
There are 24 of these (some duplicated). They are all Reaction classes. This is probably because I'm not linking to the right library. Can anyone tell me the right library to link to?
Try the -lauto switch.
Simon
This was a dumb mistake. These are external variables and I didn't do the Intuition->OpenClass(…) properly. Not a linking problem.