Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » APEG installation problems

This thread is locked; no one can reply to it. rss feed Print
APEG installation problems
J. Carlos Morals
Member #5,125
October 2004

I have installed APEG again but it still presents to me the following errors:

<code>
gcc -DNO_OGG -MMD -W -Wall -Iinclude -march=pentium -O3 -ffast-math -funroll-loops -fomit-frame-pointer -o tools/demux.exe tools/demux.c lib/libapeg.a -lalleg -lm -s
lib/libapeg.a(mpg123.o)(.text+0x400):mpg123.c: undefined reference to `_dct36_3dnow'
lib/libapeg.a(decode_1to1.o)(.text+0x4e):decode_1to1.c: undefined reference to `_synth_1to1_MMX'
lib/libapeg.a(decode_1to1.o)(.text+0xc8):decode_1to1.c: undefined reference to `_synth_1to1_pent'
lib/libapeg.a(decode_1to1.o)(.text+0x10f):decode_1to1.c: undefined reference to `_synth_1to1_MMX'
lib/libapeg.a(decode_1to1.o)(.text+0x12c):decode_1to1.c: undefined reference to `_synth_1to1_pent'
lib/libapeg.a(decode_2to1.o)(.text+0x7a):decode_2to1.c: undefined reference to `_dct64_MMX_prestep'
lib/libapeg.a(decode_4to1.o)(.text+0x7a):decode_4to1.c: undefined reference to `_dct64_MMX_prestep'
lib/libapeg.a(tabinit.o)(.text+0x7e0):tabinit.c: undefined reference to `_make_decode_tables_MMX'
lib/libapeg.a(dct64_i486-b.o)(.text+0x295):dct64_i486-b.c: undefined reference to `_dct64_a'
collect2: ld returned 1 exit status
make.exe: *** [tools/demux.exe] Error 1
<code>

I am using an Intel Celeron 800 MHz, with gnu make version 3.80. Thank you for any help.

Kitty Cat
Member #2,815
October 2002
avatar

What compiler? What did you run fix with?

--
"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham

J. Carlos Morals
Member #5,125
October 2004

I am using DJGPP in DOS (make 3.80, gcc 3.2.2) so I run fix and it autoedetect DJGPP.

Kitty Cat
Member #2,815
October 2002
avatar

What version of APEG? If you aren't using it, try the latest version.

--
"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham

J. Carlos Morals
Member #5,125
October 2004

Yes. It is the latest version.

Kitty Cat
Member #2,815
October 2002
avatar

Okay, try this. Edit makefile.dj and remove the line:
CPPFLAGS = -DASM_PREFIX=_Run 'make clean' and then try make again.

--
"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham

J. Carlos Morals
Member #5,125
October 2004

No luck until now.

<code>
src/audio/mpg123.c: In function `apeg_start_audio':
src/audio/mpg123.c:295: warning: unsigned int format, long unsigned int arg (arg
3)
src/audio/mpg123.c:299: warning: unsigned int format, long unsigned int arg (arg
3)
src/audio/mpg123.c:303: warning: unsigned int format, long unsigned int arg (arg
3)
c:/djgpp/tmp/cceRUpml.s:21: Warning: alignment too large: 15 assumed
gcc -x assembler-with-cpp -o obj/decode_3dnow.o -c src/audio/decode_3dnow.s
c:/djgpp/tmp/ccPGIcWZ.s: Assembler messages:
c:/djgpp/tmp/ccPGIcWZ.s:10: Warning: alignment too large: 15 assumed
c:/djgpp/tmp/ccPGIcWZ.s:98: Warning: alignment too large: 15 assumed
c:/djgpp/tmp/ccPGIcWZ.s:185: Warning: alignment too large: 15 assumed
gcc -x assembler-with-cpp -o obj/decode_MMX.o -c src/audio/decode_MMX.s
gcc -x assembler-with-cpp -o obj/decode_i586.o -c src/audio/decode_i586.s
gcc -x assembler-with-cpp -o obj/equalizer_3dnow.o -c src/audio/equalizer_3dnow
.s
gcc -x assembler-with-cpp -o obj/tabinit_MMX.o -c src/audio/tabinit_MMX.s
c:/djgpp/tmp/cclszA46.s: Assembler messages:
c:/djgpp/tmp/cclszA46.s:16: Warning: alignment too large: 15 assumed
c:/djgpp/tmp/cclszA46.s:18: Warning: alignment too large: 15 assumed
c:/djgpp/tmp/cclszA46.s:22: Warning: alignment too large: 15 assumed
c:/djgpp/tmp/cclszA46.s:63: Warning: alignment too large: 15 assumed
lib/libapeg.a(mpg123.o)(.text+0x400):mpg123.c: undefined reference to `_dct36_3d
now'
lib/libapeg.a(decode_1to1.o)(.text+0x4e):decode_1to1.c: undefined reference to `
_synth_1to1_MMX'
lib/libapeg.a(decode_1to1.o)(.text+0xc8):decode_1to1.c: undefined reference to `
_synth_1to1_pent'
lib/libapeg.a(decode_1to1.o)(.text+0x10f):decode_1to1.c: undefined reference to
`_synth_1to1_MMX'
lib/libapeg.a(decode_1to1.o)(.text+0x12c):decode_1to1.c: undefined reference to
`_synth_1to1_pent'
lib/libapeg.a(decode_2to1.o)(.text+0x7a):decode_2to1.c: undefined reference to `
_dct64_MMX_prestep'
lib/libapeg.a(decode_4to1.o)(.text+0x7a):decode_4to1.c: undefined reference to `
_dct64_MMX_prestep'
lib/libapeg.a(tabinit.o)(.text+0x7e0):tabinit.c: undefined reference to `_make_d
ecode_tables_MMX'
lib/libapeg.a(dct64_i486-b.o)(.text+0x295):dct64_i486-b.c: undefined reference t
o `_dct64_a'
collect2: ld returned 1 exit status
make.exe: *** [tools/demux.exe] Error 1
<code>

Kitty Cat
Member #2,815
October 2002
avatar

That's really weird. What version is your assembler? Run 'as --version' to find out. I've never seen an alignment warning like that before.

--
"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham

J. Carlos Morals
Member #5,125
October 2004

I am using GNU assembler 2.13.

Kitty Cat
Member #2,815
October 2002
avatar

Okay.. add the line
CPPFLAGS = -DASM_PREFIX=_back in. Are you in pure DOS (ie. without long file name support)?

--
"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham

Go to: