On 06/08/2010 09:41 PM, Huseyin Turan wrote:
root@name1-desktop:/home/name1/osmocom/gnuarm-4.0.2/bin# ls -l arm-elf-gcc -rwxrwxrwx 1 name1 name1 112344 2006-02-17 23:59 arm-elf-gcc root@name1-desktop:/home/name1/osmocom/gnuarm-4.0.2/bin# ./arm-elf-gcc bash: ./arm-elf-gcc: cannot execute binary file root@name1-desktop:/home/name1/osmocom/gnuarm-4.0.2/bin# uname -a Linux name1-desktop 2.6.28-19-generic #61-Ubuntu SMP Wed May 26 23:35:15 UTC 2010 i686 GNU/Linux
please try b.) again (you miss the file part) and also please reply to the mailinglist.
Sorry;
file ./arm-elf-gcc ./arm-elf-gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
Looking at gnuarm.com, it looks like you have a x86_64 toolchain and try to run it on i686. Honestly I don't want to be mean but if you can't see what's wrong with that, osmocom-bb might not be for you quite just yet.
On 8-6-2010 15:57, Sylvain Munaut wrote:
Honestly I don't want to be mean but if you can't see what's wrong with that, osmocom-bb might not be for you quite just yet.
Maybe he's good in programming embedded stuff, this has purely to do with Linux specific builds and nothing to do with coding/decoding gsm stuff. By the way, he can always learn...
Maybe he's good in programming embedded stuff, this has purely to do with Linux specific builds and nothing to do with coding/decoding gsm stuff.
I never meant otherwise in my previous message. But basic knowledge / problem solving of the build system is a requirement IMHO, especially in this project (that includes both host and target code with even some shared code between the two).
I also looked up his history on the various mailing lists before posting this and this is not the first build problem with GSM related projects so I would expect him to learn from previous experience.
Also, when I see a message with :
---- zaki@zaki-desktop:~/gnuarm-4.0.2/bin$ file ./arm-elf-gcc ./arm-elf-gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped zaki@zaki-desktop:~/gnuarm-4.0.2/bin$ uname -a Linux zaki-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux ----
And he still asks what's wrong ? An embedded programmer that doesn't know he can't just run binaries from one architecture onto another architecture ...
By the way, he can always learn...
I know, that's why there is a "quite just yet" at the end. That's exactly what I implied: that he learns that first and then come back.
Cheers,
Sylvain
Silvain,
Yes I agree with you, but I just want to note that we have to encourage beginners to keep trying and learning. Especially when one comes from the Windows world like me, where everything builds magically in Visual Studio (debugging is a joy in there ;-) Never programmed in Linux, never used git, gdb, vim, etc... and now, I begin to rock a little bit, thnx to OpenBSC and you guys ;-)
On 8-6-2010 17:07, Sylvain Munaut wrote:
Maybe he's good in programming embedded stuff, this has purely to do with Linux specific builds and nothing to do with coding/decoding gsm stuff.
I never meant otherwise in my previous message. But basic knowledge / problem solving of the build system is a requirement IMHO, especially in this project (that includes both host and target code with even some shared code between the two).
I also looked up his history on the various mailing lists before posting this and this is not the first build problem with GSM related projects so I would expect him to learn from previous experience.
Also, when I see a message with :
zaki@zaki-desktop:~/gnuarm-4.0.2/bin$ file ./arm-elf-gcc ./arm-elf-gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped zaki@zaki-desktop:~/gnuarm-4.0.2/bin$ uname -a Linux zaki-desktop 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux
And he still asks what's wrong ? An embedded programmer that doesn't know he can't just run binaries from one architecture onto another architecture ...
By the way, he can always learn...
I know, that's why there is a "quite just yet" at the end. That's exactly what I implied: that he learns that first and then come back.
Cheers,
Sylvain
On 06/08/2010 11:24 PM, Nordin wrote:
Silvain,
Yes I agree with you, but I just want to note that we have to encourage beginners to keep trying and learning. Especially when one comes from the Windows world like me, where everything builds magically in Visual Studio (debugging is a joy in there ;-) Never programmed in Linux, never used git, gdb, vim, etc... and now, I begin to rock a little bit, thnx to OpenBSC and you guys ;-)
Hi Nordin,
I wouldn't have the skills I have now if it wouldn't be due to others help. And of course I know file and uname and it is new to others. The biggest problem I have is judging is someone is just lazy, or if there is someone who is slow to start but eager to learn.
how would you figure that out?
z.
PS: Would you be willing to help me to go through the documentation and provide some more getting started information? At least two have downloaded a wrong toolchain, I am pretty sure this will happen again.
On 9-6-2010 6:31, Holger Hans Peter Freyther wrote:
Hi Nordin,
I wouldn't have the skills I have now if it wouldn't be due to others help. And of course I know file and uname and it is new to others. The biggest problem I have is judging is someone is just lazy, or if there is someone who is slow to start but eager to learn.
how would you figure that out?
I totally understand Holger and agree with you if we just imagine the amount of work you have to do for the projects comparing to someone new just asking even the simplest basic things, but that's something there always be. So to answer your question, just ignore the posted "stupid" questions, or tell him/her to read again the how-to's, or provide links how to build a project etc... And you guys are even kind to take some effort to answer to such simple questions, there are others who smash him with RTFMs :) But let's just forget about it as it's off-topic.
z.
PS: Would you be willing to help me to go through the documentation and provide some more getting started information? At least two have downloaded a wrong toolchain, I am pretty sure this will happen again.
I'd really like to help you with this project, but as I stated before in OpenBSC as a father of 3 kids and a husband of a very attention-demanding wife I really have very little time, so I'm just following you guys on this list, but I'm not an active member. I'm now focussing on UMTS support for OpenBSC which I really want to help coding this time, as I didn't help to code for 2G in OpenBSC.
Greetings,
Nordin.
Thank you very much.
I have succeded to compile. I will try to deploy on C118.
actually I met the same problem. I read the post again and again, just didn't find the answer. how did you get it done? don't understand why ppl talk a lot just don't make it clear. thousand thanks.
baseband-devel@lists.osmocom.org