ohhh ... bad news ... but don't know if it is a problem with my standard (updated) SuSE 10.3 kernel 2.6.22.17-0.1-default ... seems that some data types make problems in x86_64 it version ?
added some error messages I forgot ... I think something must be wrong with datatypes in x86_64 ... I tried to add -m64 but nothing changed ... warnings are not good but :-) but this errors are bad ... any hint?
------------------------
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h: In function ‘lowmem_page_address’:
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:569: warning: integer constant is too large for ‘unsigned long’ type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:569: warning: cast to pointer from integer of different size
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h: In function ‘pud_alloc’:
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:912: warning: left shift count >= width of type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:912: warning: integer constant is too large for ‘unsigned long’ type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:912: warning: cast to pointer from integer of different size
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h: In function ‘pmd_alloc’:
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:918: warning: left shift count >= width of type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:918: warning: integer constant is too large for ‘unsigned long’ type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:918: warning: cast to pointer from integer of different size
/home/mazi1802/SourceCodes/stk11xx-svn-rev75/stk11xx-v4l.c: In function ‘v4l_stk11xx_mmap’:
/home/mazi1802/SourceCodes/stk11xx-svn-rev75/stk11xx-v4l.c:556: warning: left shift count >= width of type
{standard input}: Assembler messages:
{standard input}:1241: Error: attempt to move .org backwards
{standard input}:1239: Error: cannot represent relocation type BFD_RELOC_64
{standard input}:1239: Error: cannot represent relocation type BFD_RELOC_64
make[4]: *** [/home/mazi1802/SourceCodes/stk11xx-svn-rev75/stk11xx-v4l.o] Fehler 1
make[3]: *** [_module_/home/mazi1802/SourceCodes/stk11xx-svn-rev75] Fehler 2
make[2]: *** [modules] Fehler 2
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.17-0.1-obj/x86_64/default'
make: *** [driver] Fehler 2
---------------------------
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Error compling ...
Logged In: YES
user_id=650279
Originator: YES
Hi Nick,
added some error messages I forgot ... I think something must be wrong with datatypes in x86_64 ... I tried to add -m64 but nothing changed ... warnings are not good but :-) but this errors are bad ... any hint?
------------------------
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h: In function ‘lowmem_page_address’:
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:569: warning: integer constant is too large for ‘unsigned long’ type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:569: warning: cast to pointer from integer of different size
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h: In function ‘pud_alloc’:
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:912: warning: left shift count >= width of type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:912: warning: integer constant is too large for ‘unsigned long’ type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:912: warning: cast to pointer from integer of different size
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h: In function ‘pmd_alloc’:
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:918: warning: left shift count >= width of type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:918: warning: integer constant is too large for ‘unsigned long’ type
/usr/src/linux-2.6.22.17-0.1/include/linux/mm.h:918: warning: cast to pointer from integer of different size
/home/mazi1802/SourceCodes/stk11xx-svn-rev75/stk11xx-v4l.c: In function ‘v4l_stk11xx_mmap’:
/home/mazi1802/SourceCodes/stk11xx-svn-rev75/stk11xx-v4l.c:556: warning: left shift count >= width of type
{standard input}: Assembler messages:
{standard input}:1241: Error: attempt to move .org backwards
{standard input}:1239: Error: cannot represent relocation type BFD_RELOC_64
{standard input}:1239: Error: cannot represent relocation type BFD_RELOC_64
make[4]: *** [/home/mazi1802/SourceCodes/stk11xx-svn-rev75/stk11xx-v4l.o] Fehler 1
make[3]: *** [_module_/home/mazi1802/SourceCodes/stk11xx-svn-rev75] Fehler 2
make[2]: *** [modules] Fehler 2
make[1]: *** [modules] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.17-0.1-obj/x86_64/default'
make: *** [driver] Fehler 2
---------------------------
Logged In: YES
user_id=650279
Originator: YES
sorry svn75 (1.3.1) but not rev57 !!!