[tao-bugs] TAO_IDL: preprocessor not honoring TAO_IDL_INCLUDE_DIR

[tao-bugs] TAO_IDL: preprocessor not honoring TAO_IDL_INCLUDE_DIR

Post by Ken Sedgwi » Sun, 25 Dec 2005 08:57:17


This is a multi-part message in MIME format.

TAO VERSION: 1.4.8
ACE VERSION: 5.4.8

HOST MACHINE and OPERATING SYSTEM:

Fedora Core release 4 (Stentz)

Linux lap1.bonsai.com 2.6.14-1.1653_FC4 #1 Tue Dec 13 21:32:09 EST 2005
i686 i686 i386 GNU/Linux

TARGET MACHINE and OPERATING SYSTEM, if different from HOST:

[same]

COMPILER NAME AND VERSION (AND PATCHLEVEL):

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=i386-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
specific file, simply state which one]:

config-linux.h

THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
use a link to a platform-specific file, simply state which one
(unless this isn't used in this case, e.g., with Microsoft Visual
C++)]:

ssl = 1
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
x11 = 1
xt = 1
tk = 1
fl = 1
qt = 1
gl = 1
ace_qtreactor = 1
ace_xtreactor = 1
ace_tkreactor = 1
ace_flreactor = 1
tao_qtresource = 1
tao_xtresource = 1
tao_tkresource = 1
tao_flresource = 1

CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):

ssl=1
qos=0
cidl=0
rwho=0
sctp=0
motif=1
athena=1
x11=1
xt=1
tk=1
fl=1
qt=1
gl=1
ace_qtreactor=1
ace_xtreactor=1
ace_tkreactor=1
ace_flreactor=1
tao_qtresource=1
tao_xtresource=1
tao_tkresource=1
tao_flresource=1

AREA/CLASS/EXAMPLE AFFECTED:

tao_idl built with TAO_IDL_INCLUDE_DIR generates errors at runtime.

DOES THE PROBLEM AFFECT:
COMPILATION?
If so, what do your $ACE_ROOT/ace/config.h and
$ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
LINKING?
On Unix systems, did you run make realclean first?
EXECUTION?
OTHER (please specify)?

The problem effects execution of the tao_idl compiler.

SYNOPSIS:

The tao_idl compiler doesn't honor TAO_IDL_INCLUDE_DIR with respect to
the preprocessor execution.

DESCRIPTION:

Initiated build of application which uses tao_idl.

Following error generated by tao_idl:
tao_idl -o GENSRC/FOO -SS -in -Sc -GC -GIe _impl -GIh _tmpl.h -GIs
_tmpl.cpp -I../../idl ../../idl/FOO/Except.idl
g++: no input files
tao_idl: preprocessor "g++" returned with an error

REPEAT BY:

Build ACE and TAO with TAO_IDL_INCLUDE_DIR. [Builds of the linux src
rpm set this to /usr/include]

Install.

Run tao_idl without ACE_ROOT or TAO_ROOT set.

SAMPLE FIX/WORKAROUND:

The attached patch file fixes the problem.

--
Ken Sedgwick
Bonsai Software, Inc.
(510) 610-4162
ken+ XXXX@XXXXX.COM
Public Key: http://www.yqcomputer.com/
GPG Fingerprint: 851E 3B07 E586 0843 9434 5CC7 4033 3B9B 3F3F 9640
 
 
 

[tao-bugs] TAO_IDL: preprocessor not honoring TAO_IDL_INCLUDE_DIR

Post by Jeff Parso » Sun, 25 Dec 2005 12:17:34

his is a multi-part message in MIME format.


Hi Ken,

I've added your patch to my workspace. The file it was added to is already
modified
in my workspace with other changes, which I was waiting for the beta to
check in.
I'm out of town right now, and have a slow internet connection, so I planned
to check
these changes in when I return to the office in a week or so. At that time,
I'll check
in your changes along with mine. Thanks for sending the patch!

Jeff Parsons


_____

From: XXXX@XXXXX.COM [mailto: XXXX@XXXXX.COM ] On
Behalf Of Ken Sedgwick
Sent: Friday, December 23, 2005 5:25 PM
To: XXXX@XXXXX.COM
Subject: [tao-bugs] TAO_IDL: preprocessor not honoring TAO_IDL_INCLUDE_DIR



TAO VERSION: 1.4.8
ACE VERSION: 5.4.8

HOST MACHINE and OPERATING SYSTEM:

Fedora Core release 4 (Stentz)

Linux lap1.bonsai.com 2.6.14-1.1653_FC4 #1 Tue Dec 13 21:32:09 EST 2005
i686 i686 i386 GNU/Linux

TARGET MACHINE and OPERATING SYSTEM, if different from HOST:

[same]

COMPILER NAME AND VERSION (AND PATCHLEVEL):

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--host=i386-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

THE $ACE_ROOT/ace/config.h FILE [if you use a link to a platform-
specific file, simply state which one]:

config-linux.h

THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
use a link to a platform-specific file, simply state which one
(unless this isn't used in this case, e.g., with Microsoft Visual
C++)]:

ssl = 1
include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU
x11 = 1
xt = 1
tk = 1
fl = 1
qt = 1
gl = 1
ace_qtreactor = 1
ace_xtreactor = 1
ace_tkreactor = 1
ace_flreactor = 1
tao_qtresource = 1
tao_xtresource = 1
tao_tkresource = 1
tao_flresource = 1

CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):

ssl=1
qos=0
cidl=0
rwho=0
sctp=0
motif=1
athena=1
x11=1
xt=1
tk=1
fl=1
qt=1
gl=1
ace_qtreactor=1
ace_xtreactor=1
ace_tkreactor=1
ace_flreactor=1
tao_qtresource=1
tao_xtresource=1
tao_tkresource=1
tao_flresource=1

AREA/CLASS/EXAMPLE AFFECTED:

tao_idl built with TAO_IDL_INCLUDE_DIR generates errors at runtime.

DOES THE PROBLEM AFFECT:
COMPILATION?
If so, what do your $ACE_ROOT/ace/config.h and
$ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
LINKING?
On Unix systems, did you run make realclean first?
EXECUTION?
OTHER (please specify)?

The problem effects execution of the tao_idl compiler.

SYNOPSIS:

The tao_idl compiler doesn't honor TAO_IDL_INCLUDE_DIR with respect to
the preprocessor execution.

DESCRIPTION:

Initiated build of application which uses tao_idl.

Following error generated by tao_idl:
tao_idl -o GENSRC/FOO -SS -in -Sc -GC -GIe _impl -GIh _tmpl.h -GIs
_tmpl.cpp
 
 
 

[tao-bugs] TAO_IDL: preprocessor not honoring TAO_IDL_INCLUDE_DIR

Post by Jeff Parso » Wed, 04 Jan 2006 23:01:40

his is a multi-part message in MIME format.


Hi Ken,

I checked in the changes yesterday. Please let me know if it still
doesn't work for you.

Jeff


_____

From: XXXX@XXXXX.COM
[mailto: XXXX@XXXXX.COM ] On Behalf Of Jeff Parsons
Sent: Friday, December 23, 2005 7:50 PM
To: ken+ XXXX@XXXXX.COM ; XXXX@XXXXX.COM
Subject: RE: [tao-bugs] TAO_IDL: preprocessor not honoring
TAO_IDL_INCLUDE_DIR


Hi Ken,

I've added your patch to my workspace. The file it was added to
is already modified
in my workspace with other changes, which I was waiting for the
beta to check in.
I'm out of town right now, and have a slow internet connection,
so I planned to check
these changes in when I return to the office in a week or so. At
that time, I'll check
in your changes along with mine. Thanks for sending the patch!

Jeff Parsons


_____

From: XXXX@XXXXX.COM
[mailto: XXXX@XXXXX.COM ] On Behalf Of Ken Sedgwick
Sent: Friday, December 23, 2005 5:25 PM
To: XXXX@XXXXX.COM
Subject: [tao-bugs] TAO_IDL: preprocessor not honoring
TAO_IDL_INCLUDE_DIR



TAO VERSION: 1.4.8
ACE VERSION: 5.4.8

HOST MACHINE and OPERATING SYSTEM:

Fedora Core release 4 (Stentz)

Linux lap1.bonsai.com 2.6.14-1.1653_FC4 #1 Tue Dec 13
21:32:09 EST 2005
i686 i686 i386 GNU/Linux

TARGET MACHINE and OPERATING SYSTEM, if different
from HOST:

[same]

COMPILER NAME AND VERSION (AND PATCHLEVEL):

Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr
--mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared
--enable-threads=posix
--enable-checking=release --with-system-zlib
--enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile

--enable-languages=c,c++,objc,java,f95,ada
--enable-java-awt=gtk
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre

--host=i386-redhat-linux
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

THE $ACE_ROOT/ace/config.h FILE [if you use a link
to a platform-
specific file, simply state which one]:

config-linux.h

THE
$ACE_ROOT/include/makeinclude/platform_macros.GNU FILE [if you
use a link to a platform-specific file, simply state
which one
(unless this isn't used in this case, e.g., with
Microsoft Visual
C++)]:

ssl = 1
include
$(ACE_ROOT)/include/makeinclude/platform_linux.GNU
x11 = 1
xt = 1
tk = 1
fl = 1
qt = 1
gl = 1
ace_qtreactor = 1
ace_xtreactor = 1
ace_tkreactor = 1
ace_flreactor = 1
tao_qtresource = 1
tao_xtresource = 1
tao_tkresource = 1
tao_flresource = 1

CONTENTS OF
$ACE_ROOT/bin/MakeProjectCreator/config/default.features
(used by MPC when you generate your own makefiles):

ssl=1
qos=0
cidl=0
rwho=0
sctp=0
motif=1
athena=1
x11=1
xt=1
tk=1
fl=1
qt=1
gl=1
ace_qtreactor=1
ace_xtreactor=1
ace_tkreactor=1
ace_flreactor=1
tao_qtresource=1
tao_xtresource=1
tao_tkresource=1
tao_flresource=1

AREA/CLASS/EXAMPLE AFFECTED:

tao_idl built with TAO_IDL_INCLUDE_DIR generates errors
at runtime.

DOES THE PROBLEM AFFECT:
COMPILATION?
If so, what do your $ACE_ROOT/ace/config.h
and

$ACE_ROOT/include/makeinc