qcc fails to compile Example 4: Run MP3S

Hi, guys,

On my QNX6.3, qcc fails to compile the “Example 4: Run MP3S” of the “Using Graphs” help, you know. :stuck_out_tongue:

qcc playmp3.c -o playmp3

It displays as follows:

/tmp/AAA991273_cc.o: In function main': /tmp/AAA991273_cc.o(.text+0x32): undefined reference to MmInitialize’
/tmp/AAA991273_cc.o(.text+0x4b): undefined reference to `AoOpenFilespec’

cc: /usr/qnx630/host/qnx6/x86/usr/bin/ntox86-ld error 1

Please help me complete the sample test. Thanks.

QNX, does it work for me ?

Peter Z

Link against libmmedia and libaoi:

qcc playmp3.c -o playmp3 -l mmedia -l aoi

-seanb

Thanks for your help, seanb. qcc compiled the sample successfully, but it failed running.
It turned out:

Couldn’t grab the mpeg audio parser.

I did not find ‘mpega_parser.so’ needed for running on /lib/dll. Maybe that’s the case for an
non_commercial user ? And what’s then ? Thanks.

Peter Z

try to use mpega_parser.so from QNX6.2.1 PE