Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » Problems with Ogg.

This thread is locked; no one can reply to it. rss feed Print
Problems with Ogg.
Victor Williams Stafusa da Silva
Member #4,212
January 2004
avatar

Hi, i'm trouble with Alogg, since it requires libogg and libvorbis, and that was missing. I downloaded they, but i can't see any way to install.

I'm using Dev-C++ in Windows server 2003. I has Allegro 4.2.0 installed and working.

[The attack of the space bugs - Speedhack 2005] [Rambananas - Speedhack 2006] [Make clean - Speedhack 2009] [The source god - TINS 2010]

A J
Member #3,025
December 2002
avatar

they are librarys, you stick them in your library folder.

___________________________
The more you talk, the more AJ is right. - ML

Victor Williams Stafusa da Silva
Member #4,212
January 2004
avatar

oh, i saw in another other thread something similar, used the Msys, ./configure, make and make install. libogg was installed sucessfully, but libvorbis got hundreds of undefined references in the make step, in "vorbisfile.c" file.

Still trying...

EDIT:
I'm stuck. I tried to use "make --keep-going" in a hope that i could do it even with that error. I saw that's just this file that is causing some trouble. I'd tried to find something in google and looked everywhere in xiph.org site, but i didn't found any tip. I tried "make install" and "make install --keep-going", but:

make said:

make: Target `install' not remade because of errors.

Someone got some idea? Maybe i'll try to manually fix "vorbisfile.c"?

EDIT 2:
By the way, i tried to copy & paste the partially generated lib files from vorbis to my Dev-C++ lib folder, in a hope that a manual "make install" could solve it, since some of the library files was generated.

And of course, i'm using libogg 1.1.2, libvorbis 1.1.1 and alogg 1.3.6.

EDIT 3: Linking my project using -lalogg -lvorbis -logg -lalmp3dll -lalfontdll -lalleg, but this is unreletead with libvorbis compilation.

EDIT 4: I am triyng to solve this for 12 hours now, i can't install this sh1t! I tried make uninstall, make clean, make and make install in both libogg and libvorbis, tried to delete manually all generated files and install all them from the start but this doesn't work! Someone has this precompiled somewhere?

By the way, this is the piece where i'm getting the error:

1gcc -shared .libs/vorbisfile.o -L/mingw/lib ./.libs/libvorbis.dll.a -o .libs/libvorbisfile-3.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libvorbisfile.dll.a
2Creating library file: .libs/libvorbisfile.dll.a
3.libs/vorbisfile.o:vorbisfile.c:(.text+0x73): undefined reference to `ogg_sync_pageseek'
4.libs/vorbisfile.o:vorbisfile.c:(.text+0xb8): undefined reference to `ogg_sync_buffer'
5.libs/vorbisfile.o:vorbisfile.c:(.text+0xec): undefined reference to `ogg_sync_wrote'
6.libs/vorbisfile.o:vorbisfile.c:(.text+0x237): undefined reference to `ogg_page_serialno'
7.libs/vorbisfile.o:vorbisfile.c:(.text+0x377): undefined reference to `ogg_sync_reset'
8.libs/vorbisfile.o:vorbisfile.c:(.text+0x3ca): undefined reference to `ogg_page_serialno'
9.libs/vorbisfile.o:vorbisfile.c:(.text+0x45a): undefined reference to `ogg_sync_reset'
10.libs/vorbisfile.o:vorbisfile.c:(.text+0x4a1): undefined reference to `ogg_page_serialno'
11.libs/vorbisfile.o:vorbisfile.c:(.text+0x4b3): undefined reference to `ogg_stream_reset_serialno'
12.libs/vorbisfile.o:vorbisfile.c:(.text+0x4f9): undefined reference to `ogg_stream_pagein'
13.libs/vorbisfile.o:vorbisfile.c:(.text+0x50b): undefined reference to `ogg_stream_packetout'
14.libs/vorbisfile.o:vorbisfile.c:(.text+0x67c): undefined reference to `ogg_page_serialno'
15.libs/vorbisfile.o:vorbisfile.c:(.text+0x6b0): undefined reference to `ogg_stream_reset_serialno'
16.libs/vorbisfile.o:vorbisfile.c:(.text+0x761): undefined reference to `ogg_stream_pagein'
17.libs/vorbisfile.o:vorbisfile.c:(.text+0x77e): undefined reference to `ogg_stream_packetout'
18.libs/vorbisfile.o:vorbisfile.c:(.text+0x7cb): undefined reference to `ogg_stream_packetout'
19.libs/vorbisfile.o:vorbisfile.c:(.text+0x7f1): undefined reference to `ogg_page_serialno'
20.libs/vorbisfile.o:vorbisfile.c:(.text+0xa36): undefined reference to `ogg_stream_clear'
21.libs/vorbisfile.o:vorbisfile.c:(.text+0xa74): undefined reference to `ogg_sync_clear'
22.libs/vorbisfile.o:vorbisfile.c:(.text+0xb6f): undefined reference to `ogg_sync_clear'
23.libs/vorbisfile.o:vorbisfile.c:(.text+0xc0d): undefined reference to `ogg_sync_init'
24.libs/vorbisfile.o:vorbisfile.c:(.text+0xc20): undefined reference to `ogg_sync_buffer'
25.libs/vorbisfile.o:vorbisfile.c:(.text+0xc3f): undefined reference to `ogg_sync_wrote'
26.libs/vorbisfile.o:vorbisfile.c:(.text+0xc99): undefined reference to `ogg_stream_init'
27.libs/vorbisfile.o:vorbisfile.c:(.text+0x1406): undefined reference to `ogg_stream_reset_serialno'
28.libs/vorbisfile.o:vorbisfile.c:(.text+0x1455): undefined reference to `ogg_stream_init'
29.libs/vorbisfile.o:vorbisfile.c:(.text+0x145d): undefined reference to `ogg_stream_reset'
30.libs/vorbisfile.o:vorbisfile.c:(.text+0x14a9): undefined reference to `ogg_page_serialno'
31.libs/vorbisfile.o:vorbisfile.c:(.text+0x14df): undefined reference to `ogg_stream_clear'
32.libs/vorbisfile.o:vorbisfile.c:(.text+0x14ef): undefined reference to `ogg_page_serialno'
33.libs/vorbisfile.o:vorbisfile.c:(.text+0x1533): undefined reference to `ogg_stream_reset_serialno'
34.libs/vorbisfile.o:vorbisfile.c:(.text+0x1548): undefined reference to `ogg_stream_reset_serialno'
35.libs/vorbisfile.o:vorbisfile.c:(.text+0x1567): undefined reference to `ogg_stream_pagein'
36.libs/vorbisfile.o:vorbisfile.c:(.text+0x1573): undefined reference to `ogg_stream_pagein'
37.libs/vorbisfile.o:vorbisfile.c:(.text+0x157b): undefined reference to `ogg_page_eos'
38.libs/vorbisfile.o:vorbisfile.c:(.text+0x15a3): undefined reference to `ogg_stream_packetout'
39.libs/vorbisfile.o:vorbisfile.c:(.text+0x1646): undefined reference to `ogg_stream_packetout'
40.libs/vorbisfile.o:vorbisfile.c:(.text+0x16e1): undefined reference to `ogg_stream_clear'
41.libs/vorbisfile.o:vorbisfile.c:(.text+0x171e): undefined reference to `ogg_sync_reset'
42.libs/vorbisfile.o:vorbisfile.c:(.text+0x1737): undefined reference to `ogg_stream_packetout'
43.libs/vorbisfile.o:vorbisfile.c:(.text+0x17db): undefined reference to `ogg_stream_clear'
44.libs/vorbisfile.o:vorbisfile.c:(.text+0x1990): undefined reference to `ogg_page_serialno'
45.libs/vorbisfile.o:vorbisfile.c:(.text+0x1bf1): undefined reference to `ogg_sync_reset'
46.libs/vorbisfile.o:vorbisfile.c:(.text+0x1c3e): undefined reference to `ogg_sync_reset'
47.libs/vorbisfile.o:vorbisfile.c:(.text+0x1ce4): undefined reference to `ogg_stream_reset_serialno'
48.libs/vorbisfile.o:vorbisfile.c:(.text+0x1d1e): undefined reference to `ogg_page_serialno'
49.libs/vorbisfile.o:vorbisfile.c:(.text+0x1d45): undefined reference to `ogg_stream_pagein'
50.libs/vorbisfile.o:vorbisfile.c:(.text+0x1d5a): undefined reference to `ogg_stream_packetout'
51.libs/vorbisfile.o:vorbisfile.c:(.text+0x1da6): undefined reference to `ogg_stream_packetout'
52.libs/vorbisfile.o:vorbisfile.c:(.text+0x1db5): undefined reference to `ogg_page_granulepos'
53.libs/vorbisfile.o:vorbisfile.c:(.text+0x1dce): undefined reference to `ogg_page_granulepos'
54.libs/vorbisfile.o:vorbisfile.c:(.text+0x1e53): undefined reference to `ogg_sync_reset'
55.libs/vorbisfile.o:vorbisfile.c:(.text+0x1e8e): undefined reference to `ogg_sync_reset'
56.libs/vorbisfile.o:vorbisfile.c:(.text+0x1eca): undefined reference to `ogg_sync_reset'
57.libs/vorbisfile.o:vorbisfile.c:(.text+0x1f94): undefined reference to `ogg_sync_reset'
58.libs/vorbisfile.o:vorbisfile.c:(.text+0x2009): undefined reference to `ogg_page_granulepos'
59.libs/vorbisfile.o:vorbisfile.c:(.text+0x20ac): undefined reference to `ogg_sync_reset'
60.libs/vorbisfile.o:vorbisfile.c:(.text+0x20c7): undefined reference to `ogg_page_granulepos'
61.libs/vorbisfile.o:vorbisfile.c:(.text+0x2567): undefined reference to `ogg_page_granulepos'
62.libs/vorbisfile.o:vorbisfile.c:(.text+0x26ad): undefined reference to `ogg_page_serialno'
63.libs/vorbisfile.o:vorbisfile.c:(.text+0x26cf): undefined reference to `ogg_stream_reset_serialno'
64.libs/vorbisfile.o:vorbisfile.c:(.text+0x26db): undefined reference to `ogg_stream_pagein'
65.libs/vorbisfile.o:vorbisfile.c:(.text+0x2704): undefined reference to `ogg_stream_packetout'
66.libs/vorbisfile.o:vorbisfile.c:(.text+0x2710): undefined reference to `ogg_stream_packetpeek'
67.libs/vorbisfile.o:vorbisfile.c:(.text+0x2993): undefined reference to `ogg_sync_reset'
68.libs/vorbisfile.o:vorbisfile.c:(.text+0x2b2e): undefined reference to `ogg_sync_reset'
69.libs/vorbisfile.o:vorbisfile.c:(.text+0x2b80): undefined reference to `ogg_sync_reset'
70.libs/vorbisfile.o:vorbisfile.c:(.text+0x2cb8): undefined reference to `ogg_sync_reset'
71.libs/vorbisfile.o:vorbisfile.c:(.text+0x2cee): undefined reference to `ogg_page_granulepos'
72.libs/vorbisfile.o:vorbisfile.c:(.text+0x2d00): undefined reference to `ogg_page_continued'
73.libs/vorbisfile.o:vorbisfile.c:(.text+0x2e42): undefined reference to `ogg_sync_reset'
74.libs/vorbisfile.o:vorbisfile.c:(.text+0x2ebe): undefined reference to `ogg_sync_reset'
75.libs/vorbisfile.o:vorbisfile.c:(.text+0x2f6e): undefined reference to `ogg_stream_packetpeek'
76.libs/vorbisfile.o:vorbisfile.c:(.text+0x3003): undefined reference to `ogg_stream_packetout'
77.libs/vorbisfile.o:vorbisfile.c:(.text+0x3094): undefined reference to `ogg_stream_packetpeek'
78.libs/vorbisfile.o:vorbisfile.c:(.text+0x30dd): undefined reference to `ogg_page_serialno'
79.libs/vorbisfile.o:vorbisfile.c:(.text+0x3122): undefined reference to `ogg_page_serialno'
80.libs/vorbisfile.o:vorbisfile.c:(.text+0x3163): undefined reference to `ogg_stream_reset_serialno'
81.libs/vorbisfile.o:vorbisfile.c:(.text+0x31df): undefined reference to `ogg_stream_pagein'
82.libs/vorbisfile.o:vorbisfile.c:(.text+0x32a4): undefined reference to `ogg_stream_packetout'
83collect2: ld returned 1 exit status
84make[3]: *** [libvorbisfile.la] Error 1
85make[3]: Leaving directory `/c/victor/alogg/libvorbis-1.1.1/lib'
86make[2]: *** [all-recursive] Error 1
87make[2]: Leaving directory `/c/victor/alogg/libvorbis-1.1.1/lib'
88make[1]: *** [all-recursive] Error 1
89make[1]: Leaving directory `/c/victor/alogg/libvorbis-1.1.1'
90make: *** [all] Error 2

[The attack of the space bugs - Speedhack 2005] [Rambananas - Speedhack 2006] [Make clean - Speedhack 2009] [The source god - TINS 2010]

Go to: