Hello everyone,
I'm in the process of installing ALSA 0.9.8 on my Linux System.
I installed the driver and the library packages successfully.
The Sound is working perfect from within KDE when I call a MIDI file.
I now want to be able to play a MIDI file from the command line.
I downloaded the PMIDI 1.5.5 package and ran the ./configure successfully.
When I did the "make", I got the following error messages:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--SNIP--
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pmidi\"
-DVERSION=\"1.5.5\" -DHAVE_LIBASOUND=1 -DUSE_DRAIN=1 -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ALSA_ASOUNDLIB_H=1
-DHAVE_VPRINTF=1 -I. -I. -g -O2 -c `test -f 'seqmidi.c' || echo
'./'`seqmidi.c
gcc -g -O2 -o pmidi elements.o except.o mdutil.o midiread.o pmidi.o
seqlib.o seqmidi.o -lasound -lm -ldl -lpthread -lasound -lm -ldl -lpthread
elements.o: In function `md_container_init':
/~/~/~/pmidi-1.5.5/src/elements.c:63: undefined reference to `g_ptr_array_new'
elements.o: In function `md_free':
/~/~/~/pmidi-1.5.5/src/elements.c:394: undefined reference to
`g_ptr_array_free'
elements.o: In function `md_add':
/~/~/~/pmidi-1.5.5/src/elements.c:376: undefined reference to
`g_ptr_array_add'
midiread.o: In function `midi_read':
/~/~/~/pmidi-1.5.5/src/midiread.c:76: undefined reference to `g_ptr_array_new'
/~/~/~/pmidi-1.5.5/src/midiread.c:99: undefined reference to
`g_ptr_array_free'
midiread.o: In function `save_note':
/~/~/~/pmidi-1.5.5/src/midiread.c:553: undefined reference to
`g_ptr_array_add'
midiread.o: In function `finish_note':
/~/~/~/pmidi-1.5.5/src/midiread.c:589: undefined reference to
`g_ptr_array_remove_index_fast'
seqlib.o: In function `seq_create_context':
/~/~/~/pmidi-1.5.5/src/seqlib.c:48: undefined reference to `g_array_new'
seqlib.o: In function `seq_connect_add':
/~/~/~/pmidi-1.5.5/src/seqlib.c:142: undefined reference to
`g_array_append_vals'
collect2: ld returned 1 exit status
make[1]: *** [pmidi] Error 1
make[1]: Leaving directory `/~/~/~/pmidi-1.5.5/src'
make: *** [all-recursive] Error 1
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I noticed when searching with GOOGLE that someone had a similar problem
on 6/02 with PMIDI 1.5.4 and someone suggested to him that he should
install a product called libglib1.2-dev.
I don't know if that is the solution to my problem since my system is
different than his.
My Environment is:
Hardware - Pentium-4
Distribution - Caldera 2.3
Kernel - 2.4.22
GCC - 3.3
GLIBC - 2.2.5
KDE - 3.1
Any help that someone could give me to solve this problem would be
greatly appreciated since I believe that the PMIDI program will be
perfect for my needs.
Yours truly,
Frank Krauss
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user