Sponsored Content
Operating Systems Solaris What is the use of .msg fils in Solaris? Post 302971841 by rajujayanthy on Tuesday 26th of April 2016 08:48:15 AM
Old 04-26-2016
What is the use of .msg fils in Solaris?

I am new to SOlaris OS, compilation using make files etc.

I have a code base that I am trying to compile under Solaris 2.5 OS. IT has a folder structure, where the root folder contains the master make file which calls each of the make files present in the subfolders to compile the code in that sub folder.

In the make file, I found an entry, which is trying to generate a .msg file from some .lnk files and some other files. for e.g.

Code:
 abc.msg : abc.lnk \
 $(SOME_OBJ_FILES) \
  
 lnk30 -q -cr abc.lnk
 hex30 -q -x -map abc.mxp -boot -bootorg SERIAL \
 -e `fgrep "ENTRY POINT SYMBOL" abc.map \
 | sed -e "s/^.*:.*: \(.*\)/\1h/"` abc.out
 load30x -b abc  
 cp abc.msg ../xxx/yyy/abc.msg

I am trying to understand the below things. Not getting much help from Internet.

1. what is an .msg file?
2. What is a .lnk file? Why is it being used to generate an .msg file through lnk30 command?
3. What is the purpose of "lnk30" command in compilation? Is it used to link binaries?
4. What is an ".mxp" file and a ".map" file?
5. What is a "load" command and what is it's purpose during compilation ?

If there is any resource on internet that explains the above things, please share the URL.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

startx, xauth msg and Solaris 8

I just built my first Solaris 8 machine. I start x using this command (assume I'm in the correct directory): ./startx After I run this command, I receive this extremely frustrating message: /startx: XAUTHORITY=//.Xauthority: is not an identifier Can someone tell me what I am doing... (4 Replies)
Discussion started by: rpeteg
4 Replies

2. IP Networking

Netstat msg

What do you think of the netstat msg about : udp 2320 0 *:xdmcp *:* The 2320? Does that mean an error? I used netstat -l | grep 'xdmcp' to get that, but does the 2320 indicate an error? I'm trying to figure out why, after i've enabled xdmcp to true, it is still not showing up... (2 Replies)
Discussion started by: kymberm
2 Replies

3. Programming

msg q again!

is it possible to use a msg queue with multiple threads spawned from the same app? (1 Reply)
Discussion started by: strider
1 Replies

4. Programming

msg q

hi... i posted the code earlier but it wasnt quite readbale... ive added a few comments and made the indentation problem right... the problem is that it doent seem to be working... ive almost pulled out my hair tryin to fix the prob another wierd thing is that it worksthe 1st time when i... (0 Replies)
Discussion started by: strider
0 Replies

5. Shell Programming and Scripting

msg??

I want to display a message when the script is done running, but I do not want to use echo. Is there another command I can use besides echo? If so, show me how it is done. (1 Reply)
Discussion started by: dshea0001
1 Replies

6. UNIX for Dummies Questions & Answers

Cache Fils Size

Greetings, I haven't posted in a while and have a Firefox question. I'm running Firefox 2.0.0.6 on Ubuntu 710 and am wondering if there is a way to increase the maximum size of files captured into the cache. The cache size was 50 megabytes and that seemed limit the files to 24 Meg. Increasing... (0 Replies)
Discussion started by: psikeyhackr
0 Replies

7. Shell Programming and Scripting

How to display an error msg?

Hi friends, Please suggest a solution for this. A script has following things. echo "Enter P for PML" echo "Enter V for VVL" echo "Enter L for LNL" echo "Enter G for GDL" read choice echo ${choice} >> LOG_Daily.txt if operator enters anything other that P/V/L/G it should show an... (8 Replies)
Discussion started by: anushree.a
8 Replies

8. UNIX for Advanced & Expert Users

Getting 'Killed' msg

Can anyone explain? I start my unix session on AIX, run tcsh move to a particular directory, let say: cd /test/bin and next i run a command like: grep "test string" /test/bin/* to look for the string in any files in the directory. I am getting a response of Killed. Why is that... (16 Replies)
Discussion started by: gio001
16 Replies

9. AIX

Error msg

When i run errpt -a, the output was below: --------------------------------------------------------------------------- LABEL: DMPCHK_NOSPACE IDENTIFIER: F89FB899 Date/Time: Tue Jan 17 15:00:02 BEIS Sequence Number: 28998 Machine Id: 0058C0CE4C00 Node Id: ... (2 Replies)
Discussion started by: Ivanku
2 Replies

10. UNIX for Dummies Questions & Answers

Word Wrap .CSV Fils

Is there a generic method for applying word wrap to all cells for a .csv file? (6 Replies)
Discussion started by: jimmyf
6 Replies
FS_NEWCELL(1)						       AFS Command Reference						     FS_NEWCELL(1)

NAME
fs_newcell - Changes the kernel-resident list of a cell's database servers SYNOPSIS
fs newcell -name <cell name> -servers <primary servers>+ [-linkedcell <linked cell name>] [-help] fs n -n <cell name> -s <primary servers>+ [-l <linked cell name>] [-h] DESCRIPTION
The fs newcell command removes the Cache Manager's kernel-resident list of database server machines for the cell specified by the -name argument and replaces it with the database server machines named by the -servers argument. Each time the machine reboots, the Cache Manager constructs the kernel list of cells and database server machines by reading the local /etc/openafs/CellServDB file. This command does not change the CellServDB file, so any changes made with it persist only until the next reboot, unless the issuer also edits the file. The output of the fs listcells command reflects changes made with this command, because that command consults the kernel-resident list rather than the CellServDB file. This command can introduce a completely new cell into the kernel-resident list, but cannot make a cell inaccessible (it is not possible to remove a cell's entry from the kernel-resident list by providing no values for the -server argument). To make a cell inaccessible, remove its entry from the CellServDB file and reboot the machine. If the -name argument names a DCE cell, then the -servers argument names DFS Fileset Location (FL) Server machines. The -linkedcell argument specifies the name of the AFS cell to link to a DCE cell for the purpose of DFS fileset location. CAUTIONS
Some commands, such as the aklog or klog.krb5 commands, work correctly only when the information is accurate for a cell in both the CellServDB file and the kernel-resident list. OPTIONS
-name <cell name> Specifies the fully-qualified cell name of the AFS or DCE cell. -servers <primary servers>+ Specifies the fully-qualified hostnames of all AFS database server machines or DFS Fileset Location (FL) Server machines for the cell named by the -name argument. If FL Server machines are specified, the local machine must be running the AFS/DFS Migration Toolkit Protocol Translator. -linkedcell <linked cell name> Specifies the name of the AFS cell to link to a DCE cell for the purpose of DFS fileset location. -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following example changes the machine's kernel-resident list of database server machines for the ABC Corporation cell to include the machines "db1.abc.com" and "db2.abc.com": % fs newcell -name abc.com -servers db1.abc.com db2.abc.com The following example links the DCE cell "dce.abc.com" to the AFS cell "abc.com". The AFS client contacts the Fileset Location (FL) servers "db1.dce.abc.com" and "db2.dce.abc.com" for fileset location information as it interprets a DFS pathname. % fs newcell -name dce.abc.com -servers db1.dce.abc.com db2.dce.abc.com -linkedcell abc.com PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser root. SEE ALSO
CellServDB(5), fs_listcells(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 FS_NEWCELL(1)
All times are GMT -4. The time now is 01:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy