From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f72b0,448ed825e4d531d9,start X-Google-Attributes: gidf72b0,public X-Google-Thread: fc89c,448ed825e4d531d9,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,448ed825e4d531d9,start X-Google-Attributes: gidfee84,public From: Stephen Marley Subject: DEC Unix troubles Date: 1997/12/11 Message-ID: <66otou$mpo@mxgate.memex.co.uk>#1/1 X-Deja-AN: 297236193 Followup-To: comp.unix.osf.osf1 Organization: MR-Memex Ltd, East Kilbride, Scotland Newsgroups: comp.unix.osf.osf1,comp.unix.misc,comp.unix.programmer I've recently had a problem with FlexLM vendor daemons built on our Digital Unix 4.0B 564 that wouldn't run on various customers' machines which had *identical* OS revisions and patches (ie none). Basically the loader would complain about unresolved symbols that had null names on the customer machine. How is this possible unless the OS are indeed quite different for different hardware platforms even at the library and loader level? What sort of confidence can we have in any tests we run if this is true? It turns out the problem were due to Flex's lmstrip command removing too many symbols but it still doesn't explain the different behaviour of the loader under identical OS revisions. Second gripe: Why is OSF's make so badly broken? All our makefiles work with the native make program on every other flavour of Unix I have ever seen. I have always had to install GNU make on OSF but now even that doesn't work right on 4.0B. The main problem is that there's no default rule for updating a library member from a .c file, i.e., you can't say: LIB = liblib.a LIBMEMBERS = $(LIB)(file1.o) $(LIB)(file2.o) $(LIB): $(LIBMEMBERS) $(RANLIB) $(LIB) and expect $(LIB)(file1.o) to be recompiled if file1.c is newer than the archive member. I installed the latest GNU make 3.76.1 BTW and at the moment I have to `ar dv $(LIB) file.o' to force make to consider a rebuild when I've update thed .c file. What is the easiest way to fix this apart from writing rules for each individual object file? And while I on a rant, isn't the most stupid default rule the one that does an `sccs get' of the latest version of a file if the s.file is newer? Don't people ever want to build a stable or old version of their software? -- stephen@memex.com