Re: Rsyslog Daemon

Larry Baker <[email protected]>
Newsgroups gmane.linux.uclinux.devel
Message-ID <[email protected]>
Ashish,

My uClinux builds apps with the following command, e.g., for config.c:

# ucfront-gcc m68k-uclinux-gcc -mcpu=5208 -DCONFIG_COLDFIRE -fomit-frame-pointer -pipe -fno-common -fno-builtin -fno-dwarf2-cfi-asm -msep-data -D__linux__ -Dunix -D__uClinux__  -DEMBED -Os -g -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -fno-dwarf2-cfi-asm -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -c dbug-config.c

The makefile for rsyslog (linux/user/rsyslog/makefile) is:

[root@atompc linux]# cat user/rsyslog/makefile 
PREFIX=
DESTDIR=$(shell pwd)/install
CONFOPTS = --prefix=$(PREFIX) --disable-klog
#--disable-shared

all: build/build
	$(MAKE) -C build
	$(MAKE) -C build install DESTDIR=$(DESTDIR)

build/build: makefile
	rm -rf build install
	mkdir build
	(cd build; sh ../configure $(CONFIGURE_OPTS) $(CONFOPTS))
	touch build/build

clean:
	rm -rf build install

romfs:
	$(ROMFSINST) -f $(DESTDIR)/sbin /sbin
	$(ROMFSINST) -f $(DESTDIR)/lib /lib

I didn't configure rsyslogd on my system (Lantronix EDS2100), so this is all I can tell you.

Larry Baker
US Geological Survey
650-329-5608
[email protected]



On 12 Mar 2013, at 7:41 AM, Ashish Phogat wrote:

> Hey Folks,
> 
> Anyone succeded in building rsyslog daemon in uclinux Network applications for architectures which are MMU less. I am struggling with Coldfire M5272C3 which is MMU less. I know rsyslog is full of pthreads, which I enabled in uClibc library configuration. But still I am getting errors related to undefined references in file "net.c". Actually the functions that "net.c" is looking for are present in "parser.c" file. 
> 
> I am not sure what I am missing.
> 
> 
> Is it that all applications which are coded using pthreads will not be compiled for MMU less achitectures?
> 
> Thanks in advance for replying.
> 
> Thanks
> Phogat
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.