cmon compilation fails during "make"

Bug #297138 reported by kevin
2
Affects Status Importance Assigned to Milestone
cmon
Fix Committed
Undecided
Unassigned

Bug Description

Hi,

During compilation of cmon on ubuntu hardy 8.04, i receive the following error message during compilation. Please help me to solve the issue.

> "make"
make all-recursive
make[1]: Entering directory `/tmp/cmon'
Making all in src
make[2]: Entering directory `/tmp/cmon/src'
g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -I/usr/include/mysql/storage/ndb -I/usr/include/mysql/storage/ndb/ndbapi -I/usr/include/mysql/storage/ndb/mgmapi -I/usr/include/mysql/ndb -I/usr/include/mysql/ndb/ndbapi -I/usr/include/mysql/ndb/mgmapi -I/usr/include/mysql -MT logevent.o -MD -MP -MF .deps/logevent.Tpo -c -o logevent.o logevent.cpp
logevent.cpp: In function âvoid* logEventThread(void*)â:
logevent.cpp:824: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named ân_records_hiâ
logevent.cpp:825: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named ân_log_records_hiâ
logevent.cpp:826: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named ân_bytes_hiâ
logevent.cpp:827: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named ân_log_bytes_hiâ
logevent.cpp:833: error: âNDB_LE_BackupStatusâ was not declared in this scope
logevent.cpp:838: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:839: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:843: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:844: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:845: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:846: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:847: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:848: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:849: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:850: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
logevent.cpp:926: error: âNDB_LE_RestoreMetaDataâ was not declared in this scope
logevent.cpp:929: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
logevent.cpp:930: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
logevent.cpp:931: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
logevent.cpp:932: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
logevent.cpp:933: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
logevent.cpp:934: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
logevent.cpp:935: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
logevent.cpp:938: error: âNDB_LE_RestoreDataâ was not declared in this scope
logevent.cpp:941: error: âstruct ndb_logeventâ has no member named âRestoreDataâ
logevent.cpp:942: error: âstruct ndb_logeventâ has no member named âRestoreDataâ
logevent.cpp:943: error: âstruct ndb_logeventâ has no member named âRestoreDataâ
logevent.cpp:944: error: âstruct ndb_logeventâ has no member named âRestoreDataâ
logevent.cpp:945: error: âstruct ndb_logeventâ has no member named âRestoreDataâ
logevent.cpp:946: error: âstruct ndb_logeventâ has no member named âRestoreDataâ
logevent.cpp:950: error: âNDB_LE_RestoreLogâ was not declared in this scope
logevent.cpp:953: error: âstruct ndb_logeventâ has no member named âRestoreLogâ
logevent.cpp:954: error: âstruct ndb_logeventâ has no member named âRestoreLogâ
logevent.cpp:955: error: âstruct ndb_logeventâ has no member named âRestoreLogâ
logevent.cpp:956: error: âstruct ndb_logeventâ has no member named âRestoreLogâ
logevent.cpp:957: error: âstruct ndb_logeventâ has no member named âRestoreLogâ
logevent.cpp:958: error: âstruct ndb_logeventâ has no member named âRestoreLogâ
logevent.cpp:964: error: âNDB_LE_RestoreStartedâ was not declared in this scope
logevent.cpp:967: error: âstruct ndb_logeventâ has no member named âRestoreStartedâ
logevent.cpp:968: error: âstruct ndb_logeventâ has no member named âRestoreStartedâ
logevent.cpp:975: error: âNDB_LE_RestoreCompletedâ was not declared in this scope
logevent.cpp:978: error: âstruct ndb_logeventâ has no member named âRestoreCompletedâ
logevent.cpp:979: error: âstruct ndb_logeventâ has no member named âRestoreCompletedâ
logevent.cpp:1352: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named âpage_size_bytesâ
logevent.cpp:1361: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named âpage_size_bytesâ
make[2]: *** [logevent.o] Error 1
make[2]: Leaving directory `/tmp/cmon/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/cmon'
make: *** [all] Error 2

Awaiting your response

Kevin

Revision history for this message
johan (johan-severalnines) wrote : Re: [Bug 297138] [NEW] cmon compilation fails during "make"
Download full text (5.3 KiB)

Hello Kevin,
Sorry to hear.

Can you let me know
- which version have you got of cmon?
- which version of g++ and gcc (run with --version)?
- which ./configure did you run (did you give any extra parameters to it?

BR
johan

kevin wrote:
> Public bug reported:
>
> Hi,
>
> During compilation of cmon on ubuntu hardy 8.04, i receive the following
> error message during compilation. Please help me to solve the issue.
>
>
>> "make"
>>
> make all-recursive
> make[1]: Entering directory `/tmp/cmon'
> Making all in src
> make[2]: Entering directory `/tmp/cmon/src'
> g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fPIC -I/usr/include/mysql/storage/ndb -I/usr/include/mysql/storage/ndb/ndbapi -I/usr/include/mysql/storage/ndb/mgmapi -I/usr/include/mysql/ndb -I/usr/include/mysql/ndb/ndbapi -I/usr/include/mysql/ndb/mgmapi -I/usr/include/mysql -MT logevent.o -MD -MP -MF .deps/logevent.Tpo -c -o logevent.o logevent.cpp
> logevent.cpp: In function âvoid* logEventThread(void*)â:
> logevent.cpp:824: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named ân_records_hiâ
> logevent.cpp:825: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named ân_log_records_hiâ
> logevent.cpp:826: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named ân_bytes_hiâ
> logevent.cpp:827: error: âstruct ndb_logevent::<anonymous union>::<anonymous>â has no member named ân_log_bytes_hiâ
> logevent.cpp:833: error: âNDB_LE_BackupStatusâ was not declared in this scope
> logevent.cpp:838: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:839: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:843: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:844: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:845: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:846: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:847: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:848: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:849: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:850: error: âstruct ndb_logeventâ has no member named âBackupStatusâ
> logevent.cpp:926: error: âNDB_LE_RestoreMetaDataâ was not declared in this scope
> logevent.cpp:929: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
> logevent.cpp:930: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
> logevent.cpp:931: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
> logevent.cpp:932: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
> logevent.cpp:933: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
> logevent.cpp:934: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
> logevent.cpp:935: error: âstruct ndb_logeventâ has no member named âRestoreMetaDataâ
> logevent.cpp:938: error: âNDB_LE_RestoreDataâ was not declared in this scope
> logevent.cpp...

Read more...

Revision history for this message
kevin (kevin-savio-fernandes) wrote :
Download full text (11.1 KiB)

Hi Johan,

Thanks for you reply. However i got it resolved yesterday night. The cmon
software only compiles correctly with mysql-server version 5.1 or above. I
was compiling it on mysql-server 5.0 which didnt work out. So the bottom
line is i have to upgrade the mysql-server version to 5.1.

Best regards,
Kevin Fernandes

On Thu, Nov 13, 2008 at 1:56 AM, johan <email address hidden> wrote:

> Hello Kevin,
> Sorry to hear.
>
> Can you let me know
> - which version have you got of cmon?
> - which version of g++ and gcc (run with --version)?
> - which ./configure did you run (did you give any extra parameters to it?
>
>
> BR
> johan
>
> kevin wrote:
> > Public bug reported:
> >
> > Hi,
> >
> > During compilation of cmon on ubuntu hardy 8.04, i receive the following
> > error message during compilation. Please help me to solve the issue.
> >
> >
> >> "make"
> >>
> > make all-recursive
> > make[1]: Entering directory `/tmp/cmon'
> > Making all in src
> > make[2]: Entering directory `/tmp/cmon/src'
> > g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -I/usr/include/mysql
> -DBIG_JOINS=1 -fPIC -I/usr/include/mysql/storage/ndb
> -I/usr/include/mysql/storage/ndb/ndbapi
> -I/usr/include/mysql/storage/ndb/mgmapi -I/usr/include/mysql/ndb
> -I/usr/include/mysql/ndb/ndbapi -I/usr/include/mysql/ndb/mgmapi
> -I/usr/include/mysql -MT logevent.o -MD -MP -MF .deps/logevent.Tpo -c -o
> logevent.o logevent.cpp
> > logevent.cpp: In function âvoid* logEventThread(void*)â:
> > logevent.cpp:824: error: âstruct ndb_logevent::<anonymous
> union>::<anonymous>â has no member named ân_records_hiâ
> > logevent.cpp:825: error: âstruct ndb_logevent::<anonymous
> union>::<anonymous>â has no member named ân_log_records_hiâ
> > logevent.cpp:826: error: âstruct ndb_logevent::<anonymous
> union>::<anonymous>â has no member named ân_bytes_hiâ
> > logevent.cpp:827: error: âstruct ndb_logevent::<anonymous
> union>::<anonymous>â has no member named ân_log_bytes_hiâ
> > logevent.cpp:833: error: âNDB_LE_BackupStatusâ was not declared in this
> scope
> > logevent.cpp:838: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:839: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:843: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:844: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:845: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:846: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:847: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:848: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:849: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:850: error: âstruct ndb_logeventâ has no member named
> âBackupStatusâ
> > logevent.cpp:926: error: âNDB_LE_RestoreMetaDataâ was not declared in
> this scope
> > logevent.cpp:929: error: âstruct ndb_logeventâ has no member named
> âRestoreMetaDataâ
> > logevent.cpp:930: error: âstruct ndb_logeventâ has no member named
> âRestoreMetaDataâ
> ...

Revision history for this message
johan (johan-severalnines) wrote :
Download full text (12.6 KiB)

Hi,
Good - i do recommend you to upgrade to 6.3.latest.
It is a very good version.
I have added checks now so it won't try to build on MySQL 5.0 but give
an error saying it is only supported on MySQL Cluster 6.2 and above.
Thanks for your help.
BR
johan
kevin wrote:
> Hi Johan,
>
> Thanks for you reply. However i got it resolved yesterday night. The cmon
> software only compiles correctly with mysql-server version 5.1 or above. I
> was compiling it on mysql-server 5.0 which didnt work out. So the bottom
> line is i have to upgrade the mysql-server version to 5.1.
>
> Best regards,
> Kevin Fernandes
>
> On Thu, Nov 13, 2008 at 1:56 AM, johan <email address hidden> wrote:
>
>
>> Hello Kevin,
>> Sorry to hear.
>>
>> Can you let me know
>> - which version have you got of cmon?
>> - which version of g++ and gcc (run with --version)?
>> - which ./configure did you run (did you give any extra parameters to it?
>>
>>
>> BR
>> johan
>>
>> kevin wrote:
>>
>>> Public bug reported:
>>>
>>> Hi,
>>>
>>> During compilation of cmon on ubuntu hardy 8.04, i receive the following
>>> error message during compilation. Please help me to solve the issue.
>>>
>>>
>>>
>>>> "make"
>>>>
>>>>
>>> make all-recursive
>>> make[1]: Entering directory `/tmp/cmon'
>>> Making all in src
>>> make[2]: Entering directory `/tmp/cmon/src'
>>> g++ -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -I/usr/include/mysql
>>>
>> -DBIG_JOINS=1 -fPIC -I/usr/include/mysql/storage/ndb
>> -I/usr/include/mysql/storage/ndb/ndbapi
>> -I/usr/include/mysql/storage/ndb/mgmapi -I/usr/include/mysql/ndb
>> -I/usr/include/mysql/ndb/ndbapi -I/usr/include/mysql/ndb/mgmapi
>> -I/usr/include/mysql -MT logevent.o -MD -MP -MF .deps/logevent.Tpo -c -o
>> logevent.o logevent.cpp
>>
>>> logevent.cpp: In function âvoid* logEventThread(void*)â:
>>> logevent.cpp:824: error: âstruct ndb_logevent::<anonymous
>>>
>> union>::<anonymous>â has no member named ân_records_hiâ
>>
>>> logevent.cpp:825: error: âstruct ndb_logevent::<anonymous
>>>
>> union>::<anonymous>â has no member named ân_log_records_hiâ
>>
>>> logevent.cpp:826: error: âstruct ndb_logevent::<anonymous
>>>
>> union>::<anonymous>â has no member named ân_bytes_hiâ
>>
>>> logevent.cpp:827: error: âstruct ndb_logevent::<anonymous
>>>
>> union>::<anonymous>â has no member named ân_log_bytes_hiâ
>>
>>> logevent.cpp:833: error: âNDB_LE_BackupStatusâ was not declared in this
>>>
>> scope
>>
>>> logevent.cpp:838: error: âstruct ndb_logeventâ has no member named
>>>
>> âBackupStatusâ
>>
>>> logevent.cpp:839: error: âstruct ndb_logeventâ has no member named
>>>
>> âBackupStatusâ
>>
>>> logevent.cpp:843: error: âstruct ndb_logeventâ has no member named
>>>
>> âBackupStatusâ
>>
>>> logevent.cpp:844: error: âstruct ndb_logeventâ has no member named
>>>
>> âBackupStatusâ
>>
>>> logevent.cpp:845: error: âstruct ndb_logeventâ has no member named
>>>
>> âBackupStatusâ
>>
>>> logevent.cpp:846: error: âstruct ndb_logeventâ has no member named
>>>
>> âBackupStatusâ
>>
>>> logevent.cpp:847: error: âstruct nd...

Revision history for this message
johan (johan-severalnines) wrote :

I have changed configure.in to check which version is being used.

Changed in cmon:
status: New → Fix Committed
Revision history for this message
kevin (kevin-savio-fernandes) wrote :

..Quality of erection is 200%!
http://www.kmp.user.icpnet.pl/com.friend.php?isid=51y9

--
Best regards,
Kevin Fernandes

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.