Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#34 772: Error: suffix or operands invalid for `paddb'

open
nobody
None
5
2003-08-19
2003-08-19
Anonymous
No

Hello,

compiling cinelerra-1.1.7-src.tar.bz2 with gcc 3.3.1 I find two errors.
I could overcome the first one but need help with the second error. If
there is a nicer solution for the first error, please let me know.
My system is a pentium 3 with Debian unstable (23072003).

1. Error:

make[2]: Entering directory `/usr/src/packages/BUILD/cinelerra-1.1.
7'
gcc -c `cat esound/i686/c_flags` esound/audio.c -o
esound/i686/audio.o
gcc -c `cat esound/i686/c_flags` esound/clients.c -o
esound/i686/clients.o
gcc -c `cat esound/i686/c_flags` esound/esd_config.c -o
esound/i686/esd_config.o
gcc -c `cat esound/i686/c_flags` esound/esdfile.c -o
esound/i686/esdfile.o
gcc -c `cat esound/i686/c_flags` esound/esdlib.c -o
esound/i686/esdlib.o
esound/esdlib.c:543:35: pasting "ESD_UNIX_SOCKET_DIR" and ""/""
does not give a valid preprocessing token
esound/esdlib.c:543:35: pasting ""/"" and ""socket"" does not give a
valid preprocessing token
esound/esdlib.c:623:22: pasting "ESD_UNIX_SOCKET_DIR" and ""/""
does not give a valid preprocessing token
esound/esdlib.c:623:22: pasting ""/"" and ""socket"" does not give a
valid preprocessing token
make[2]: *** [esound/i686/esdlib.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/cinelerra-1.1.
7'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/cinelerra-1.1.
7'
make: *** [all] Error 2

cure, patch:

--- esound/esd.h.orig 2002-06-21 14:35:25.000000000 +0200
+++ esound/esd.h 2003-08-19 09:53:19.000000000 +0200
@@ -8,7 +8,7 @@

/* path and name of the default EsounD domain socket */
#define ESD_UNIX_SOCKET_DIR "/tmp/.esd"
-#define ESD_UNIX_SOCKET_NAME ESD_UNIX_SOCKET_DIR ## "/"
## "socket"
+#define ESD_UNIX_SOCKET_NAME ESD_UNIX_SOCKET_DIR
"/socket"

/* length of the audio buffer size */
#define ESD_BUF_SIZE (4 * 1024)

2. Error:

make[2]: Entering directory `/usr/src/packages/BUILD/cinelerra-1.1.
7/quicktime'
gcc -c `cat i686/c_flags` libdv-0.99/libdv/YUY2.c -o i686/libdv-0.
99/libdv/YUY2.o
/tmp/cc56ev6H.s: Assembler messages:
/tmp/cc56ev6H.s:772: Error: suffix or operands invalid for `paddb'
/tmp/cc56ev6H.s:783: Error: suffix or operands invalid for `paddb'
/tmp/cc56ev6H.s:805: Error: suffix or operands invalid for `paddb'
/tmp/cc56ev6H.s:816: Error: suffix or operands invalid for `paddb'
/tmp/cc56ev6H.s:1251: Error: suffix or operands invalid for `paddb'
/tmp/cc56ev6H.s:1262: Error: suffix or operands invalid for `paddb'
/tmp/cc56ev6H.s:1284: Error: suffix or operands invalid for `paddb'
/tmp/cc56ev6H.s:1295: Error: suffix or operands invalid for `paddb'
make[2]: *** [i686/libdv-0.99/libdv/YUY2.o] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/cinelerra-1.1.
7/quicktime'
make[2]: Entering directory `/usr/src/packages/BUILD/cinelerra-1.1.
7/guicast'
ar rcs i686/libguicast.a `cat i686/objs`
make[2]: Leaving directory `/usr/src/packages/BUILD/cinelerra-1.1.
7/guicast'
make[2]: Entering directory `/usr/src/packages/BUILD/cinelerra-1.1.
7/cinelerra'
g++ -o i686/cinelerra `cat i686/objs`
g++: ../quicktime/i686/libquicktime.a: No such file or directory
make[2]: *** [i686/cinelerra] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/cinelerra-1.1.
7/cinelerra'

The lines in /tmp/cc56ev6H.s producing the 'paddb' related error
are:

772 paddb %ecx, %mm0
783 paddb %ecx, %mm0
805 paddb %ecx, %mm0
816 paddb %ecx, %mm0
1251 paddb %ecx, %mm0
1262 paddb %ecx, %mm0
1284 paddb %ecx, %mm0
1295 paddb %ecx, %mm0

The paddb command lines without errors do look like
'paddb mmx_0x8080s, %mm3'.

Any ideas or hints are appreciated!

Christian <c.m.fughe@wtb.tue.nl>

Discussion