473,499 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compile error listing

Is there a listing of what the compile errors mean? For example:

"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
make: 1254-004 The error code from the last command is 1.

How do I find out what 1506-046 and 1506-098 mean?

Thanks for any help.

Mar 3 '06 #1
12 3187
On 2 Mar 2006 16:23:39 -0800, "soccertl" <la*******@cox.net> wrote:
Is there a listing of what the compile errors mean? For example:

"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
make: 1254-004 The error code from the last command is 1.

How do I find out what 1506-046 and 1506-098 mean?


Presumably those error messages are excreted by your compiler. I'd
reach for the compiler manual first.

--
Dan Henry
Mar 3 '06 #2
> On 2 Mar 2006 16:23:39 -0800, "soccertl" <la*******@cox.net> wrote:
Is there a listing of what the compile errors mean?
No. The language standard only requires compilers to issue diagnostics
in specific cases, but a compiler can otherwise issue a diagnostic for
any
reason it likes. What those diagnostics say (and mean) is up to the
implementation. Specific implementation details are generally outside
the
scope of comp.lang.c.
For example:

"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
make: 1254-004 The error code from the last command is 1.

How do I find out what 1506-046 and 1506-098 mean?

Presumably they mean 'Syntax error' and 'Missing argument(s)'
respectively.

Dan Henry wrote: Presumably those error messages are excreted by your compiler. I'd
reach for the compiler manual first.


Or, if you want to save some time, just open "hdb_log.c" around lines
160
through 163 and check what the syntax error is.

If it's not actually your code, then almost certainly the code relies
on
compiler extensions and either you have failed to activate those
extensions,
or they don't exist with the compiler you're using.

--
Peter

Mar 3 '06 #3

soccertl wrote:
Is there a listing of what the compile errors mean? For example:

"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
make: 1254-004 The error code from the last command is 1.

How do I find out what 1506-046 and 1506-098 mean?

Thanks for any help.


Refer to your compiler manual. Posting a minimal code snippet would
help us all.

Mar 3 '06 #4
"Jaspreet" <js***********@gmail.com> writes:
soccertl wrote:
Is there a listing of what the compile errors mean? For example:

"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
make: 1254-004 The error code from the last command is 1.

How do I find out what 1506-046 and 1506-098 mean?

Thanks for any help.


Refer to your compiler manual. Posting a minimal code snippet would
help us all.


A minimal code snippet wouldn't help us figure out what 1506-046 and
1506-098 mean.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Mar 3 '06 #5

Keith Thompson wrote:
"Jaspreet" <js***********@gmail.com> writes:
soccertl wrote:
Is there a listing of what the compile errors mean? For example:

"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
make: 1254-004 The error code from the last command is 1.

How do I find out what 1506-046 and 1506-098 mean?

Thanks for any help.


Refer to your compiler manual. Posting a minimal code snippet would
help us all.


A minimal code snippet wouldn't help us figure out what 1506-046 and
1506-098 mean.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>


If the buggy code is posted by the OP that would atleast help resolve
the errors.

Mar 3 '06 #6
Dan Henry wrote:
On 2 Mar 2006 16:23:39 -0800, "soccertl" <la*******@cox.net> wrote:
Is there a listing of what the compile errors mean? For example:

"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
make: 1254-004 The error code from the last command is 1.

How do I find out what 1506-046 and 1506-098 mean?


Presumably those error messages are excreted by your compiler.
I'd reach for the compiler manual first.


The verbiage hung on the rear end of the error messages might give
the OP a clue.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
Also see <http://www.safalra.com/special/googlegroupsreply/>
Mar 3 '06 #7
soccertl wrote:
Is there a listing of what the compile errors mean? For example:

"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
This diagnostic suggests that you have a syntax error detected on line
163.22 (although it might have occurred earlier & was not detected until
this line).
"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
This diagnostic suggests that you have at least one missing argument on
line 160.20.
make: 1254-004 The error code from the last command is 1.
This seems to be a diagnostic from 'make', which is not in any way part
of C and is off-topic.
How do I find out what 1506-046 and 1506-098 mean?
In your implementation's documentation.
Thanks for any help.

Learn to help yourself. Until you can master the rather easy task of
checking your implementation's documentation you will be lost.
Mar 3 '06 #8
On 2 Mar 2006 16:23:39 -0800, in comp.lang.c , "soccertl"
<la*******@cox.net> wrote:
Is there a listing of what the compile errors mean? For example:

"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
make: 1254-004 The error code from the last command is 1.

How do I find out what 1506-046 and 1506-098 mean?


I'd start in the usual way, by looking at the indicated lines of code,
and trying to fix up the error. I strongly suspect that you will learn
what the error codes mean (though the last two words of each error
message are a pretty good indication...)
Mark McIntyre
--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Mar 3 '06 #9
Thanks for all the replies. I already know what the problem is and
fixed it in code. I didn't need help with that. I was just curious if
the numbers suggested anything more specific or different than the text
that was printed out. Apparently they don't so I won't pursue it any
further.

Thanks again.

Mar 3 '06 #10
In article <11**********************@i40g2000cwc.googlegroups .com>,
Peter Nilsson <ai***@acay.com.au> wrote:
On 2 Mar 2006 16:23:39 -0800, "soccertl" <la*******@cox.net> wrote:
>"hdb_log.c", line 163.22: 1506-046 (S) Syntax error.
>"hdb_log.c", line 160.20: 1506-098 (E) Missing argument(s).
>make: 1254-004 The error code from the last command is 1. >How do I find out what 1506-046 and 1506-098 mean?
Presumably they mean 'Syntax error' and 'Missing argument(s)'
respectively.


Semantic quibble:

1506-046 and 1506-098 and 1254-004 are probably error-message keys,
which might or might not have internal structure in some terms of
reference.

One is probably best off assuming that there is no internal structure
to them, or that at most the structure is that "the part before the
dash is a magic number that the system implementors reserved for that
particular application, and the part after the dash is the specific key
for that message number within that application."

The semantic quibble is that I would say that the numbers do not
"mean" those particular messages, but rather that for that
particular version of the software, they "indicate" conditions that
correspond to those messages.

For example, if the implementation had a big table of messages,
then the 46th message in that table might be for "Syntax error"
(in that version.) If the implementation happened to print the offset
into the message table as well as the message text, then one might
come to think that the 46 -meant- "Syntax error", but really the 46
was happenstance and the content was what was important.
What I would -suspect- is that those strings 1506-046 and 1506-098 and
1254-004 are keys into an internationalization message table (i18n);
and that the implementation does not have things like
"Syntax error" hard-coded, and instead supplies the key 1506-046
to a message lookup routine which examines the locale to find the
database of messages in the user's language, and looks the key up in
there to find the corresponding text.

If my suspicion is right, then the numbers really don't "mean" anything
and are just arbitrary labels that are used in common by the
implementation and the message tables.
--
All is vanity. -- Ecclesiastes
Mar 3 '06 #11
soccertl wrote:

Thanks for all the replies. I already know what the problem is and
fixed it in code. I didn't need help with that. I was just curious if
the numbers suggested anything more specific or different than the text
that was printed out. Apparently they don't so I won't pursue it any
further.


[Insert obligatory reference to "how to properly use Google's broken
Usenet quoting interface" here.]

Nobody said that they "don't" mean anything. It may be that they mean
quite a lot to your particular compiler, but the only way to find out
would be to look at your specific compiler's documentation, because
that's the only place that could tell you what, if anything, they mean.

--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:Th*************@gmail.com>

Mar 3 '06 #12
"soccertl" <la*******@cox.net> writes:
Thanks for all the replies. I already know what the problem is and
fixed it in code. I didn't need help with that. I was just curious if
the numbers suggested anything more specific or different than the text
that was printed out. Apparently they don't so I won't pursue it any
further.


Please read <http://cfaj.freeshell.org/google/>. Even if nothing in
the previous article is directly relevant to your followup, quoting a
line or two will avoid this annoying reminder.

We don't know whether the numeric codes mean anything. They certainly
don't mean anything in standard C, but they may be significant in your
environment. Since they're produced by your compiler, the
documentation for your compiler should tell you something more about
them. (On some systems, there's a separate command that takes an
error code and gives you a detailed explanation of what it means.)

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Mar 3 '06 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3150
by: Raphael Gluck | last post by:
Hi everyone I'm currently testing out my beta site www.tripak.me.uk Which has a database in the center of the page, taking you thru four pages of my database. On my final page listing.asp I...
7
9154
by: Raphael Gluck | last post by:
Hi I've been trying to hand code my pages, after failing in a WSYWYG editor and giving up. I'm almost done with the page checking, it's just i'm having a Wend error Microsoft VBScript...
15
1377
by: M P | last post by:
What does this mean? I am accessing an ASP page that queries Access Database thru fileDSN. I'm using IIS 5.0 Win2K SP4 Microsoft OLE DB Provider for ODBC Drivers error '80004005' General...
19
6243
by: MLH | last post by:
I call the following Sub and Function in frmLaunch's OnOpen event code. I keep getting Property Not Found error for the AllowBypassKey setting. Failure point is line #30 in the Function (not the...
0
971
by: sjengdahl | last post by:
Hello, How do I get a listing of the errors I create when I compile a c++ program? My instructor knows how to do it in MS C++ 2002, but I am the first (of course) in my class to use MS c++ 2003.
1
3360
by: Light | last post by:
Re, I'm having 2 problems with the Telerik trial controls. I'm using the latest release. I'm using 2005 studio and most of the controls show up properly in the designer but the RadMenu does...
0
9762
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
5
3464
by: jain236 | last post by:
HI every body, i am always getting the following error while parsing a directory . i am reading a directory by doing ls and trying to find out the name,type,size, mtime and mode of files from...
1
1351
by: mimranp | last post by:
Hi all i m using visual developer 2008 i m using xhtml1.1 in that .i m reciving so much error when check in online input w3 standard(C# language code behind) <%@ Page Language="C#"...
0
7012
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7392
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5479
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4920
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
307
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.