Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 30 Oct 2014, 14:22
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Mongoose mini-web-server: need executable for linux 32bits
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Galbi


Joined: 21 Sep 2011
Posts: 470
Location: Bs.As. - Argentina.

PostPosted: Mon 21 Jan 2013, 15:29    Post_subject:  Mongoose mini-web-server: need executable for linux 32bits
Sub_title: Compiling error
 

Can someone be so glad to tell me how can I compile this little app?
http://code.google.com/p/mongoose/

Really, I only need the executable for Linux 32 bit (in FatDog Puppy there is the 64bit exec ).

When tried to compile I got this error:

Quote:
# make linux
cc mongoose.c -shared -fPIC -fpic -o libmongoose.so -Wl,-soname,libmongoose.so -ldl -pthread -std=c99 -O2 -W -Wall -pedantic
cc mongoose.c main.c -o mongoose -ldl -pthread -std=c99 -O2 -W -Wall -pedantic
cc: main.c: No such file or directory
make: *** [linux] Error 1


Thanks.
Back to top
View user's profile Send_private_message 
L18L

Joined: 19 Jun 2010
Posts: 2534
Location: Moved from Hosla to www.eussenheim.de

PostPosted: Mon 21 Jan 2013, 16:37    Post_subject: Re: Mongoose mini-web-server: need executable for linux 32bits
Sub_title: Compiling error
 

Just some warnings with me:
Quote:
# make linux
cc mongoose.c main.c -o mongoose -ldl -pthread -std=c99 -O2 -W -Wall -pedantic
mongoose.c: In function ‘spawn_process’:
mongoose.c:1412:34: warning: parameter ‘envblk’ set but not used [-Wunused-but-set-parameter]
mongoose.c: In function ‘ssl_locking_callback’:
mongoose.c:4511:71: warning: parameter ‘file’ set but not used [-Wunused-but-set-parameter]
mongoose.c:4512:38: warning: parameter ‘line’ set but not used [-Wunused-but-set-parameter]
#

executable attached
have fun
mongoose.png
 Description   ./mongoose -p 7070 -r examples/html
 Filesize   19.13 KB
 Viewed   403 Time(s)

mongoose.png

mongoose.gz
Description  gunzip it
gz

 Download 
Filename  mongoose.gz 
Filesize  36.98 KB 
Downloaded  164 Time(s) 
Back to top
View user's profile Send_private_message 
Galbi


Joined: 21 Sep 2011
Posts: 470
Location: Bs.As. - Argentina.

PostPosted: Mon 21 Jan 2013, 18:10    Post_subject:  

Thanks L18L !!!!

Works fine.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Off-Topic Area » Programming
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0493s ][ Queries: 13 (0.0104s) ][ GZIP on ]