Mongoose mini-web-server: need executable for linux 32bits

For discussions about programming, programming questions/advice, and projects that don't really have anything to do with Puppy.
Post Reply
Message
Author
User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

Mongoose mini-web-server: need executable for linux 32bits

#1 Post by Galbi »

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:
# 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.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Mongoose mini-web-server: need executable for linux 32bits

#2 Post by L18L »

Just some warnings with me:
# 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
Attachments
mongoose.png
./mongoose -p 7070 -r examples/html
(19.13 KiB) Downloaded 679 times
mongoose.gz
gunzip it
(36.98 KiB) Downloaded 333 times

User avatar
Galbi
Posts: 1098
Joined: Wed 21 Sep 2011, 22:32
Location: Bs.As. - Argentina.

#3 Post by Galbi »

Thanks L18L !!!!

Works fine.

Post Reply