I've been attempting to port a Windoze project to winelib using the new
'winemaker' facility, updated from CVS on Sunday. In the course of an
afternoon I got a 50,000-line application to compile clean (discovering several
latent bugs in the process!), however the final link operation fails thus:
gcc -shared -Wl,-rpath,/usr/local/lib -Wl,-Bsymbolic -o zmdi.so about.o action.o
analyser.o chart.o child.o child_net.o colour.o cursor.o design.o dispatch.o ge
nerate.o intercep.o messages.o misc.o noise.o paint.o param.o print.o redraw.o r
egistry.o statbar.o toolbar.o tools.o txline.o update.o utility.o winmain.o zmdi
.o zmdi.spec.o -lwine -lwine_unicode -lm -lutil -ldl
/dave/smith/action.c:772: undefined reference to `itoa'
generate.o: In function `save_network':
/dave/smith/generate.c:981: undefined reference to `_makepath'
statbar.o: In function `CreateSBar':
/dave/smith/statbar.c:297: undefined reference to `CreateStatusWindowA'
toolbar.o: In function `CreateTBar':
/dave/smith/toolbar.c:67: undefined reference to `CreateToolbarEx'
winmain.o: In function `WinMain':
/dave/smith/winmain.c:88: undefined reference to `strupr'
zmdi.o: In function `MsgCreate':
/dave/smith/zmdi.c:170: undefined reference to `InitCommonControls'
test -e zmdi || ln -s /usr/local/bin/wine zmdi
It seems unlikely that such an odd selection of functions should be missing
from Winelib, in fact 'itoa' is called from another module in the application
which doesn't generate an error. Could I be doing something wrong?
--
Dave Pickles