Yes, i am trying to run mongoose server in my local machine. i want to load 
the server without .dmg file. Thats why i use terminal. I placed 
mongoose.h, mongoose.c and hello.c in the same folder. Now i am trying to 
load the server, but fails. i don't know how to solve this. Please help me.

On Monday, 23 June 2014 16:02:18 UTC+5:30, Sergey Lyubka wrote:
>
> Make sure mongoose.c and hello.c are from the same repo revision
> On Jun 23, 2014 11:26 AM, "Jijo Thomas" <jijoven...@gmail.com 
> <javascript:>> wrote:
>
>> Yes,  already added Mongoose.c file and mongoose.h file. Both the files 
>> and hello.c are in the same folder.
>>
>> On Monday, 23 June 2014 14:03:46 UTC+5:30, Sergey Lyubka wrote:
>>>
>>> You need to add mongoose.c to the compilation
>>>
>>>
>>> On Mon, Jun 23, 2014 at 9:15 AM, Jijo Thomas <jijoven...@gmail.com> 
>>> wrote:
>>>
>>>> I am new in Mongoose server. My doubt is how to run mongoose server in 
>>>> my mac. I want to run it from terminal. i am trying to load hello.c in the 
>>>> example project that you have given with gcc compiler, but fail to run. 
>>>> Please find the error that i get when i run "gcc hello.c" in terminal. 
>>>> Please help me
>>>>
>>>> Undefined symbols for architecture x86_64:
>>>>   "_mg_add_uri_handler", referenced from:
>>>>       _main in hello-e35d38.o
>>>>   "_mg_create_server", referenced from:
>>>>       _main in hello-e35d38.o
>>>>   "_mg_get_option", referenced from:
>>>>       _main in hello-e35d38.o
>>>>   "_mg_poll_server", referenced from:
>>>>       _main in hello-e35d38.o
>>>>   "_mg_printf_data", referenced from:
>>>>       _index_html in hello-e35d38.o
>>>>   "_mg_set_option", referenced from:
>>>>       _main in hello-e35d38.o
>>>> ld: symbol(s) not found for architecture x86_64
>>>> clang: error: linker command failed with exit code 1 (use -v to see 
>>>> invocation)
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "mongoose-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to mongoose-user...@googlegroups.com.
>>>> To post to this group, send email to mongoos...@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/mongoose-users.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "mongoose-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to mongoose-user...@googlegroups.com <javascript:>.
>> To post to this group, send email to mongoos...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/mongoose-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mongoose-users+unsubscr...@googlegroups.com.
To post to this group, send email to mongoose-users@googlegroups.com.
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to