ACE / TAO compile with SFU? (Full Version)

All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum



Message


sfrare -> ACE / TAO compile with SFU? (Oct. 24, '04, 1:03:16 PM)

Hi:

I am trying to build the opensource Corba ACE / TAO from http://www.theaceorb.com
version 1.3a and am having a lot of difficulty with the make files.

Has anybody done this before? According to the site it builds with Cygwin and MinGW so I assume it should be possible with SFU as well...

Right out of the gate make starts failing on the Makefile with errors such as "Missing dependency operator"

Any pointers of how I might fix this are appreciated.

Thank You
Steve




markfunk -> RE: ACE / TAO compile with SFU? (Oct. 24, '04, 1:45:57 PM)

The 'make' on Interix is a BSD UNIX style make.
You should try using 'gmake' (the GNU style make) instead.




sfrare -> RE: ACE / TAO compile with SFU? (Oct. 24, '04, 1:56:59 PM)

Hi Mark:

Yes I was building that probably as you were typing the reply. It now reads the Makefile okay however it still won't build.



make[1]: Entering directory `/opt/ACE_wrappers/ace'
g++ -W -Wall -Wpointer-arith -mcpu=pentiumpro -mthreads -W -Wall -Wpointer-arith
-g -fno-exceptions -fcheck-new -I/opt/ACE_wrappers -I.. -DACE_BUILD_DLL -DAC
E_OS_BUILD_DLL -c -o .shobj/Local_Name_Space.o Local_Name_Space.cpp
cc1plus: error: invalid option `threads'
make[1]: *** [.shobj/Local_Name_Space.o] Error 1
make[1]: Leaving directory `/opt/ACE_wrappers/ace'
make: *** [all.tgt0] Error 2

There is some configuration to this thing and unfortunately it doesn't appear to have been done for SFU before...

Off to find out where the -mthreads option is handled.

Thanks for the tip! Let me know if you think of anything else.

Steve




sfrare -> RE: ACE / TAO compile with SFU? (Oct. 24, '04, 10:06:56 PM)

Hi All:

Well I have some of it compiling now unfortunately I have hit another road block.

While compiling socket interface stuff ACE wants interface information. It first wants ifaddrs.h and the getifaddrs() function which I am unable to find in Interix. So there is a define I can put in so it doesn't do that. As a fall back ACE uses an ifconf structure then calls a ioctl with the command SIOCGIFCONF. Unfortunately Interix defines neither ifconf or SIOCGIFCONF as far aa I can tell.

How does one get socket interface information in Interix? Specifically in the function that is failing it is looking for a broadcast address.

Thank You
Steve




steveh -> RE: ACE / TAO compile with SFU? (Sep. 19, '06, 7:19:47 PM)

Did you ever solve this? Im looking to get net-snmp working and have hit the same problem ifconf not being defined.




Rodney -> RE: ACE / TAO compile with SFU? (Sep. 19, '06, 9:12:05 PM)

Several month ago libport was released that includes extensions
to ioctl() that comes with Interix. The ioctl request SIOCGIFCONF
is one of them. You can give libport a try for this.




steveh -> RE: ACE / TAO compile with SFU? (Sep. 19, '06, 9:20:11 PM)

Thanks for that it fixed that error but the build continue to error later.
The new issue looks like nlist doesnt exist.




Rodney -> RE: ACE / TAO compile with SFU? (Sep. 19, '06, 10:13:23 PM)

Which "nlist"? Afraid I need some context (or sample code).




steveh -> RE: ACE / TAO compile with SFU? (Sep. 22, '06, 8:22:36 AM)

Sorry about that here's a snip from the FreeBSD manual:

NLIST(3)               FreeBSD Library Functions Manual               NLIST(3)

NAME
     nlist -- retrieve symbol table name list from an executable file

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <nlist.h>

     int
     nlist(const char *filename, struct nlist *nl);


The error in the code is failing on:
static struct nlist nl[] = {

Which is due to no nlist.h existing.




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.016