**** BEGIN LOGGING AT Sun Mar 16 02:59:59 2014 Mar 16 08:46:15 morning Mar 16 08:59:35 Morning :) Mar 16 12:42:35 hiiii Mar 16 12:44:26 greetings Mar 16 13:10:44 vvu|Log: You mean more technical details? Mar 16 13:41:30 jkridner: ping Mar 16 13:45:35 mranostay: What do you think could be the best way to connect a web-based client to libsigrok based backend? Mar 16 14:14:21 Hello Everyone Mar 16 14:14:42 I need help in compiling hello world program Mar 16 14:15:21 I have setup eclipse and wrote program, but it is not compiling, it says binary not found Mar 16 14:15:38 * its compiling but not runnung/debugguing Mar 16 14:15:43 *running Mar 16 14:16:03 which gcc version are you using (gcc -v) Mar 16 14:16:22 4.6.3 Mar 16 14:20:24 is it arm-linux-gnueabi-gcc ? Mar 16 14:20:47 yup, I have installed and added it Mar 16 14:21:57 Binary not found seems to be an issue of the correct libraries not being compiled into the binary Mar 16 14:23:10 What should I do then? Mar 16 14:25:15 On eclipse, are you building with a makefile? Mar 16 14:26:32 What is the size of the compiled executable? It should be around ~500K in size for a statically linked one. Mar 16 14:27:44 In my project folder, there is one folder 'Debug' and two files named helloworld.c, .cproject, .project Mar 16 14:28:37 in my Debug folder, there are, helloworld.d, helloworld.o, makefile, object.mk, sources.mk subdir.mk Mar 16 14:29:03 and a lib 'libhelloworld.a' Mar 16 14:31:06 It seems a library is being built instead of an executable Mar 16 14:35:02 can you please guide me, I am creating project again Mar 16 14:36:01 Target should be selected as application and not library Mar 16 14:37:57 I am creating new project, New-> C project Mar 16 14:38:15 Project Name : helloworld1 Mar 16 14:38:35 Selected Executeable Cross-Compile Project Mar 16 14:39:32 I clicked next, now its asking for Tool command prefix and tool command path Mar 16 14:40:55 hmm, yes, here arm-linux-gnueabi- (or the name before gcc for your particular compiler) has to be entered Mar 16 14:41:33 in both? Mar 16 14:42:36 for path, where the cross compiler has been installed Mar 16 14:43:21 For the first one (the prefix), the second one is the path to the cross GCC Mar 16 14:44:05 where can I find the path, I installed via command line Mar 16 14:44:54 I use windows, but it should usually be installed in /usr/bin, check in the shell to confirm if it is there Mar 16 14:53:53 I can't find the path Mar 16 14:55:08 add the prefix and leave the second one blank, in that case. Mar 16 14:58:14 Ok Mar 16 14:58:32 Now New-> Source File? Mar 16 15:00:04 yep Mar 16 15:01:53 do I have to go to properties of project and change setting of C/C++ build Mar 16 15:02:20 like command to arm-linux-gnueabi? Mar 16 15:03:06 It should already have been done when you configured your project, you can confirm it. Mar 16 15:04:16 in Seetings I see Cross GCC Compiler but in command field only 'gcc' is written Mar 16 15:04:25 *settings Mar 16 15:05:20 like wise in Cross GCC Linker and in Cross GCC assembler command 'as' is written Mar 16 15:07:10 it's okay, the prefix will be added while building. Mar 16 15:09:22 now should I just write code now? Mar 16 15:10:05 I wrote code but its giving 2 errors Make: ***[helloworld1] Error 1 Mar 16 15:10:22 undefined reference to 'main' Mar 16 15:11:01 yes, it seems to be working fine now. Mar 16 15:11:10 I think it should work now, bbs. Mar 16 15:14:14 its not compiing Mar 16 15:16:31 I added arm-linux-gnueabi- to the compiler confuguration Mar 16 15:17:06 now its giving error make:***[helloworld.1.o] Error 127 Mar 16 15:18:53 my includes are /usr/arm-linux-gnueabi/include Mar 16 15:19:02 /usr/include Mar 16 15:19:35 /usr/lib/gcc/arm-linuz/gnueabi/4.64/include Mar 16 15:20:08 /usr/lib/gcc/arm-linux-gnueabi/4.6/incude-fixed Mar 16 15:20:16 /usr/lib/gcc/arm-linux-gnueabi/4.6/include-fixed Mar 16 15:26:07 Can anyone help me please Mar 16 15:29:03 The complete error message is? Mar 16 15:29:17 ya you want to make sample programe Mar 16 15:30:43 now its giving error make:***[helloworld1] Error 1 Mar 16 15:30:53 undefined reference to 'main' Mar 16 15:31:56 Is there a main function in the c file? Mar 16 15:32:31 yes Mar 16 15:32:46 This is weird Mar 16 15:32:47 int main (void) Mar 16 15:44:22 i restarted eclipse now it compiling Mar 16 15:49:06 its now not showing any output Mar 16 15:49:08 /lib/ld-linux.so.3: No such file or directory Mar 16 15:54:48 Finally I did it, thanks for the help Abhishek Mar 16 15:55:34 Do I have to create .bin file seperatly? Mar 16 16:00:45 the file has to be renamed to .bin, that should do it Mar 16 16:00:59 welcome :) Mar 16 18:07:05 ds2: ping Mar 16 18:36:32 I have just posted my proposal on the portal. Request you all to examine and comment. Mar 16 20:14:39 Hello Every one, Mar 16 20:15:41 I need little help, I created a .c program helloworld, and its running correct in eclipse simulator Mar 16 20:16:06 but unfortunately I can't creat .bin file Mar 16 20:16:43 and run it qemu-arm-static ./helloworld.bin Mar 16 20:18:17 Please guide me how can i solve it **** ENDING LOGGING AT Mon Mar 17 02:59:58 2014