[uClinux-dev] 20080131 patch?

Allon Stern allon.stern at argonst.com
Tue Feb 5 22:44:52 EST 2008


On Feb 5, 2008, at 10:26 PM, Greg Ungerer wrote:
> What in user space didn't build?
> What kernel version did you choose?
> Can you send the failed make output?

It seemed to hinge on PAM, and ppp, though I don't remember just now.  
I just applied the restore gui patch and am trying again with a  
completely stock kernel/userland. Well, almost completely.

One thing I noticed was that the makefiles seemed to want to do -j4.  
While this might be faster, I beleive my development system, FC6,  
does suffer some problems with multiple jobs. As I watch my new build  
with the patched makefiles, it appears not to be attempting -j4. Odd,  
the patch doesn't seem to affect that...

ah, here we go. It just failed...

kernel chosen was 2.6.x
One thing I didn't think of is that I'm using binutils-2.16,  
gcc-4.1.1 from the m68k-uclinux-tools-20061214 distribution. Do I  
need to update my toolchain? These tools are the latest on the  
uclinux website.

anyway, here's where I run into trouble:


plipconfig.c:111: warning: dereferencing type-punned pointer will  
break strict-aliasing rules
ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -Wl,-elf2flt - 
Wl,-move-rodata -msep-data -Wl,-elf2flt -Wl,-move-rodata -msep-data  - 
Llib -o plipconfig plipconfig.o -lnet-tools
make[3]: Leaving directory `/home/allon/coldfire/uClinux-dist/user/ 
net-tools'
ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -Os -g -fomit- 
frame-pointer -pipe -fno-common -fno-builtin -Wall   -DEMBED -msep- 
data -Dlinux -D__linux__ -Dunix -D__uClinux__  -DHAVE_PATHS_H - 
DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' - 
DCHAPMS=1 -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1  
-DPLUGIN -DMAXOCTETS   -c -o ecp.o ecp.c
ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -Os -g -fomit- 
frame-pointer -pipe -fno-common -fno-builtin -Wall   -DEMBED -msep- 
data -Dlinux -D__linux__ -Dunix -D__uClinux__  -DHAVE_PATHS_H - 
DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr/local"' - 
DCHAPMS=1 -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1  
-DPLUGIN -DMAXOCTETS   -c -o auth.o auth.c
auth.c:404: error: ‚'pamservice‚' undeclared here (not in a function)
auth.c:406: error: ‚'explicit_pamservice‚' undeclared here (not in a  
function)
make[5]: *** [auth.o] Error 1
make[5]: Leaving directory `/home/allon/coldfire/uClinux-dist/user/ 
pppd/build/pppd'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/allon/coldfire/uClinux-dist/user/ 
pppd/build'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/allon/coldfire/uClinux-dist/user/pppd'
make[2]: *** [pppd] Error 2
make[2]: Leaving directory `/home/allon/coldfire/uClinux-dist/user'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/allon/coldfire/uClinux-dist/user'
make: *** [subdirs] Error 1

-
allon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20080205/dfb38f68/attachment.html


More information about the uClinux-dev mailing list