TOP
SSV SOFTWARE SYSTEMS REGISTER  REGISTER
Log in to check your private messages  Log in to check your private messages
START FAQ SEARCH MITGLIEDER PROFILE  Log in 
SSV-Forum
AT91PS_SYS undeclared

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
zeiro



Joined: 11 Feb 2009
Posts: 4

PostPosted: 15.02.2010, 20:12    Post subject: AT91PS_SYS undeclared Reply with quote

Ich möchte den Demo Treiber ssvirq-demo von der CD-Rom neu compilieren.
Folgende Fehermeldung erhalte ich:

roland@roland-laptop:~/Desktop/ssvirq-demo$ make
/usr/local/arm-linux/bin/arm-linux-gcc -D__KERNEL__ -DMODULE -march=armv4 -mtune=arm9tdmi -I/usr/src/linux-2.4.27-vrs1-ssv1/include -Os -pipe -mapcs-32 -Uarm -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -mshort-load-bytes -msoft-float -c ssvirq.c -o ssvirq.o
ssvirq.c:24: parse error before string constant
ssvirq.c:24: warning: type defaults to `int' in declaration of `MODULE_LICENSE'
ssvirq.c:24: warning: function declaration isn't a prototype
ssvirq.c:24: warning: data definition has no type or storage class
ssvirq.c: In function `ssvirq_init':
ssvirq.c:94: `AT91PS_SYS' undeclared (first use in this function)
ssvirq.c:94: (Each undeclared identifier is reported only once
ssvirq.c:94: for each function it appears in.)
ssvirq.c:94: parse error before `AT91_SYS'
ssvirq.c:98: `AT91_SYS' undeclared (first use in this function)
make: *** [ssvirq.o] Fehler 1

Soweit ich weiß ist ja AT91_SYS in der Headerdatei hardware.h zu finden. Diese ist auf der CD-Rom unter /Linux/src/linux-2.4.27-vrs1-ssv1/include/asm-arm/arch-at91rm9200 zu findem.

Meine Frage nun in welches Verzeichniss muss ich nun diese Headerdatei kopieren damit sie mein Compiler findet?
Back to top
View user's profile Send private message
zeiro



Joined: 11 Feb 2009
Posts: 4

PostPosted: 15.02.2010, 22:01    Post subject: Reply with quote

Habe jetzt /Linux/src/linux-2.4.27-vrs1-ssv1.tar.gz nach /usr/src/ entpackt.

Bekomme leider immer noch Fehler:

zeiro@zeiro-laptop:~/Desktop/ssvirq-demo$ make
/usr/local/arm-linux/bin/arm-linux-gcc -D__KERNEL__ -DMODULE -march=armv4 -mtune=arm9tdmi -I/usr/src/linux-2.4.27-vrs1-ssv1/include -Os -pipe -mapcs-32 -Uarm -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -mshort-load-bytes -msoft-float -c ssvirq.c -o ssvirq.o
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:29: asm/rwsem.h: No such file or directory
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/sched.h:21: asm/mmu.h: No such file or directory
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:44: warning: static declaration for `down_read' follows non-static
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h: In function `down_read':
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:46: warning: implicit declaration of function `__down_read'
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h: In function `down_read_trylock':
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:57: warning: implicit declaration of function `__down_read_trylock'
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h: At top level:
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:66: warning: static declaration for `down_write' follows non-static
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h: In function `down_write':
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:68: warning: implicit declaration of function `__down_write'
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h: In function `down_write_trylock':
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:79: warning: implicit declaration of function `__down_write_trylock'
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h: At top level:
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:88: warning: static declaration for `up_read' follows non-static
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h: In function `up_read':
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:90: warning: implicit declaration of function `__up_read'
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h: At top level:
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:98: warning: static declaration for `up_write' follows non-static
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h: In function `up_write':
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/rwsem.h:100: warning: implicit declaration of function `__up_write'
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/fs.h: In function `put_bh':
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/fs.h:1168: warning: implicit declaration of function `smp_mb__before_atomic_dec'
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/sched.h: At top level:
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/sched.h:233: parse error before `mm_context_t'
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/sched.h:233: warning: no semicolon at end of struct or union
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/sched.h: In function `mmdrop':
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/sched.h:769: dereferencing pointer to incomplete type
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/sched.h: At top level:
/usr/src/linux-2.4.27-vrs1-ssv1/include/linux/sched.h:807: conflicting types for `kernel_thread'
/usr/local/arm-linux/lib/gcc-lib/arm-linux/2.95.2/../../../../arm-linux/sys-include/asm/processor.h:132: previous declaration of `kernel_thread'
ssvirq.c: In function `ssvirq_init':
ssvirq.c:94: `AT91PS_SYS' undeclared (first use in this function)
ssvirq.c:94: (Each undeclared identifier is reported only once
ssvirq.c:94: for each function it appears in.)
ssvirq.c:94: parse error before `AT91_SYS'
ssvirq.c:98: `AT91_SYS' undeclared (first use in this function)
make: *** [ssvirq.o] Fehler 1
Back to top
View user's profile Send private message
mha



Joined: 05 May 2006
Posts: 28

PostPosted: 19.02.2010, 09:00    Post subject: Reply with quote

Hallo,

eine allgemeine Anleitung befindet sich im Forum unter
https://ssv-comm.de/forum/viewtopic.php?t=306.

Gruß Marco
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV SOFTWARE SYSTEMS

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2024 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015