gdb compilation errors.
master <[email protected]>
| Newsgroups | gmane.comp.gdb.bugs.general |
|---|---|
| Message-ID | <[email protected]> |
Hello bug-gdb, src from gdb-5.3.tar.gz. During compilation there are following errors: In file included from thread-db.c:26: gdb_thread_db.h:211: parse error before `uintptr_t' gdb_thread_db.h:211: warning: no semicolon at end of struct or union gdb_thread_db.h:211: warning: no semicolon at end of struct or union gdb_thread_db.h:212: warning: data definition has no type or storage class gdb_thread_db.h:213: parse error before `}' gdb_thread_db.h:213: warning: data definition has no type or storage class gdb_thread_db.h:280: parse error before `intptr_t' gdb_thread_db.h:280: warning: no semicolon at end of struct or union gdb_thread_db.h:281: warning: data definition has no type or storage class gdb_thread_db.h:292: parse error before `}' gdb_thread_db.h:292: warning: data definition has no type or storage class gdb_thread_db.h:356: parse error before `td_event_msg_t' gdb_thread_db.h:379: parse error before `td_thrinfo_t' gdb_thread_db.h:421: parse error before `td_event_msg_t' thread-db.c:96: parse error before `td_event_msg_t' thread-db.c:100: parse error before `td_thrinfo_t' thread-db.c: In function `thread_from_lwp': thread-db.c:231: `td_thrinfo_t' undeclared (first use this function) thread-db.c:231: (Each undeclared identifier is reported only once thread-db.c:231: for each function it appears in.) thread-db.c:231: parse error before `ti' thread-db.c:245: `ti' undeclared (first use this function) thread-db.c: In function `lwp_from_thread': thread-db.c:255: `td_thrinfo_t' undeclared (first use this function) thread-db.c:255: parse error before `ti' thread-db.c:267: `ti' undeclared (first use this function) thread-db.c: At top level: thread-db.c:562: parse error before `*' thread-db.c: In function `attach_thread': thread-db.c:569: `verbose' undeclared (first use this function) thread-db.c:570: `ptid' undeclared (first use this function) thread-db.c:575: `ti_p' undeclared (first use this function) thread-db.c:586: `th_p' undeclared (first use this function) thread-db.c: In function `check_event': thread-db.c:654: parse error before `msg' thread-db.c:655: `td_thrinfo_t' undeclared (first use this function) thread-db.c:673: request for member `th_p' in something not a structure or union thread-db.c:673: `ti' undeclared (first use this function) thread-db.c:679: request for member `event' in something not a structure or union thread-db.c:695: request for member `th_p' in something not a structure or union thread-db.c: In function `thread_db_thread_alive': thread-db.c:902: `td_thrinfo_t' undeclared (first use this function) thread-db.c:902: parse error before `ti' thread-db.c:915: `ti' undeclared (first use this function) thread-db.c: In function `find_new_threads_callback': thread-db.c:934: `td_thrinfo_t' undeclared (first use this function) thread-db.c:934: parse error before `ti' thread-db.c:938: `ti' undeclared (first use this function) thread-db.c: In function `thread_db_pid_to_str': thread-db.c:973: `td_thrinfo_t' undeclared (first use this function) thread-db.c:973: parse error before `ti' thread-db.c:981: `ti' undeclared (first use this function) make: *** [thread-db.o] Error 1 Can you help? -- Best regards, master mailto:[email protected]