> makes me wonder if no one is compiling the DEBUG sources, turning off lint, 
> or not using SS12 (unlikely?)

but if people are using the "-i" option with nightly that could happen (no 
linting).


To fix the Makefiles I applied this gdiff (see attachment), it fixes _most_ of 
the "-xarch=amd64 is deprecated" warnings but I seem to have missed a few. I'll 
post an update later.


Using that diff fixes thing sufficiently to get far enough to discover another 
problem.

elfsign: Unable to open 
/aux0/testws/usr/src/../closed/cmd/cmd-crypto/etc/certs/SUNWosnetSE as a 
certificate. 


We (outside of Sun, or not in the 'gate group' ?) do not have SUNWosnetSE , we 
only have:

# ls -l /aux0/testws/usr/src/cmd/cmd-crypto/etc/certs
total 40
-r--r--r--   1 9243     staff       1194 Jul 18 15:33 CA
-r--r--r--   1 9243     staff       2466 Jul 18 15:33 SUNWCryptographic10
-r--r--r--   1 9243     staff       2369 Jul 18 15:33 
SUNWCryptographic11_Limited
-rw-r--r--   1 root     root        1761 Jul 25 08:20 SUNWObjectCA
-r--r--r--   1 9243     staff       2844 Jul 18 15:33 SUNWObjectCA.annot
-r--r--r--   1 9243     staff       2296 Jul 18 15:33 SUNWSolaris10
-r--r--r--   1 9243     staff       2466 Jul 18 15:33 SUNWSolarisCA

They are in a different directory so either the one of the Makefiles are 
supposed to create 
SUNWosnetSE using some yet to be discovered (by me) process or there is 
something
missing. I'm getting things to compile 'fairly well' but am getting a lot of 
problems for not
having that certificate available. Here is one example:

# cd /aux0/testws/usr/src/grub/grub-0.95/grub
# dmake -f Makefile.solaris install
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
/usr/sfw/bin/gcc -g -O2 -Wl,-Mmapfile-intf  -L/aux0/testws/proto/root_i386/lib 
-L/aux0/testws/proto/root_i386/usr/lib   -o grub asmstub.o main.o 
../stage2/libgrub.a ../lib/libcommon.a -lcurses
elfsign: Unable to open 
/aux0/testws/usr/src/../closed/cmd/cmd-crypto/etc/certs/SUNWosnetSE as a 
certificate.
*** Error code 4
The following command caused the error:
/usr/ccs/bin/mcs -d -a "@(#)SunOS 5.11 snv_94 October 2007" -a "@(#)SunOS 
Internal Development:  `echo $LOGNAME` `date +%Y-%m-%d` `echo [\`basename 
$CODEMGR_WS\`]`" grub ; : ;  /usr/bin/elfsign sign    -k 
/aux0/testws/usr/src/../closed/cmd/cmd-crypto/etc/keys/SUNWosnetSE -c 
/aux0/testws/usr/src/../closed/cmd/cmd-crypto/etc/certs/SUNWosnetSE -e grub
dmake: Fatal error: Command failed for target `grub'
Current working directory /aux0/testws/usr/src/grub/grub-0.95/grub
# 

Similar errors occur in many other 'closed' directories. I suspect that the 
sources on page: 
http://dlc.sun.com/osol/on/downloads/b94/ have not been packaged so that 
'anyone' can 
download and compile them without having other files that are unavailable 
(outside of Sun).

Rob
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to