maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N9 / N950 (https://talk.maemo.org/forumdisplay.php?f=51)
-   -   gcc: Compilation issue on N9 (https://talk.maemo.org/showthread.php?t=86888)

meegon9 2012-09-17 13:10

gcc: Compilation issue on N9
 
1 Attachment(s)
I've written a sample program, just to test gcc on N9. Just a program which contain printf("success");

However, it gives me some errors (screenshot attached).

I've installed the necessary packages for compilation (gcc-4.4, g++-4.4) and dependencies.

Could someone figure out what am I missing?

Thanks in advance :)

rash.m2k 2012-09-17 13:13

Re: gcc: Compilation issue on N9
 
Seems like your encoding is screwed up?

Stray xxxx in program.

meegon9 2012-09-17 13:18

Re: gcc: Compilation issue on N9
 
Quote:

Originally Posted by rash.m2k (Post 1267935)
Seems like your encoding is screwed up?

Stray xxxx in program.

So how do I fix it? :)

aStrike 2012-09-17 15:12

Re: gcc: Compilation issue on N9
 
In my development process, I used to get theis error (if I remember correctly) when I copy-pasted, or when I typed with the ctrl or shift keys pressed or when I used the wrong white-space intead of a regular space.
You can try creating a new text file type all the code you want while making sure the ctrl or shift keys are not pressed, and compile that file.

rash.m2k 2012-09-17 15:41

Re: gcc: Compilation issue on N9
 
Quote:

Originally Posted by meegon9 (Post 1267937)
So how do I fix it? :)

Don't copy and paste code - you need to type it in manually.

https://discussions.apple.com/thread...art=0&tstart=0
http://www.exstrom.com/journal/comp/tex4ht.html


All times are GMT. The time now is 06:13.

vBulletin® Version 3.8.8