Hi David,
I am using uClibc. Initially I got lot of errors related to *"pthread
missing"*.Later I found that for all Processors without MMU, pthreads is
disabled in uCLibc present in uclinux..So I manually enabled it.
After Enabling pthread in uClibc, I am getting all these errors
related to *undefined
references*. Is it related to some configuration or something else I am
missing.


Thanks for replying so fast.......Thanks Again

Thanks
Ashish Phogat

On Mon, Mar 4, 2013 at 7:24 PM, David Lang <[email protected]> wrote:

> several of your errors have to do with thread related issues. This could
> be that the libc you are using doesn't include pthread support. Rsyslog
> heavily uses threads and won't work if you don't have pthread support
> available.
>
> what libc are you using?
>
> David Lang
>
>  On Mon, 4 Mar 2013, Ashish Phogat wrote:
>
>  Date: Mon, 4 Mar 2013 19:17:29 -0500
>> From: Ashish Phogat <[email protected]>
>> Reply-To: rsyslog-users <[email protected]>
>> To: [email protected]
>> Subject: [rsyslog] Linking error while building rsyslog
>>
>>
>> hi ,
>>
>> I am working on coldfire board M5272C3 in which I am trying to build
>> rsyslod daemon but getting linking errors related to undefined references
>> in net.c file. I saw your mail on uclinux maillist related to rsyslog
>> daemon on coldfire M5272C3. I wish you have idea about my issue I am
>> facing.
>>
>> Rsyslog configuration:
>>
>> Multithreading support enabled:           yes
>> Klog functionality enabled:               yes
>> Regular expressions support enabled:      yes
>> Zlib compression support enabled:         yes
>> MySql support enabled:                    no
>> libdbi support enabled:                   no
>> PostgreSQL support enabled:               no
>> SNMP support enabled:                     no
>> RELP support enabled:                     no
>> file input module enabled:                no
>> input template module will be compiled:   no
>> Large file support enabled:               yes
>> Networking support enabled:               yes
>> Enable GSSAPI Kerberos 5 support:         no
>> Debug mode enabled:                       no
>> Runtime Instrumentation enabled:          no
>> valgrind support settings enabled:        no
>> rsyslogd will be built:                   yes
>>
>> My errors are:
>>
>> .libs/lmnet.so.elf2flt: In function `gethname':
>> /home/aphogat/Downloads/
>> uClinux-dist/user/rsyslog/**build/../net.c:654: undefined reference to
>> `DisableDNS'
>> /home/aphogat/Downloads/**uClinux-dist/user/rsyslog/**build/../net.c:657:
>> undefined reference to `pthread_sigmask'
>> /home/aphogat/Downloads/**uClinux-dist/user/rsyslog/**build/../net.c:683:
>> undefined reference to `bDropMalPTRMsgs'
>> /home/aphogat/Downloads/**uClinux-dist/user/rsyslog/**build/../net.c:689:
>> undefined reference to `pthread_sigmask'
>> /home/aphogat/Downloads/**uClinux-dist/user/rsyslog/**build/../net.c:708:
>> undefined reference to `pthread_sigmask'
>> /home/aphogat/Downloads/**uClinux-dist/user/rsyslog/**build/../net.c:711:
>> undefined reference to `DisableDNS'
>> /home/aphogat/Downloads/**uClinux-dist/user/rsyslog/**build/../net.c:712:
>> undefined reference to `dbgprintf'
>>
>>
>> Please reply if you have any idea.
>>
>> Thanks in Advance for your help.
>> ______________________________**_________________
>> rsyslog mailing list
>> http://lists.adiscon.net/**mailman/listinfo/rsyslog<http://lists.adiscon.net/mailman/listinfo/rsyslog>
>> http://www.rsyslog.com/**professional-services/<http://www.rsyslog.com/professional-services/>
>> What's up with rsyslog? Follow https://twitter.com/rgerhards
>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
>> DON'T LIKE THAT.
>>
>>  ______________________________**_________________
> rsyslog mailing list
> http://lists.adiscon.net/**mailman/listinfo/rsyslog<http://lists.adiscon.net/mailman/listinfo/rsyslog>
> http://www.rsyslog.com/**professional-services/<http://www.rsyslog.com/professional-services/>
> What's up with rsyslog? Follow https://twitter.com/rgerhards
> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad
> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you
> DON'T LIKE THAT.
>
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to