Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] RDT index server question

Ah, that was it. When I added /usr/include things seem to work a lot better!

BTW, when I do this, I now get some errors like those below. I presume this is because some preprocessor symbols are not getting set correctly. Do I need to manually set them, or should the scanner discovery be picking them up from the remote machine?

DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: #error encountered with text: Unknown architecture in file: /usr/include/sys/cdefs.h:507
DSTORE SERVER stdout: ---------------------------------------------------------------
DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: #error encountered with text: architecture not supported in file: /usr/include/machine/_types.h:38
DSTORE SERVER stdout: ---------------------------------------------------------------
DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: #error encountered with text: architecture not supported in file: /usr/include/machine/signal.h:38
DSTORE SERVER stdout: ---------------------------------------------------------------
DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: #error encountered with text: architecture not supported in file: /usr/include/machine/_structs.h:35
DSTORE SERVER stdout: ---------------------------------------------------------------
DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: #error encountered with text: architecture not supported in file: /usr/include/machine/endian.h:41
DSTORE SERVER stdout: ---------------------------------------------------------------
DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: #error encountered with text: architecture not supported in file: /usr/include/machine/types.h:41
DSTORE SERVER stdout: ---------------------------------------------------------------
DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: Syntax error in file: /usr/include/stdio.h:262
DSTORE SERVER stdout: ---------------------------------------------------------------
DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: Syntax error in file: /usr/include/stdio.h:268
DSTORE SERVER stdout: ---------------------------------------------------------------
DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: Syntax error in file: /usr/include/stdio.h:281
DSTORE SERVER stdout: ---------------------------------------------------------------
DSTORE SERVER stdout: Mon Nov 02 11:13:07 EST 2009
DSTORE SERVER stdout: ERROR CDTMiner: Indexer: Syntax error in file: /usr/include/stdio.h:288

On Nov 2, 2009, at 9:48 AM, Vivian Kong wrote:

Hi Greg,

Those messages were logged to stdout before but are now logged in the RSE log.

Did you set up your remote include directories for your project? Seems like the indexer cannot find stdio.h from your project's include paths.

Regards,

Vivian Kong
IBM Eclipse CDT
IBM Canada Toronto Lab

<graycol.gif>Greg Watson ---10/31/2009 04:19:00 PM---Hi, When I turn logging on the RDT index server, I see something like the

<ecblank.gif>
From:
<ecblank.gif>
Greg Watson <g.watson@xxxxxxxxxxxx>
<ecblank.gif>
To:
<ecblank.gif>
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
<ecblank.gif>
Date:
<ecblank.gif>
10/31/2009 04:19 PM
<ecblank.gif>
Subject:
<ecblank.gif>
[ptp-dev] RDT index server question
<ecblank.gif>
Sent by:
<ecblank.gif>
ptp-dev-bounces@xxxxxxxxxxx





Hi,

When I turn logging on the RDT index server, I see something like the  
messages below. I understand why I'm seeing the "Unresolved inclusion"  
messages for "cstdarg", etc. (I can remove these by changing the  
indexer properties), but any idea why I'm seeing the last message? In  
the include browser, I see "test3.c" and under that "stdio.h", but I'm  
not seeing any further nested includes. Is this expected behavior?

Thanks,
Greg

---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
INFO CDTMiner-RemoteIndexManager: Index at location:/Users/greg/
testing/rdt-server/remote3.pdom
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
INFO CDTMiner-RemoteLanguageMapper: Language ID mappings:  
{org.eclipse.cdt.core.lrparser.xlc.cpp
=org.eclipse.ptp.rdt.xlc.remote.RemoteXlcCPPLanguage,  
org.eclipse.cdt.core.gcc
=org.eclipse.cdt.core.dom.ast.gnu.c.GCCLanguage,  
org.eclipse.cdt.core.lrparser.xlc.c
=org.eclipse.ptp.rdt.xlc.remote.RemoteXlcCLanguage,  
org.eclipse.cdt.core.g+
+=org.eclipse.cdt.core.dom.ast.gnu.cpp.GPPLanguage}
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
INFO CDTMiner-RemoteLanguageMapper: Instantiated language:  
org.eclipse.cdt.core.dom.ast.gnu.c.GCCLanguage
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
INFO CDTMiner-RemoteLanguageMapper: Instantiated language:  
org.eclipse.cdt.core.dom.ast.gnu.cpp.GPPLanguage
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
ERROR CDTMiner: Indexer: Unresolved inclusion: "cstdarg" in file:  
______:1
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
ERROR CDTMiner: Indexer: Unresolved inclusion: "cstdio" in file:  
______:1
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
WARNING CDTMiner-RemoteLanguageMapper: No language id for 'resource.h'
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
ERROR CDTMiner: Indexer: Unresolved inclusion: "sys/resource.h" in  
file: ______:1
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
ERROR CDTMiner: Indexer: Unresolved inclusion: "ctime" in file: ______:1
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
ERROR CDTMiner: Indexer: Unresolved inclusion: "stdarg.h" in file:  
______:1
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
ERROR CDTMiner: Indexer: Unresolved inclusion: "stddef.h" in file:  
______:1
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
WARNING CDTMiner-RemoteLanguageMapper: No language id for 'types.h'
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
ERROR CDTMiner: Indexer: Unresolved inclusion: "sys/types.h" in file:  
______:1
---------------------------------------------------------------
Sat Oct 31 14:24:27 EDT 2009
ERROR CDTMiner: Indexer: Unresolved inclusion: <stdio.h> in file: /
Users/greg/testing/remote3/test3.c:8
---------------------------------------------------------------


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top