Warning message while makefile compilation


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Warning message while makefile compilation
# 1  
Old 12-04-2007
Data Warning message while makefile compilation

Hi all,

I am trying to create an executable, but when the .pc file converting to .c file I am getting lots of warning message like

Quote:
warning: old-style declaration or incorrect type for: main
warning: implicit function declaration:
warning: no explicit type given
of these 3 lines.

Any idea why I am getting these lines?

Any configuration issues?

What exactly needs to be done to solve these warning messages?

I am trying to compile this is new environment.

Any kind of suggestion would be helpful.

Thanks in advance

Last edited by vgersh99; 12-04-2007 at 07:34 AM.. Reason: vB Codes
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Warning message in HP-UNIX

Hi, After i exit from crontab file using Esc+wq, i get a message like " warning: commands will be executed using /usr/bin/sh " Can somebody tell me what it means ? Thank you (9 Replies)
Discussion started by: Maddy123
9 Replies

2. Linux

SSH Warning Welcome message?

Hi all, I just configured automatic login between two servers following this article: SSH login without password When I execute the following command: ssh REMOTE "/script/output.sh"I get: Warning: This system is restricted to authorized users for business purposes. Unauthorized... (2 Replies)
Discussion started by: Evan
2 Replies

3. UNIX for Advanced & Expert Users

Makefile conditional compilation giving error

Hi , Please answer my query: I want to create a common make file for one of mylibrary such that it should work on both Sun as well as Linux on 32 and 64 bit system. The flow is sth like this: .............. .............. if$(OS) == solaris BINDIR= ../../lib/solaris/64 else BINDIR=... (1 Reply)
Discussion started by: unisuraj
1 Replies

4. UNIX for Dummies Questions & Answers

Issue with makefile compilation

All, I am facing problem with one makefile compilation. The following is the error I am getting, Before proceeding to this I want to let you know all, only last week onwards I started working in solaris10, the same code is working in solaris 9. I dont know any link has to be created, or any path... (3 Replies)
Discussion started by: nsurendiran
3 Replies

5. Programming

Issue with Makefile compilation

All, I am facing problem with one makefile compilation. The following is the error I am getting <Code> /applns/ora10/rdbms/bin/proc sqlcheck=semantics userid=/ CHAR_MAP=VARCHAR2 DBMS=V7 DEFINE=UNIX DEFINE=SUN_SRC_COMPAT iname=mm5900.pc sh: /applns/ora10/rdbms/bin/proc: not found *** Error... (1 Reply)
Discussion started by: nsurendiran
1 Replies

6. Programming

Makefile compilation Error -Unable to create executable

Hi , While trying to compile a PRO*C code on unix using makefile i get the following errors. i am now working on a 10g migration (from 8i) ... these makefile perfectly work in previous version. ld: fatal: file... (7 Replies)
Discussion started by: sivalives
7 Replies

7. UNIX for Dummies Questions & Answers

warning message

I have received a warning message, does anyone know what this means? warning: userdel processing continues resource: /var/opt1k/sco/unix/5.0.6 Ga/etx/group-t could not be allocated due to : cannot securly create new file. (0 Replies)
Discussion started by: qphillips
0 Replies

8. UNIX for Dummies Questions & Answers

warning message in SAM

On running ‘Disk Devices’ tools under ‘Disks and File Systems’ option of System Administration Manager (SAM) in our UNIX Server (HP 9000 running HPUX B.11.11 U) a warning message appeared. The message that appeared reads as follows “The Logical Volume Manager shows this device file,... (3 Replies)
Discussion started by: mhbd
3 Replies

9. Filesystems, Disks and Memory

Warning Message.

I have had trouble with my PC, due to construction failure I from my dealer or a power-blast over the net I had a broken MotherBoard, CPU and Memory, So I had to get new ones. Now I'm having a 2000Mhz CPU an ASUS P4S... {I think it's P4S500} and new DDR- memory My PC gives a warning-message... (3 Replies)
Discussion started by: Silver
3 Replies

10. UNIX Desktop Questions & Answers

Warning message ioctl

Has anyone over seen this message on bootup? When booting up, I get: " Warning: lckdioctl: unknown ioctl cmd:5 ". It scrolls down the screen 5 - 10 times, the I finally get a login. It is also posting to my syslog file. The system came up, but I am still getting the message... (1 Reply)
Discussion started by: Diana
1 Replies
Login or Register to Ask a Question
XtWarningMsg()															    XtWarningMsg()

Name
  XtWarningMsg - call the high-level warning handler.

Synopsis
  void XtWarningMsg(name, type, class, default, params, num_params)
	 String name;
	 String type;
	 String class;
	 String default;
	 String *params;
	 Cardinal *num_params;

Inputs
  name	    Specifies the general kind of error.

  type	    Specifies the detailed name of the error.

  class     Specifies the resource class of the error.

  default   Specifies the default message to use if no message is found in the database.

  params    Specifies an array of values to be inserted into the message.

  num_params
	    Specifies the number of elements in params.

Availability
  XtWarningMsg() has been superseded by XtAppWarningMsg().

Description
  XtWarningMsg()  passes  all of its arguments to the installed high-level warning handler.  The default high-level warning handler is _XtDe-
  faultWarningMsg().  It calls XtAppGetErrorDatabaseText() to lookup an error message of the specified name, type, and	class  in  the	error
  database.  If no such message is found, XtAppGetErrorDatabaseText() returns the specified default message.  In either case, _XtDefaultWarn-
  ingMsg() does a printf-style substitution of params into the message, and passes the resulting text to the  low-level  warning  handler  by
  calling XtWarning().

Usage
  XtWarningMsg()  has  been  superseded  by  XtAppWarningMsg(), which performs the same function on a per-application context basis.  XtWarn-
  ingMsg() now calls XtAppWarningMsg() passing the default application context created by XtInitialize().  Very few  programs  need  multiple
  application  contexts,  and  you  can continue to use XtWarningMsg() if you initialize your application with XtInitialize().	We recommend,
  however, that you use XtAppInitialize(), XtAppWarningMsg(), and the other XtApp*() application context specific functions.

  See XtAppWarningMsg() for more information.

See Also
  XtAppErrorMsg(1), XtAppWarningMsg(1).

Xt - Error Handling														    XtWarningMsg()