Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Warning message while makefile compilation Post 302148897 by nsurendiran on Tuesday 4th of December 2007 04:36:23 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
TIFFWarning(3tiff)														TIFFWarning(3tiff)

NAME
TIFFWarning, TIFFSetWarningHandler - library warning interface SYNOPSIS
#include <tiffio.h> void TIFFWarning(const char* module, const char* fmt, ...) #include <stdarg.h> typedef void (*TIFFWarningHandler)(const char* module, const char* fmt, va_list ap); TIFFWarningHandler TIFFSetWarningHandler(TIFFWarningHandler handler); TIFFWarning invokes the library-wide warning handler function to (normally) write a warning message to stderr. The fmt parameter is a printf(3S) format string, and any number of arguments can be supplied. The module parameter is interpreted as a string that, if non-zero, should be printed before the message, and is typically used to identify the software module in which a warning is detected. Applications that desire to capture control in the event of a warning should use TIFFSetWarningHandler to override the default warning han- dler. A NULL(0) warning handler function may be installed to suppress error messages. TIFFSetWarningHandler returns a reference to the previous error handling function. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWTiff | +-----------------------------+-----------------------------+ |Interface stability |Uncommitted | +-----------------------------+-----------------------------+ libtiff(3), TIFFError(3tiff), printf(3S) This man page was originally written by Sam Leffler. Updated by Breda McColgan, Sun Microsystems Inc., 2004. 02 Apr 2004 TIFFWarning(3tiff)
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy