verma wrote: > I am building the /usr/src/cmd/sgs/ldd on soalris machine ,i am getting > following error: > /bin/ld unregonised options '-M/usr/src/cmd/mapfile_noexstk' > could anyone help me to find out the solutions of the problem i think this is > a problem related to linker which used some map files
In the environments in which we build components, this mapfile definition is inherited from cmd/Makefile.cmd: NES_MAPFILE= $(SRC)/cmd/mapfile_noexstk Perhaps you have an environment where $(SRC) isn't being defined? If $(SRC) wasn't defined I'd expect an error message more like: % cc -o /dev/null main.c -M/usr/src/cmd/mapfile_noexstk ld: fatal: file /usr/src/cmd/mapfile_noexstk: stat failed: No such file or directory rather than this being called out as an "unrecognized option". -- Rod.