Re: Compiling LS modules with DEV-C++
"Brian Wolven" <[email protected]> Mon, 17 Nov 2003 23:52:22 -0500
| Newsgroups | gmane.comp.windows.shell-shocked.devel |
|---|---|
| Message-ID | <[email protected]> |
A. Klingenstein wrote: > Brian Wolven wrote: >> which generates errors like this: >> >> [Linker error] undefined reference to >> `[email protected]' > > -lwinmm in Project Options (alt-p), Parameters, Linker should do the > trick. The function is in libwinmm.a Yup, that did it. Sounds are now operational again. Funny thing is, I didn't even know the module *had* any sound settings until I started messing around with the source. Those settings aren't even in the documentation. Are there cases where the order in which you link against the various libraries makes a difference in whether or not the code compiles? I ran into this while trying to create some sharable libraries from FORTRAN code on a couple of *nix platforms (IRIX, HP-UX). It'd only work one way - and that wasn't documented anywhere, either. =) __________________________________________________ Subscription options and archive: http://www.freelists.org/list/shell-coding