0
0

I also just posted this to the development forum; aplogies if cross-posting is an affront here.

Is this possible?

NetBSD 1.5 added support for ELF binaries… I have the following program:

<code>

include <stdio.h>

include “../../api/inc/fmod.h”

include “../../api/inc/fmod_errors.h” // optional

int main( int argc, char* argv[] )
{
int fver = 0;

fver = FSOUND_Init(44100, 32, FSOUND_INIT_USEDEFAULTMIDISYNTH );

printf( "hello worldn" );

}
</code>

which doesn’t compile; the command and results:

<code>
$ gcc -Wall -O0 -DPLATFORM_LINUX -L ../../api/lib -lfmod
-o cbtest cbtest.c

cbtest.c: In function main':
cbtest.c:15: warning: control reaches end of non-void function
../../api/inc/fmod_errors.h: At top level:
../../api/inc/fmod_errors.h:5: warning:
FMOD_ErrorString’ defined but not used
/tmp/cc1yhNay.o: In function main':
/tmp/cc1yhNay.o(.text+0x14b): undefined reference to
FSOUND_Init’
collect2: ld returned 1 exit status

</code>

Any ideas?

Thank you.

  • You must to post comments
0
0

libfmod.a was created using cygwin32 under Windows so it will not work for NetBSD (it isn’t an ELF binary). You must link with libfmod-3.4.so to work with FMOD.
Hope Fmod will work under NetBSD …

  • You must to post comments
0
0

libfmod.a was created using cygwin32 under Windows so it will not work for NetBSD (it isn’t an ELF binary). You must link with libfmod-3.4.so to work with FMOD.
Hope Fmod will work under NetBSD …

  • You must to post comments
0
0

libfmod.a was created using cygwin32 under Windows so it will not work for NetBSD (it isn’t an ELF binary). You must link with libfmod-3.4.so to work with FMOD.
Hope Fmod will work under NetBSD …

  • You must to post comments
0
0

Oups, sorry, there was a server bug :smile:

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.