Ubuntu 7.10 server/ZM 1.23.2 from src, how to (31/03/2008)
Hi Caladeira,
I was trying your Ubuntu 7.10 server manual, but I found some problems as following:
1. On code:
I can't get the --enable--pp to work, so I proceed without --enable-pp
2. on code:
And when I run
It said "Syntax error on line 292 of /etc/apache2/apache2.conf" syntax error on line 5 of /etc/apache2/conf.d/zoneminder.conf: <IfModule> directive require additional arguments.
How do I solve those problems?
And one more question, how do I run zoneminder from webbrowser?because when I point to the this server, it didn't show anything.
Thank you and looking forward for your response.
George
I was trying your Ubuntu 7.10 server manual, but I found some problems as following:
1. On code:
Code: Select all
./configure --enable-shared --enable-pp --enable-swscaler --enable-gpl --prefix=/opt/
2. on code:
Code: Select all
Alias /zm /var/www/html/zm
<Directory>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule>
DirectoryIndex index.php
</IfModule>
</Directory>
Code: Select all
sudo /etc/init.d/apache2 force-reload
How do I solve those problems?
And one more question, how do I run zoneminder from webbrowser?because when I point to the this server, it didn't show anything.
Thank you and looking forward for your response.
George
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
The conf file from the debian/ubuntu package is:bangbecak wrote:Hi Caladeira,
I was trying your Ubuntu 7.10 server manual, but I found some problems as following:
2. on code:And when I runCode: Select all
Alias /zm /var/www/html/zm <Directory> php_flag register_globals off Options Indexes FollowSymLinks <IfModule> DirectoryIndex index.php </IfModule> </Directory>
It said "Syntax error on line 292 of /etc/apache2/apache2.conf" syntax error on line 5 of /etc/apache2/conf.d/zoneminder.conf: <IfModule> directive require additional arguments.Code: Select all
sudo /etc/init.d/apache2 force-reload
How do I solve those problems?
Code: Select all
Alias /zm /usr/share/zoneminder
<Directory /usr/share/zoneminder>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule mod_dir.c>
DirectoryIndex index.php
</IfModule>
</Directory>
I suspect you're not seeing anything from the browser because apache isn't completing the setup due to the error mentioned.
PJH
Hello.
Reply to issue 1 related with ffmpeg:
The last time I've tested it It worked, but now It might not becouse current version from svn has changed (I suspect!).
Hoever, you may try using an older version of ffmpeg using this command:
If you search the forum you'll see that version 11637 is known as a good one to use with zoneminder.
Please try it and post results.
Best regards.
Reply to issue 1 related with ffmpeg:
The last time I've tested it It worked, but now It might not becouse current version from svn has changed (I suspect!).
Hoever, you may try using an older version of ffmpeg using this command:
Code: Select all
svn checkout -r 11637 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
Please try it and post results.
Best regards.
I tried this code (PeterHoward):
and it didn't give me error when running
However (Caladeira), I still getting error after running 'make' from
error as following:
in addition, running 'make install' resulting this error:
Thank you and looking forward your response.
George[/code]
Code: Select all
Alias /zm /usr/share/zoneminder
<Directory>
php_flag register_globals off
Options Indexes FollowSymLinks
<IfModule>
DirectoryIndex index.php
</IfModule>
</Directory>
Code: Select all
sudo /etc/init.d/apache2 force-reload
Code: Select all
svn checkout -r 11637 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
Code: Select all
make -C libavutil all
make[1]: Entering directory `/home/george/ffmpeg/libavutil'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/george/ffmpeg/libavutil'
make -C libavcodec all
make[1]: Entering directory `/home/george/ffmpeg/libavcodec'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/george/ffmpeg/libavcodec'
make -C libavformat all
make[1]: Entering directory `/home/george/ffmpeg/libavformat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/george/ffmpeg/libavformat'
make -C libavdevice all
make[1]: Entering directory `/home/george/ffmpeg/libavdevice'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/george/ffmpeg/libavdevice'
make -C libpostproc all
make[1]: Entering directory `/home/george/ffmpeg/libpostproc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/george/ffmpeg/libpostproc'
make -C libswscale all
make[1]: Entering directory `/home/george/ffmpeg/libswscale'
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/home/george/ffmpeg" -I"/home/george/ffmpeg" -I"/home/george/ffmpeg"/libavutil -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3 -c -o rgb2rgb.o rgb2rgb.c
rgb2rgb.c:91: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:91: error: expected declaration specifiers or ‘...’ before ‘mmx_null’
rgb2rgb.c:91: warning: data definition has no type or storage class
rgb2rgb.c:91: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:91: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:92: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:92: error: expected declaration specifiers or ‘...’ before ‘mmx_one’
rgb2rgb.c:92: warning: data definition has no type or storage class
rgb2rgb.c:92: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:92: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:92: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:91: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:93: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:93: error: expected declaration specifiers or ‘...’ before ‘mask32b’
rgb2rgb.c:93: warning: data definition has no type or storage class
rgb2rgb.c:93: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:93: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:93: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:92: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:94: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:94: error: expected declaration specifiers or ‘...’ before ‘mask32g’
rgb2rgb.c:94: warning: data definition has no type or storage class
rgb2rgb.c:94: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:94: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:94: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:93: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:95: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:95: error: expected declaration specifiers or ‘...’ before ‘mask32r’
rgb2rgb.c:95: warning: data definition has no type or storage class
rgb2rgb.c:95: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:95: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:95: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:94: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:96: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:96: error: expected declaration specifiers or ‘...’ before ‘mask32’
rgb2rgb.c:96: warning: data definition has no type or storage class
rgb2rgb.c:96: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:96: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:96: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:95: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:97: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:97: error: expected declaration specifiers or ‘...’ before ‘mask3216br’
rgb2rgb.c:97: warning: data definition has no type or storage class
rgb2rgb.c:97: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:97: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:97: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:96: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:98: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:98: error: expected declaration specifiers or ‘...’ before ‘mask3216g’
rgb2rgb.c:98: warning: data definition has no type or storage class
rgb2rgb.c:98: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:98: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:98: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:97: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:99: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:99: error: expected declaration specifiers or ‘...’ before ‘mask3215g’
rgb2rgb.c:99: warning: data definition has no type or storage class
rgb2rgb.c:99: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:99: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:99: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:98: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:100: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:100: error: expected declaration specifiers or ‘...’ before ‘mul3216’
rgb2rgb.c:100: warning: data definition has no type or storage class
rgb2rgb.c:100: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:100: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:100: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:99: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:101: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:101: error: expected declaration specifiers or ‘...’ before ‘mul3215’
rgb2rgb.c:101: warning: data definition has no type or storage class
rgb2rgb.c:101: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:101: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:101: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:100: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:102: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:102: error: expected declaration specifiers or ‘...’ before ‘mask24b’
rgb2rgb.c:102: warning: data definition has no type or storage class
rgb2rgb.c:102: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:102: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:102: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:101: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:103: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:103: error: expected declaration specifiers or ‘...’ before ‘mask24g’
rgb2rgb.c:103: warning: data definition has no type or storage class
rgb2rgb.c:103: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:103: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:103: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:102: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:104: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:104: error: expected declaration specifiers or ‘...’ before ‘mask24r’
rgb2rgb.c:104: warning: data definition has no type or storage class
rgb2rgb.c:104: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:104: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:104: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:103: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:105: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:105: error: expected declaration specifiers or ‘...’ before ‘mask24l’
rgb2rgb.c:105: warning: data definition has no type or storage class
rgb2rgb.c:105: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:105: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:105: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:104: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:106: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:106: error: expected declaration specifiers or ‘...’ before ‘mask24h’
rgb2rgb.c:106: warning: data definition has no type or storage class
rgb2rgb.c:106: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:106: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:106: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:105: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:107: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:107: error: expected declaration specifiers or ‘...’ before ‘mask24hh’
rgb2rgb.c:107: warning: data definition has no type or storage class
rgb2rgb.c:107: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:107: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:107: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:106: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:108: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:108: error: expected declaration specifiers or ‘...’ before ‘mask24hhh’
rgb2rgb.c:108: warning: data definition has no type or storage class
rgb2rgb.c:108: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:108: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:108: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:107: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:109: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:109: error: expected declaration specifiers or ‘...’ before ‘mask24hhhh’
rgb2rgb.c:109: warning: data definition has no type or storage class
rgb2rgb.c:109: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:109: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:109: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:108: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:110: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:110: error: expected declaration specifiers or ‘...’ before ‘mask15b’
rgb2rgb.c:110: warning: data definition has no type or storage class
rgb2rgb.c:110: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:110: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:110: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:109: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:111: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:111: error: expected declaration specifiers or ‘...’ before ‘mask15rg’
rgb2rgb.c:111: warning: data definition has no type or storage class
rgb2rgb.c:111: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:111: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:111: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:110: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:112: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:112: error: expected declaration specifiers or ‘...’ before ‘mask15s’
rgb2rgb.c:112: warning: data definition has no type or storage class
rgb2rgb.c:112: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:112: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:112: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:111: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:113: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:113: error: expected declaration specifiers or ‘...’ before ‘mask15g’
rgb2rgb.c:113: warning: data definition has no type or storage class
rgb2rgb.c:113: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:113: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:113: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:112: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:114: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:114: error: expected declaration specifiers or ‘...’ before ‘mask15r’
rgb2rgb.c:114: warning: data definition has no type or storage class
rgb2rgb.c:114: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:114: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:114: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:113: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:116: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:116: error: expected declaration specifiers or ‘...’ before ‘mask16g’
rgb2rgb.c:116: warning: data definition has no type or storage class
rgb2rgb.c:116: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:116: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:116: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:114: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:117: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:117: error: expected declaration specifiers or ‘...’ before ‘mask16r’
rgb2rgb.c:117: warning: data definition has no type or storage class
rgb2rgb.c:117: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:117: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:117: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:116: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:118: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:118: error: expected declaration specifiers or ‘...’ before ‘red_16mask’
rgb2rgb.c:118: warning: data definition has no type or storage class
rgb2rgb.c:118: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:118: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:118: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:117: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:119: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:119: error: expected declaration specifiers or ‘...’ before ‘green_16mask’
rgb2rgb.c:119: warning: data definition has no type or storage class
rgb2rgb.c:119: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:119: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:119: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:118: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:120: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:120: error: expected declaration specifiers or ‘...’ before ‘blue_16mask’
rgb2rgb.c:120: warning: data definition has no type or storage class
rgb2rgb.c:120: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:120: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:120: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:119: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:121: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:121: error: expected declaration specifiers or ‘...’ before ‘red_15mask’
rgb2rgb.c:121: warning: data definition has no type or storage class
rgb2rgb.c:121: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:121: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:121: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:120: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:122: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:122: error: expected declaration specifiers or ‘...’ before ‘green_15mask’
rgb2rgb.c:122: warning: data definition has no type or storage class
rgb2rgb.c:122: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:122: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:122: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:121: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
rgb2rgb.c:123: error: expected declaration specifiers or ‘...’ before numeric constant
rgb2rgb.c:123: error: expected declaration specifiers or ‘...’ before ‘blue_15mask’
rgb2rgb.c:123: warning: data definition has no type or storage class
rgb2rgb.c:123: warning: type defaults to ‘int’ in declaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:123: error: function ‘DECLARE_ASM_CONST’ is initialized like a variable
rgb2rgb.c:123: warning: redundant redeclaration of ‘DECLARE_ASM_CONST’
rgb2rgb.c:122: warning: previous declaration of ‘DECLARE_ASM_CONST’ was here
In file included from rgb2rgb.c:170:
rgb2rgb_template.c: In function ‘rgb24to32_MMX’:
rgb2rgb_template.c:97: error: ‘mask32’ undeclared (first use in this function)
rgb2rgb_template.c:97: error: (Each undeclared identifier is reported only once
rgb2rgb_template.c:97: error: for each function it appears in.)
rgb2rgb_template.c:97: error: memory input 0 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32to24_MMX’:
rgb2rgb_template.c:204: error: ‘mask24l’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24h’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24hh’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24hhh’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24hhhh’ undeclared (first use in this function)
rgb2rgb_template.c:159: error: memory input 2 is not directly addressable
rgb2rgb_template.c:159: error: memory input 3 is not directly addressable
rgb2rgb_template.c:159: error: memory input 4 is not directly addressable
rgb2rgb_template.c:159: error: memory input 5 is not directly addressable
rgb2rgb_template.c:159: error: memory input 6 is not directly addressable
rgb2rgb_template.c: In function ‘rgb15to16_MMX’:
rgb2rgb_template.c:246: error: ‘mask15s’ undeclared (first use in this function)
rgb2rgb_template.c:246: error: memory input 0 is not directly addressable
rgb2rgb_template.c: In function ‘rgb16to15_MMX’:
rgb2rgb_template.c:295: error: ‘mask15rg’ undeclared (first use in this function)
rgb2rgb_template.c:296: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:295: error: memory input 0 is not directly addressable
rgb2rgb_template.c:296: error: memory input 0 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32to16_MMX’:
rgb2rgb_template.c:386: error: ‘mask3216g’ undeclared (first use in this function)
rgb2rgb_template.c:386: error: ‘mask3216br’ undeclared (first use in this function)
rgb2rgb_template.c:386: error: ‘mul3216’ undeclared (first use in this function)
rgb2rgb_template.c:354: error: memory input 3 is not directly addressable
rgb2rgb_template.c:354: error: memory input 4 is not directly addressable
rgb2rgb_template.c:354: error: memory input 5 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32tobgr16_MMX’:
rgb2rgb_template.c:454: error: ‘red_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:454: error: ‘green_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:487: error: ‘blue_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:451: error: memory input 0 is not directly addressable
rgb2rgb_template.c:451: error: memory input 1 is not directly addressable
rgb2rgb_template.c:458: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32to15_MMX’:
rgb2rgb_template.c:545: error: ‘mask3215g’ undeclared (first use in this function)
rgb2rgb_template.c:545: error: ‘mask3216br’ undeclared (first use in this function)
rgb2rgb_template.c:545: error: ‘mul3215’ undeclared (first use in this function)
rgb2rgb_template.c:513: error: memory input 3 is not directly addressable
rgb2rgb_template.c:513: error: memory input 4 is not directly addressable
rgb2rgb_template.c:513: error: memory input 5 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32tobgr15_MMX’:
rgb2rgb_template.c:613: error: ‘red_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:613: error: ‘green_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:646: error: ‘blue_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:610: error: memory input 0 is not directly addressable
rgb2rgb_template.c:610: error: memory input 1 is not directly addressable
rgb2rgb_template.c:617: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24to16_MMX’:
rgb2rgb_template.c:674: error: ‘red_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:674: error: ‘green_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:707: error: ‘blue_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:671: error: memory input 0 is not directly addressable
rgb2rgb_template.c:671: error: memory input 1 is not directly addressable
rgb2rgb_template.c:678: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24tobgr16_MMX’:
rgb2rgb_template.c:737: error: ‘red_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:737: error: ‘green_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:770: error: ‘blue_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:734: error: memory input 0 is not directly addressable
rgb2rgb_template.c:734: error: memory input 1 is not directly addressable
rgb2rgb_template.c:741: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24to15_MMX’:
rgb2rgb_template.c:800: error: ‘red_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:800: error: ‘green_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:833: error: ‘blue_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:797: error: memory input 0 is not directly addressable
rgb2rgb_template.c:797: error: memory input 1 is not directly addressable
rgb2rgb_template.c:804: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24tobgr15_MMX’:
rgb2rgb_template.c:863: error: ‘red_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:863: error: ‘green_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:896: error: ‘blue_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:860: error: memory input 0 is not directly addressable
rgb2rgb_template.c:860: error: memory input 1 is not directly addressable
rgb2rgb_template.c:867: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb15to24_MMX’:
rgb2rgb_template.c:1007: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1007: error: ‘mask15g’ undeclared (first use in this function)
rgb2rgb_template.c:1007: error: ‘mask15r’ undeclared (first use in this function)
rgb2rgb_template.c:1007: error: ‘mmx_null’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24l’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24h’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24hh’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24hhh’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24hhhh’ undeclared (first use in this function)
rgb2rgb_template.c:947: error: memory input 2 is not directly addressable
rgb2rgb_template.c:947: error: memory input 3 is not directly addressable
rgb2rgb_template.c:947: error: memory input 4 is not directly addressable
rgb2rgb_template.c:947: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 6 is not directly addressable
rgb2rgb_template.c: In function ‘rgb16to24_MMX’:
rgb2rgb_template.c:1148: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1148: error: ‘mask16g’ undeclared (first use in this function)
rgb2rgb_template.c:1148: error: ‘mask16r’ undeclared (first use in this function)
rgb2rgb_template.c:1148: error: ‘mmx_null’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24l’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24h’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24hh’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24hhh’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24hhhh’ undeclared (first use in this function)
rgb2rgb_template.c:1089: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1089: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1089: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1089: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 6 is not directly addressable
rgb2rgb_template.c: In function ‘rgb15to32_MMX’:
rgb2rgb_template.c:1262: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1262: error: ‘mask15g’ undeclared (first use in this function)
rgb2rgb_template.c:1262: error: ‘mask15r’ undeclared (first use in this function)
rgb2rgb_template.c:1231: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1231: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1231: error: memory input 4 is not directly addressable
rgb2rgb_template.c: In function ‘rgb16to32_MMX’:
rgb2rgb_template.c:1340: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1340: error: ‘mask16g’ undeclared (first use in this function)
rgb2rgb_template.c:1340: error: ‘mask16r’ undeclared (first use in this function)
rgb2rgb_template.c:1309: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1309: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1309: error: memory input 4 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32tobgr32_MMX’:
rgb2rgb_template.c:1419: error: ‘mask32b’ undeclared (first use in this function)
rgb2rgb_template.c:1419: error: ‘mask32r’ undeclared (first use in this function)
rgb2rgb_template.c:1419: error: ‘mmx_one’ undeclared (first use in this function)
rgb2rgb_template.c:1371: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1371: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1371: error: memory input 5 is not directly addressable
In file included from rgb2rgb.c:179:
rgb2rgb_template.c: In function ‘rgb24to32_MMX2’:
rgb2rgb_template.c:97: error: ‘mask32’ undeclared (first use in this function)
rgb2rgb_template.c:97: error: memory input 0 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32to24_MMX2’:
rgb2rgb_template.c:204: error: ‘mask24l’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24h’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24hh’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24hhh’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24hhhh’ undeclared (first use in this function)
rgb2rgb_template.c:159: error: memory input 2 is not directly addressable
rgb2rgb_template.c:159: error: memory input 3 is not directly addressable
rgb2rgb_template.c:159: error: memory input 4 is not directly addressable
rgb2rgb_template.c:159: error: memory input 5 is not directly addressable
rgb2rgb_template.c:159: error: memory input 6 is not directly addressable
rgb2rgb_template.c: In function ‘rgb15to16_MMX2’:
rgb2rgb_template.c:246: error: ‘mask15s’ undeclared (first use in this function)
rgb2rgb_template.c:246: error: memory input 0 is not directly addressable
rgb2rgb_template.c: In function ‘rgb16to15_MMX2’:
rgb2rgb_template.c:295: error: ‘mask15rg’ undeclared (first use in this function)
rgb2rgb_template.c:296: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:295: error: memory input 0 is not directly addressable
rgb2rgb_template.c:296: error: memory input 0 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32to16_MMX2’:
rgb2rgb_template.c:386: error: ‘mask3216g’ undeclared (first use in this function)
rgb2rgb_template.c:386: error: ‘mask3216br’ undeclared (first use in this function)
rgb2rgb_template.c:386: error: ‘mul3216’ undeclared (first use in this function)
rgb2rgb_template.c:354: error: memory input 3 is not directly addressable
rgb2rgb_template.c:354: error: memory input 4 is not directly addressable
rgb2rgb_template.c:354: error: memory input 5 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32tobgr16_MMX2’:
rgb2rgb_template.c:454: error: ‘red_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:454: error: ‘green_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:487: error: ‘blue_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:451: error: memory input 0 is not directly addressable
rgb2rgb_template.c:451: error: memory input 1 is not directly addressable
rgb2rgb_template.c:458: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32to15_MMX2’:
rgb2rgb_template.c:545: error: ‘mask3215g’ undeclared (first use in this function)
rgb2rgb_template.c:545: error: ‘mask3216br’ undeclared (first use in this function)
rgb2rgb_template.c:545: error: ‘mul3215’ undeclared (first use in this function)
rgb2rgb_template.c:513: error: memory input 3 is not directly addressable
rgb2rgb_template.c:513: error: memory input 4 is not directly addressable
rgb2rgb_template.c:513: error: memory input 5 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32tobgr15_MMX2’:
rgb2rgb_template.c:613: error: ‘red_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:613: error: ‘green_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:646: error: ‘blue_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:610: error: memory input 0 is not directly addressable
rgb2rgb_template.c:610: error: memory input 1 is not directly addressable
rgb2rgb_template.c:617: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24to16_MMX2’:
rgb2rgb_template.c:674: error: ‘red_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:674: error: ‘green_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:707: error: ‘blue_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:671: error: memory input 0 is not directly addressable
rgb2rgb_template.c:671: error: memory input 1 is not directly addressable
rgb2rgb_template.c:678: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24tobgr16_MMX2’:
rgb2rgb_template.c:737: error: ‘red_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:737: error: ‘green_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:770: error: ‘blue_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:734: error: memory input 0 is not directly addressable
rgb2rgb_template.c:734: error: memory input 1 is not directly addressable
rgb2rgb_template.c:741: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24to15_MMX2’:
rgb2rgb_template.c:800: error: ‘red_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:800: error: ‘green_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:833: error: ‘blue_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:797: error: memory input 0 is not directly addressable
rgb2rgb_template.c:797: error: memory input 1 is not directly addressable
rgb2rgb_template.c:804: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24tobgr15_MMX2’:
rgb2rgb_template.c:863: error: ‘red_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:863: error: ‘green_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:896: error: ‘blue_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:860: error: memory input 0 is not directly addressable
rgb2rgb_template.c:860: error: memory input 1 is not directly addressable
rgb2rgb_template.c:867: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb15to24_MMX2’:
rgb2rgb_template.c:1007: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1007: error: ‘mask15g’ undeclared (first use in this function)
rgb2rgb_template.c:1007: error: ‘mask15r’ undeclared (first use in this function)
rgb2rgb_template.c:1007: error: ‘mmx_null’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24l’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24h’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24hh’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24hhh’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24hhhh’ undeclared (first use in this function)
rgb2rgb_template.c:947: error: memory input 2 is not directly addressable
rgb2rgb_template.c:947: error: memory input 3 is not directly addressable
rgb2rgb_template.c:947: error: memory input 4 is not directly addressable
rgb2rgb_template.c:947: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 6 is not directly addressable
rgb2rgb_template.c: In function ‘rgb16to24_MMX2’:
rgb2rgb_template.c:1148: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1148: error: ‘mask16g’ undeclared (first use in this function)
rgb2rgb_template.c:1148: error: ‘mask16r’ undeclared (first use in this function)
rgb2rgb_template.c:1148: error: ‘mmx_null’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24l’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24h’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24hh’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24hhh’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24hhhh’ undeclared (first use in this function)
rgb2rgb_template.c:1089: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1089: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1089: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1089: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 6 is not directly addressable
rgb2rgb_template.c: In function ‘rgb15to32_MMX2’:
rgb2rgb_template.c:1262: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1262: error: ‘mask15g’ undeclared (first use in this function)
rgb2rgb_template.c:1262: error: ‘mask15r’ undeclared (first use in this function)
rgb2rgb_template.c:1231: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1231: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1231: error: memory input 4 is not directly addressable
rgb2rgb_template.c: In function ‘rgb16to32_MMX2’:
rgb2rgb_template.c:1340: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1340: error: ‘mask16g’ undeclared (first use in this function)
rgb2rgb_template.c:1340: error: ‘mask16r’ undeclared (first use in this function)
rgb2rgb_template.c:1309: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1309: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1309: error: memory input 4 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32tobgr32_MMX2’:
rgb2rgb_template.c:1419: error: ‘mask32b’ undeclared (first use in this function)
rgb2rgb_template.c:1419: error: ‘mask32r’ undeclared (first use in this function)
rgb2rgb_template.c:1419: error: ‘mmx_one’ undeclared (first use in this function)
rgb2rgb_template.c:1371: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1371: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1371: error: memory input 5 is not directly addressable
In file included from rgb2rgb.c:188:
rgb2rgb_template.c: In function ‘rgb24to32_3DNOW’:
rgb2rgb_template.c:97: error: ‘mask32’ undeclared (first use in this function)
rgb2rgb_template.c:97: error: memory input 0 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32to24_3DNOW’:
rgb2rgb_template.c:204: error: ‘mask24l’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24h’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24hh’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24hhh’ undeclared (first use in this function)
rgb2rgb_template.c:205: error: ‘mask24hhhh’ undeclared (first use in this function)
rgb2rgb_template.c:159: error: memory input 2 is not directly addressable
rgb2rgb_template.c:159: error: memory input 3 is not directly addressable
rgb2rgb_template.c:159: error: memory input 4 is not directly addressable
rgb2rgb_template.c:159: error: memory input 5 is not directly addressable
rgb2rgb_template.c:159: error: memory input 6 is not directly addressable
rgb2rgb_template.c: In function ‘rgb15to16_3DNOW’:
rgb2rgb_template.c:246: error: ‘mask15s’ undeclared (first use in this function)
rgb2rgb_template.c:246: error: memory input 0 is not directly addressable
rgb2rgb_template.c: In function ‘rgb16to15_3DNOW’:
rgb2rgb_template.c:295: error: ‘mask15rg’ undeclared (first use in this function)
rgb2rgb_template.c:296: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:295: error: memory input 0 is not directly addressable
rgb2rgb_template.c:296: error: memory input 0 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32to16_3DNOW’:
rgb2rgb_template.c:386: error: ‘mask3216g’ undeclared (first use in this function)
rgb2rgb_template.c:386: error: ‘mask3216br’ undeclared (first use in this function)
rgb2rgb_template.c:386: error: ‘mul3216’ undeclared (first use in this function)
rgb2rgb_template.c:354: error: memory input 3 is not directly addressable
rgb2rgb_template.c:354: error: memory input 4 is not directly addressable
rgb2rgb_template.c:354: error: memory input 5 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32tobgr16_3DNOW’:
rgb2rgb_template.c:454: error: ‘red_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:454: error: ‘green_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:487: error: ‘blue_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:451: error: memory input 0 is not directly addressable
rgb2rgb_template.c:451: error: memory input 1 is not directly addressable
rgb2rgb_template.c:458: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32to15_3DNOW’:
rgb2rgb_template.c:545: error: ‘mask3215g’ undeclared (first use in this function)
rgb2rgb_template.c:545: error: ‘mask3216br’ undeclared (first use in this function)
rgb2rgb_template.c:545: error: ‘mul3215’ undeclared (first use in this function)
rgb2rgb_template.c:513: error: memory input 3 is not directly addressable
rgb2rgb_template.c:513: error: memory input 4 is not directly addressable
rgb2rgb_template.c:513: error: memory input 5 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32tobgr15_3DNOW’:
rgb2rgb_template.c:613: error: ‘red_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:613: error: ‘green_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:646: error: ‘blue_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:610: error: memory input 0 is not directly addressable
rgb2rgb_template.c:610: error: memory input 1 is not directly addressable
rgb2rgb_template.c:617: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24to16_3DNOW’:
rgb2rgb_template.c:674: error: ‘red_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:674: error: ‘green_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:707: error: ‘blue_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:671: error: memory input 0 is not directly addressable
rgb2rgb_template.c:671: error: memory input 1 is not directly addressable
rgb2rgb_template.c:678: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24tobgr16_3DNOW’:
rgb2rgb_template.c:737: error: ‘red_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:737: error: ‘green_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:770: error: ‘blue_16mask’ undeclared (first use in this function)
rgb2rgb_template.c:734: error: memory input 0 is not directly addressable
rgb2rgb_template.c:734: error: memory input 1 is not directly addressable
rgb2rgb_template.c:741: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24to15_3DNOW’:
rgb2rgb_template.c:800: error: ‘red_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:800: error: ‘green_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:833: error: ‘blue_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:797: error: memory input 0 is not directly addressable
rgb2rgb_template.c:797: error: memory input 1 is not directly addressable
rgb2rgb_template.c:804: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb24tobgr15_3DNOW’:
rgb2rgb_template.c:863: error: ‘red_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:863: error: ‘green_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:896: error: ‘blue_15mask’ undeclared (first use in this function)
rgb2rgb_template.c:860: error: memory input 0 is not directly addressable
rgb2rgb_template.c:860: error: memory input 1 is not directly addressable
rgb2rgb_template.c:867: error: memory input 2 is not directly addressable
rgb2rgb_template.c: In function ‘rgb15to24_3DNOW’:
rgb2rgb_template.c:1007: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1007: error: ‘mask15g’ undeclared (first use in this function)
rgb2rgb_template.c:1007: error: ‘mask15r’ undeclared (first use in this function)
rgb2rgb_template.c:1007: error: ‘mmx_null’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24l’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24h’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24hh’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24hhh’ undeclared (first use in this function)
rgb2rgb_template.c:1057: error: ‘mask24hhhh’ undeclared (first use in this function)
rgb2rgb_template.c:947: error: memory input 2 is not directly addressable
rgb2rgb_template.c:947: error: memory input 3 is not directly addressable
rgb2rgb_template.c:947: error: memory input 4 is not directly addressable
rgb2rgb_template.c:947: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1010: error: memory input 6 is not directly addressable
rgb2rgb_template.c: In function ‘rgb16to24_3DNOW’:
rgb2rgb_template.c:1148: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1148: error: ‘mask16g’ undeclared (first use in this function)
rgb2rgb_template.c:1148: error: ‘mask16r’ undeclared (first use in this function)
rgb2rgb_template.c:1148: error: ‘mmx_null’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24l’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24h’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24hh’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24hhh’ undeclared (first use in this function)
rgb2rgb_template.c:1198: error: ‘mask24hhhh’ undeclared (first use in this function)
rgb2rgb_template.c:1089: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1089: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1089: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1089: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 5 is not directly addressable
rgb2rgb_template.c:1151: error: memory input 6 is not directly addressable
rgb2rgb_template.c: In function ‘rgb15to32_3DNOW’:
rgb2rgb_template.c:1262: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1262: error: ‘mask15g’ undeclared (first use in this function)
rgb2rgb_template.c:1262: error: ‘mask15r’ undeclared (first use in this function)
rgb2rgb_template.c:1231: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1231: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1231: error: memory input 4 is not directly addressable
rgb2rgb_template.c: In function ‘rgb16to32_3DNOW’:
rgb2rgb_template.c:1340: error: ‘mask15b’ undeclared (first use in this function)
rgb2rgb_template.c:1340: error: ‘mask16g’ undeclared (first use in this function)
rgb2rgb_template.c:1340: error: ‘mask16r’ undeclared (first use in this function)
rgb2rgb_template.c:1309: error: memory input 2 is not directly addressable
rgb2rgb_template.c:1309: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1309: error: memory input 4 is not directly addressable
rgb2rgb_template.c: In function ‘rgb32tobgr32_3DNOW’:
rgb2rgb_template.c:1419: error: ‘mask32b’ undeclared (first use in this function)
rgb2rgb_template.c:1419: error: ‘mask32r’ undeclared (first use in this function)
rgb2rgb_template.c:1419: error: ‘mmx_one’ undeclared (first use in this function)
rgb2rgb_template.c:1371: error: memory input 3 is not directly addressable
rgb2rgb_template.c:1371: error: memory input 4 is not directly addressable
rgb2rgb_template.c:1371: error: memory input 5 is not directly addressable
make[1]: *** [rgb2rgb.o] Error 1
make[1]: Leaving directory `/home/george/ffmpeg/libswscale'
make: *** [lib] Error 2
in addition, running 'make install' resulting this error:
Code: Select all
make -C libavutil install-libs
make[1]: Entering directory `/home/george/ffmpeg/libavutil'
install -d "/opt//lib"
install -m 755 "/opt//lib/.49.6.0"
install: missing destination file operand after `/opt//lib/.49.6.0'
Try `install --help' for more information.
make[1]: *** [install-lib-shared] Error 1
make[1]: Leaving directory `/home/george/ffmpeg/libavutil'
make: *** [install-libs] Error 2
George[/code]
Very Helful Post some suggestions
Thanks for taking the time to write this post. It helped in getting ZM 1.23.3 running on ubuntu 7.04.
I had had to use different compile options for FFMPEG. Your options are below.
Install FFMPEG from SVN
Code:
I had to use these
Install FFMPEG from SVN
Code:
./configure --help will help any newbies to fix this type of problem
I had had to use different compile options for FFMPEG. Your options are below.
Install FFMPEG from SVN
Code:
Code: Select all
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-shared --enable-pp --enable-swscaler --enable-gpl --prefix=/opt/
make
sudo make install
Install FFMPEG from SVN
Code:
Code: Select all
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg
. ./configure --enable-shared --enable-postproc --enable-swscale --enable-gpl --prefix=/opt/
make
sudo make install
I have few questions about the install paths for 1.23.2 for Ubuntu 7.10 given that I previously installed 1.22.3 from the debian package.
For starters, this is the configure command I have so far: I thought I was in good shape until scanning through the makefile I saw that ZM_CONFIG = /usr/etc/zm.conf. However, my current zm.conf file is located at /etc/zm/zm.conf and I don't even have a /usr/etc directory. I see an entry for SYSCONFDIR = /usr/etc, but the ZM_CONFIG entry doesn't reference that, so at a minimum it appears I have to change both entries rather than just one prefix.
I don't want to run 'make install' as long as I see obviously differences like this, since I assume the differences will come back to haunt me. Has anyone else installed 1.23.2 from source having previously used the package installation on Ubuntu 7.10? What is my best course of action at this point?
Peter, have you been trying to keep the same paths as the previous debian package and might you have a detailed list which you can share? Thanks.
For starters, this is the configure command I have so far:
Code: Select all
./configure --with-webdir=/usr/share/zoneminder --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --with-mysql=/usr --prefix=/usr
I don't want to run 'make install' as long as I see obviously differences like this, since I assume the differences will come back to haunt me. Has anyone else installed 1.23.2 from source having previously used the package installation on Ubuntu 7.10? What is my best course of action at this point?
Peter, have you been trying to keep the same paths as the previous debian package and might you have a detailed list which you can share? Thanks.
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
Here's the config line that the 1.23.2 package uses:
Note that for the stock ffmpeg to work you need to apply the following patch:
Out of interest, why are you switching from package to manual install?
PJH
Code: Select all
./configure --host=$(DEB_HOST_
GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --sysconfdir=/etc/zm --prefix=/usr --man
dir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-mysql=/usr --with-webdir=/usr/share/zoneminder --with-ffmpeg=/usr --with-cgidir=/usr/lib/cgi-bin --with-webuser=www-data --with-webgroup=www-data --enable-crashtrace=no
Code: Select all
#! /bin/sh /usr/share/dpatch/dpatch-run
## 06_no_ffmpeg_from_svn.dpatch by <kushnir@kushnir>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad ZoneMinder-1.23.2~/src/zm_mpeg.cpp ZoneMinder-1.23.2/src/zm_mpeg.cpp
--- ZoneMinder-1.23.2~/src/zm_mpeg.cpp 2007-12-18 00:17:23.000000000 +1100
+++ ZoneMinder-1.23.2/src/zm_mpeg.cpp 2008-02-28 21:39:58.000000000 +1100
@@ -277,7 +277,7 @@
if (!(of->flags & AVFMT_NOFILE))
{
/* close the output file */
-#if ZM_FFMPEG_SVN
+#if !ZM_FFMPEG_SVN
url_fclose(ofc->pb);
#else
url_fclose(&ofc->pb);
PJH
Mostly just so I could stay more current with updates, rather than having to wait for a package to be built or updated. Secondarily, I was fearful that a package install might accidentally wipe my database rather than upgrading it. I saw the database upgrade scripts so I knew I could control that. Do you expect the package to be easier to maintain now, such that it's likely to be more current, and does the package properly detect an upgrade vs. new install scenario?Out of interest, why are you switching from package to manual install?
I actually feel guilty even asking those questions, so please understand I do appreciate everything you've done and was just trying to be a bit more self-sufficient. Given that I did manually install the PHP::Serialization already, do you believe my best course of action is to just use your package at this point?
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
One of the two main reasons that the 1.23 package was a long time coming was that I was making sure the upgrade process worked. It invokes the database upgrade scripts and my testing (admittedly basic) has the upgrade working fine.carteriii wrote:Mostly just so I could stay more current with updates, rather than having to wait for a package to be built or updated. Secondarily, I was fearful that a package install might accidentally wipe my database rather than upgrading it. I saw the database upgrade scripts so I knew I could control that. Do you expect the package to be easier to maintain now, such that it's likely to be more current, and does the package properly detect an upgrade vs. new install scenario?Out of interest, why are you switching from package to manual install?
(Of course the other one was getting PHP::Serialization into Debian - and thus into Ubuntu)
As to it being easy to maintain, it depends what new dependencies get sprung on me next time . However we now have a channel to warn the packagers of what is coming.
The more people that use the package the more likely problems are found and (hopefully) fixed. I have no problem with people wanting to roll their own. It's more that, if they do, I'd like to know if it's a problem with the package or now. So I'd suggest trying the upgrade (and it does prompt you to do a backup), but by all means build it yourself if you want to.I actually feel guilty even asking those questions, so please understand I do appreciate everything you've done and was just trying to be a bit more self-sufficient. Given that I did manually install the PHP::Serialization already, do you believe my best course of action is to just use your package at this point?
PJH
Well, I may be my own worst enemy here. I tried running the 1.23.2 package and it failed with:
I assume this is from trying to delete the index UC_Name (not a column), which ironically enough I already dropped since I was the one who initially reported/suggested that change. Ooops!
It looks like many of the binary files were already copied over, despite the failure of the package to install. Does that sound correct, that they would have been moved before the database updates, and that they wouldn't be rolled back? If so, then perhaps all I need to do is manually update the database myself?
Code: Select all
ERROR 1091 (42000) at line 47: Can't DROP 'UC_Name'; check that column/key exists
It looks like many of the binary files were already copied over, despite the failure of the package to install. Does that sound correct, that they would have been moved before the database updates, and that they wouldn't be rolled back? If so, then perhaps all I need to do is manually update the database myself?
-
- Posts: 319
- Joined: Thu Jul 20, 2006 1:07 am
- Location: Australia
I think you're half-correct - the database upgrade happens in the "post-install" phase which (IIRC) is past the point at which a full rollback can occur. However as far as the system is concerned, the package hasn't been properly installed. So you need to do a manual "hack" to get the installation to complete, as well as doing the manual upgrade.
I can't remember the full detail, so we'll have to work through it. Do you have anything with "zoneminder" in the name in /usr/share/debhelper/autoscripts"?
I can't remember the full detail, so we'll have to work through it. Do you have anything with "zoneminder" in the name in /usr/share/debhelper/autoscripts"?