Bug 5219

Summary: strlcat.c & strlcpy.c missing in xserver/xorg/os
Product: xorg Reporter: David Gómez <davidge>
Component: Build/ModularAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 1690    

Description David Gómez 2005-12-02 09:49:06 UTC
I got this error:

...
Making all in os
make[1]: Entering directory `/home/huma/Xorg/src/xserver/xorg/os'
make[1]: *** No rule to make target `strlcat.c', needed by `strlcat.lo'.  Stop.
make[1]: Leaving directory `/home/huma/Xorg/src/xserver/xorg/os'
make: *** [all-recursive] Error 1

Looking at the Makefile.am, it expects to find in the os/ directory strlcat.c
and strlcpy.c, but they are in xserver/xorg/hw/xfree86/dummylib/
Comment 1 David Gómez 2005-12-03 05:26:50 UTC
I solved it removing them (it seems that strlcat is not used in os/). Anyway
please check that it's the rigth fix.

Index: Makefile.am
===================================================================
RCS file: /cvs/xorg/xserver/xorg/os/Makefile.am,v
retrieving revision 1.5
diff -r1.5 Makefile.am
22,25d21
< if NEED_STRLCAT
< STRLCAT_SOURCES = strlcat.c strlcpy.c
< endif
<
Comment 2 Alan Coopersmith 2005-12-06 18:02:47 UTC
strlcat.c is there in CVS/symlink.sh, but because the tarballs are built on a 
platform that has it, they aren't getting bundled.
Comment 3 Alan Coopersmith 2005-12-07 02:48:06 UTC
I've checked in a fix to the CVS tree which should ensure these files are
included in the next snapshot/RC.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.