[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alpha/1026: error making links in /sys/arch/alpha




>Number:         1026
>Category:       alpha
>Synopsis:       make links in /sys/arch/alpha tries to link in tc/include
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Fri Dec 24 17:10:02 MST 1999
>Last-Modified:
>Originator:     Thierry Deval
>Organization:
Prime Objective
>Release:        2.6-current
>Environment:
	
	System      : OpenBSD 2.6
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
	
Well, I'm trying to cross build from i386 -> alpha (I'm sure it's not
advised , and I'm not sure that the bug I came into would show up in
an ALPHA build 8)

When I tried to install the Alpha machine specific include files, I
came to test the 'make' targets in the /sys/arch/alpha Makefile.
By doing 'make links' (one of the defined targets), I get the following:
  # make links
  for i in tc include; do  cd $i && rm -f tags; ln -s ../tags tags; done
  /bin/sh: cd: /usr/src/sys/arch/alpha/tc/include - No such file or directory
  ln: tags: File exists
  *** Error code 1 (ignored)

>How-To-Repeat:
	
  # cd /sys/arch/alpha
  # make tags
> # make links

>Fix:
	
Apply the following patch :

# cvs -d /cvs diff Makefile 
Index: Makefile
===================================================================
RCS file: /cvs/src/sys/arch/alpha/Makefile,v
retrieving revision 1.3
diff -r1.3 Makefile
27c27
<           cd $$i && rm -f tags; ln -s ../tags tags; done
---
>           (cd $$i && rm -f tags; ln -s ../tags tags); done

>Audit-Trail:
>Unformatted: