FW: Re[2]: [uClinux-dev] brctl or bridging in 2.6 kernel

Jordan Fuerst jfuerst at freewave.com
Thu Oct 27 19:26:21 EDT 2005


I have tracked the error farther up the chain to this:

make[4]: Entering directory
`/home/jfuerst/Desktop/uClinux-dist-2005/user/bridge-utils/brctl'
ucfront-gcc  m68k-elf-gcc -m5200 -DCONFIG_COLDFIRE brctl.o brctl_cmd.o
brctl_disp.o  -L ../libbridge -lbridge -o brctl
/usr/local/lib/gcc-lib/m68k-elf/2.95.3/m5200/libgcc.a(__main.o): In
function `__do_global_ctors':
/home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/../../gcc-2.95.3/gc
c/libgcc2.c(.text+0x36): undefined reference to `__CTOR_LIST__'
/home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/../../gcc-2.95.3/gc
c/libgcc2.c(.text+0x4c): undefined reference to `__CTOR_LIST__'
/home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/../../gcc-2.95.3/gc
c/libgcc2.c(.text+0x54): undefined reference to `__CTOR_LIST__'
/usr/local/lib/gcc-lib/m68k-elf/2.95.3/m5200/libgcc.a(__main.o): In
function `__do_global_dtors':
/home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/../../gcc-2.95.3/gc
c/libgcc2.c(.data+0x0): undefined reference to `__DTOR_LIST__'
collect2: ld returned 1 exit status
make[4]: *** [brctl] Error 1



I can't seem to figure out where the compiler gets this
/home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/ path from. I think
if I can correct this to use the correct path than the problem will
probably go away.

Any ideas?

Regards,

Jordan 

-----Original Message-----
From: uclinux-dev-bounces at uclinux.org
[mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Jordan Fuerst
Sent: Thursday, October 27, 2005 3:29 PM
To: uClinux development list
Subject: FW: Re[2]: [uClinux-dev] brctl or bridging in 2.6 kernel


I added this line to the makefile and it gets rid of the first error.

The second error:

	cp: cannot stat `brctl/brctl': No such file or directory
	make[2]: *** [romfs] Error 1

Is still there; I looked around in the directory structure and indeed
there is no brctl (and no brctld) which should be built by the make file
in the bridge-utils/brctl makefile.

The makefile contains 
brctl: 
	$(brctl_objects)
	$(CC) $brctl_OBJECTS) $(LIBS) -o brctl

Which should output a brctl executable, however no executable gets made
when the file is executed.  I do however get all the object files etc.

Any thoughts on this one?

Regards,

Jordan 

-----Original Message-----
From: Dan Searle [mailto:dan at adelix.com] 
Sent: Thursday, October 27, 2005 3:28 AM
To: Jordan Fuerst
Subject: Re[2]: [uClinux-dev] brctl or bridging in 2.6 kernel

Hi,

Looks like your make file is broken, try...

rmdir /home/jfuerst/Desktop/uClinux-dist-2005/romfs/bin/brctl

Dan.....

Thursday, October 27, 2005, 10:25:42 AM, you wrote:

> This is the error I get with the current bridge-utils

> make[2]: Entering directory
> `/home/jfuerst/Desktop/uClinux-dist-2005/user/bridge-utils
> romfs-inst.sh brctl/brctl /bin/brctl
> rm: cannot remove
> `/home/jfuerst/Desktop/uClinux-dist-2005/romfs/bin/brctl': Is a
> directory
> cp: cannot stat `brctl/brctl': No such file or directory
> make[2]: *** [romfs] Error 1
> make[2]: Leaving directory
> `/home/jfuerst/Desktop/uClinux-dist-2005/user/bridge-utils'
> make[1]: *** [romfs] Error 2
> make[1]: Leaving directory
> `/home/jfuerst/Desktop/uClinux-dist-2005/user'
> make: *** [romfs] Error 1

> Regards,

> Jordan 

> -----Original Message-----
> From: uclinux-dev-bounces at uclinux.org
> [mailto:uclinux-dev-bounces at uclinux.org] On Behalf Of Jordan Fuerst
> Sent: Thursday, October 27, 2005 1:16 AM
> To: uClinux development list
> Subject: [uClinux-dev] brctl or bridging in 2.6 kernel

> Has anyone managed to get bridging or brctl ported and working in the
> 2.6 kernel?

> Is there already a bridging library that I am overlooking? The bridge
> utils utility says it is for 2.4 kernel and invokes compile errors?

> Regards,

> Jordan
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org


> This message has been scanned for viruses by MailController -
www.MailController.altohiway.com


--

Dan Searle
Adelix Ltd
dan.searle at adelix.com web: www.adelix.com
tel: 0845 230 9590 / fax: 0845 230 9591 / support: 0845 230 9592
snail: The Old Post Office, Bristol Rd, Hambrook, Bristol BS16 1RY. UK.

Any views expressed in this email communication are those
of the individual sender, except where the sender specifically states
them to be the views of a member of Adelix Ltd.  Adelix Ltd. does not
represent, warrant or guarantee that the integrity of this communication
has been maintained nor that the communication is free of errors or
interference.

_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org



More information about the uClinux-dev mailing list