[ELDK] PPC_6xx does not have brlock.h
Douglas Lopes Pereira
douglaslopespereira at gmail.com
Mon Mar 15 14:31:47 CET 2010
Hi guys,
I'm new to this list and just started working with ELDK.
We are using ELDK 4.2 with ppc_6xx support. Our clients application includes
linux/config.h and compilation fails since it is not there anymore (probably
removed on 4.1).
What I did to solve it was copying an older version of config.h to the linux
directory.
The problem is that the application also uses linux/brlock.h and possibly
other libraries that were not found in ELDK include directory so it is
failling again.
Does anyone know what happened to brlock.h file? Does that exists on any
older ELDK version?
Below you can find the compiler output:
ppc_6xx-gcc -M -I.. -I../pal/api -I../pal/linux -I../lib
-I../platform/linux -DIS_XGSIII -DLB304 -Wall -funsigned-char
-fno-signed-char -Wlong-long -Wnested-externs -I../imi/util -I../hal
-I../nsm/L2 -I../hsl -DINCLUDE_L3 -DBCM_ESW_SUPPORT -D__KERNEL__ -DLINUX
-DMODULE -O2 -fomit-frame-pointer -fno-strict-aliasing -G 0 -fno-pic -Wall
-pipe -DEXPORT_SYMTAB -I/opt/ELDK-4.2/ppc_6xx/usr/src/linux-2.6.24/include
-I/opt/ELDK-4.2/usr/bin/../lib/gcc/powerpc-linux/4.2.2/m603/include -I../hsl
-I../hsl/common -I../hal -I../hal/hsl -I../hal/L2 -I../hsl/L2 -I../hal/L3
-I../hsl/L3 -I../hsl/L3 -DINCLUDE_L3 hsl.c >>
../platform/linux/dep/hsl.dep.x
In file included from hsl.c:4:
../hsl/broadcom/linux/hsl_os.h:13:26: error: linux/brlock.h: No such file or
directory
.....
Hope someone can have a clue on that.
Thanks in advance.
Regards,
Douglas
More information about the eldk
mailing list