Hmm..I haven't seen my one with an attachement come through, maybe the list doesn't allow it so I'll just post it in text here..it's not really that big.
Enjoy!
-- Adam Fox NetApp Professional Services, NC adamfox@netapp.com
## ## Copyright (c) 1999 Network Appliance, Inc. All Rights Reserved. ## ## Permission is hereby granted, free of charge, to any person obtaining ## a copy of this software and associated documentation files (the ## "Software"), to deal in the Software without restriction, including ## without limitation the rights to use, copy, modify, merge, publish, ## distribute, sublicense, and/or sell copies of the Software, and to ## permit persons to whom the Software is furnished to do so, subject to ## the following conditions: ## ## The above copyright notice and this permission notice shall be included ## in all copies or substantial portions of the Software. ## ## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ## OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ## THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ## LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING ## FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ## DEALINGS IN THE SOFTWARE. ##
SUBDIRS= lib src TARGETS = all clean
$(TARGETS):: for i in $(SUBDIRS); do cd $$i ; $(MAKE) $@ || exit 1; cd .. ;done
-----Original Message----- From: Fox, Adam [mailto:Adam.Fox@netapp.com] Sent: Friday, August 17, 2001 1:47 PM To: 'Jim Davis'; neil lehrer Cc: toasters Subject: RE: ndmpcopy problem
That's basically what I did with the version I attached on my last message. I hacked out that version a month or two ago when a TSE had a call with that issue so I wrote it up. It's a pretty simple change.
-- Adam Fox NetApp Professional Services, NC adamfox@netapp.com
-----Original Message----- From: Jim Davis [mailto:jdavis@cs.arizona.edu] Sent: Friday, August 17, 2001 1:07 PM To: neil lehrer Cc: toasters Subject: Re: ndmpcopy problem
On Fri, 17 Aug 2001, neil lehrer wrote:
hi,
i downloaded ndmpcopy 1.2 from ndmp.org
when i first tried to make it on solaris 7 i got
make: Fatal error: Unknown option `-C'
Are you using Sun's make (/usr/ccs/bin/make)? I get a similar error on Solaris 7 with that, but it works with GNU make.
The '-C' is basically just to cd to the lib and src subdirectories and run the Makefiles there, so you could modify the toplevel Makefile appropriately if you wanted to stick with Sun's make.