Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cuervo

Pages: 1 2 [3]
31
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: February 23, 2011, 01:01:52 pm »
Yes, I did

Code: [Select]
export PATH=$PATH:/Users/christiancoors/Desktop/TI-nspire/ndless/trunk/bin/
before.. (on Mac OS X there is no 'C'-drive..)


If I don't do that he tells me os.h is missing and with it it's being included. (but not finding stddef.h)

32
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: February 23, 2011, 11:54:23 am »
Ok, thanks, I now get another error.. but he finds os.h^^

Code: [Select]
nspire-gcc -Os -nostdlib -c any_key_pressed.c
In file included from /Users/christiancoors/Desktop/TI-nspire/ndless/trunk/bin/../include/os.h:8:0,
                 from any_key_pressed.c:22:
/Users/christiancoors/Desktop/TI-nspire/ndless/trunk/bin/../include/common.h:225:20: schwerwiegender Fehler: stddef.h: No such file or directory
Kompilierung beendet.
make[1]: *** [any_key_pressed.o] Error 1
make: *** [subdirs] Error 1

He does not find stddef.h.. And on Ubuntu gcc still crashes.

33
Ndless / Re: Ndless 2.0 for TI-Nspire Clickpad/Touchpad
« on: February 22, 2011, 11:49:59 am »
Hi,

I'm new here..
Tried to make Ndless, but I'm having also this problem with os.h not being found..
The same problem on Mac OS X 10.6.6 and Ubuntu 10.10..

Where is the include-dir included? I didn't find it..

Code: [Select]
christian@CUBULAP1:~/Desktop/ndless/trunk$ make
make all in tools...
make[1]: Betrete Verzeichnis '/home/christian/Desktop/ndless/trunk/tools'
make all in build...
make[2]: Betrete Verzeichnis '/home/christian/Desktop/ndless/trunk/tools/build'
cp nspire-gcc nspire-ld  nspire-as ../../bin
make[2]: Verlasse Verzeichnis '/home/christian/Desktop/ndless/trunk/tools/build'
make all in MakeLoader...
make[2]: Betrete Verzeichnis '/home/christian/Desktop/ndless/trunk/tools/MakeLoader'
gcc -W -Wall MakeLoader.c -o ../../bin/MakeLoader
make[2]: Verlasse Verzeichnis '/home/christian/Desktop/ndless/trunk/tools/MakeLoader'
make[1]: Verlasse Verzeichnis '/home/christian/Desktop/ndless/trunk/tools'
make all in libndls...
make[1]: Betrete Verzeichnis '/home/christian/Desktop/ndless/trunk/libndls'
nspire-gcc -Os -nostdlib -c any_key_pressed.c
any_key_pressed.c:22:16: fatal error: os.h: Datei oder Verzeichnis nicht gefunden
compilation terminated.
make[1]: *** [any_key_pressed.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/christian/Desktop/ndless/trunk/libndls'
make: *** [subdirs] Fehler 1
christian@CUBULAP1:~/Desktop/ndless/trunk$

And if I add
-I../include
in
libndls/Makefile, so
GCCFLAGS = -Os -nostdlib
becomes
GCCFLAGS = -Os -nostdlib -I../include
I get a much more confusing output:

Code: [Select]
make all in tools...
make[1]: Betrete Verzeichnis '/home/christian/Desktop/ndless/trunk/tools'
make all in build...
make[2]: Betrete Verzeichnis '/home/christian/Desktop/ndless/trunk/tools/build'
cp nspire-gcc nspire-ld  nspire-as ../../bin
make[2]: Verlasse Verzeichnis '/home/christian/Desktop/ndless/trunk/tools/build'
make all in MakeLoader...
make[2]: Betrete Verzeichnis '/home/christian/Desktop/ndless/trunk/tools/MakeLoader'
gcc -W -Wall MakeLoader.c -o ../../bin/MakeLoader
make[2]: Verlasse Verzeichnis '/home/christian/Desktop/ndless/trunk/tools/MakeLoader'
make[1]: Verlasse Verzeichnis '/home/christian/Desktop/ndless/trunk/tools'
make all in libndls...
make[1]: Betrete Verzeichnis '/home/christian/Desktop/ndless/trunk/libndls'
nspire-gcc -Os -nostdlib -I../include -c any_key_pressed.c
In file included from any_key_pressed.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -marm -c clear_cache.c
In file included from clear_cache.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -c clrscr.c
In file included from clrscr.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -c feof.c
In file included from feof.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -c fgets.c
In file included from fgets.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -c fputs.c
In file included from fputs.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -marm -c idle.c
In file included from idle.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -c isalnum.c
In file included from isalnum.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -c iscntrl.c
In file included from iscntrl.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -c rewind.c
In file included from rewind.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
nspire-gcc -Os -nostdlib -I../include -c show_msgbox.c
In file included from show_msgbox.c:22:0:
../include/os.h:254:1: warning: inline function ‘printf’ given attribute noinline
../include/os.h:255:1: warning: inline function ‘sprintf’ given attribute noinline
../include/os.h:256:1: warning: inline function ‘fprintf’ given attribute noinline
../include/os.h:315:53: warning: inline function ‘exit’ given attribute noinline
show_msgbox.c: In function ‘show_msgbox’:
show_msgbox.c:35:1: error: insn does not satisfy its constraints:
(insn 63 20 21 2 show_msgbox.c:29 (set (reg:SI 2 r2)
        (reg/f:SI 13 sp)) 167 {*thumb1_movsi_insn_osize} (nil))
show_msgbox.c:35:1: internal compiler error: in reload_cse_simplify_operands, at postreload.c:396
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
make[1]: *** [show_msgbox.o] Fehler 1
make[1]: Verlasse Verzeichnis '/home/christian/Desktop/ndless/trunk/libndls'
make: *** [subdirs] Fehler 1

Sorry for german output.. (and wrong encoding..-.-)


At first I understood why there are no binaries released, but if the people destroy their calculators, it's not your fault, is it?..


TIA
Cuervo

Pages: 1 2 [3]