[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
libnjb.h configure issues.
From: |
Fletch Hasues |
Subject: |
libnjb.h configure issues. |
Date: |
Mon, 24 Feb 2003 13:58:36 -0500 |
I received the following message while compiling gnomad2 for Linux, which
references the libnjb library. I don't understand why I was told to send this
issue to you, but I will send you the message anyway. Here is the message that
instructed me to mail you.
When running "configure --prefix=/usr/local" for gnomad2, I receive this
message:
configure: WARNING: libnjb.h: present but cannot be compiled
configure: WARNING: libnjb.h: check for missing prerequisite headers?
configure: WARNING: libnjb.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
Upon inspection of the config.log, it states:
configure:4382: checking libnjb.h usability
configure:4395: g++ -c -g -O2 conftest.cc >&5
In file included from configure:4444:
/usr/local/include/libnjb.h:310: parse error before `protected'
/usr/local/include/libnjb.h:317: parse error before `protected'
Insode libnjb.h at line 310, it states:
int NJB_Send_Track (njb_t *njb, const char *path, const char *codec, const char
*title, const char *album, const char *genre, const char *artist, u_int32_t
length, u_int32_t tracknum, const char *year, int protected, XferCallback
*callback, void *data, u_int32_t *trackid);ยท
Inside libnjb.h at line 317, it states:
int NJB_Replace_Track_Tag(njb_t *njb, u_int32_t trackid, const char *codec,
const char *title, const char *album, const char *genre, const char *artist,
u_int32_t length, u_int32_t tracknum, u_int32_t filesize, const char *fname,
const char *year, int protected)
This leads me to believe that the problem is, the author chose to use a
variable name of "protected" for an integer, but "protected" is a reserved word
in the C++ language for protected members in Object Oriented programming for
classes.
I don't know if I should be sending all this, but I was merely following
instructions. Please accept my apology if this is sent to the wrong source.
Fletch Hasues
address@hidden
--
_______________________________________________
Get your free email from http://mail01.mail.com
- libnjb.h configure issues.,
Fletch Hasues <=