LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-06-2013, 10:51 PM   #1
amar@solus
LQ Newbie
 
Registered: Mar 2013
Posts: 10
Blog Entries: 1

Rep: Reputation: Disabled
To implement WEB-SERVICE with uclinux using c programming.


I want to achieve something like this

I have 4 C source and header files and with using "arm-uclinuxeabi-gcc" I want to compile and create one single executable file..? and need to add this to my kernel Image.

In our host machine in order to generate binary file we used commands like this

"gcc -o calc calc.c stdsoap2.c soapC.c soapClient.c"


After this step we got "calc" binary file this works.

how to achieve this step in uclinux using arm-uclinux crass compiler to generate single executable binary file...??

when I compiled using Makefile and using are-uclinux its giving error like this
...............................................................................
.......................................................................
Building modules, stage 2.
MODPOST 0 modules
make[1]: Leaving directory `/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/linux'
make -C app all CFLAGS="-Os -mcpu=cortex-m3 -mthumb -I/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/A2F/root/usr/include" LDFLAGS="-mcpu=cortex-m3 -mthumb -L/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/A2F/root/usr/lib"
make[1]: Entering directory `/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test/app'
arm-uclinuxeabi-gcc -Os -mcpu=cortex-m3 -mthumb -I/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/A2F/root/usr/include -o calc calc.c soapC.c soapClient.c /home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test/app/stdsoap2.c
Critical error: Cannot open file "arm-uclinuxeabi-gcc -Os -mcpu=cortex-m3 -mthumb -I/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/A2F/root/usr/include -o calc calc.c soapC.c soapClient.c /home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test/app/stdsoap2.c " for reading
make[1]: *** [calc] Error 1
make[1]: Leaving directory `/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test/app'
make: *** [app] Error 2
root@amarayya-System-Product-Name:/home/amarayya/doc/LPC1788/linux-lpc-1.9.0/linux-cortexm-1.9.0/projects/solus_test#

how can I fix critical error in crass compiler and what is the reason for it..?

help me reading this...

thanks in advance

Last edited by amar@solus; 03-13-2013 at 05:42 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] What topics do I need to study for *web* client server programming - Web service? Aquarius_Girl Programming 9 03-15-2013 09:53 AM
the programming language that is fastest to implement features deltrem Programming 8 08-14-2012 08:37 AM
how to implement PPTP passthrough in uclinux aparna8419 Linux - Networking 0 04-03-2007 02:33 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration