Skip to contentSkip to conversation

ARCH=ppc strncmp undefined

DISCUSSION David H. Lynch Jr. 2 participants 2 messages Apr 27, 2008

lore
Share & tools
lore
#0 lore raw

After pulling and rebasing to 2.6.25, I get strncmp is undefined
when I try to link the kernel.

I have not chased this down as just added strncmp into
arch/ppc/lib/string.S

But I would guess this is a side effect of changes to accomidate
migration to ARCH=powerpc.
There appear to be a number of remaining arch/ppc BSP's that need
strncmp and therefore

    will not build in 2.6.25.
Signature · 8 lines
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       [email protected] 	  http://www.dlasys.net
fax: 1.253.369.9244 			           Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.

"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
#1 lore raw
Quoted 11 lines · David H. Lynch Jr.

After pulling and rebasing to 2.6.25, I get strncmp is undefined
when I try to link the kernel.

I have not chased this down as just added strncmp into
arch/ppc/lib/string.S

But I would guess this is a side effect of changes to accomidate
migration to ARCH=powerpc.
There appear to be a number of remaining arch/ppc BSP's that need
strncmp and therefore

    will not build in 2.6.25.

There is a patch to fix this bug:

http://ozlabs.org/pipermail/linuxppc-dev/2008-April/055094.html

Cheers,
g.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.