Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

ACE / TAO compile with SFU?

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> ACE / TAO compile with SFU? Page: [1]
Login
Message << Older Topic   Newer Topic >>
ACE / TAO compile with SFU? - Oct. 24, '04, 1:03:16 PM   
sfrare

 

Posts: 28
Joined: Oct. 24, '04,
Status: offline
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
Post #: 1
RE: ACE / TAO compile with SFU? - Oct. 24, '04, 1:45:57 PM   
markfunk

 

Posts: 669
Joined: Mar. 31, '03,
Status: offline
The 'make' on Interix is a BSD UNIX style make.
You should try using 'gmake' (the GNU style make) instead.

(in reply to sfrare)
Post #: 2
RE: ACE / TAO compile with SFU? - Oct. 24, '04, 1:56:59 PM   
sfrare

 

Posts: 28
Joined: Oct. 24, '04,
Status: offline
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

(in reply to markfunk)
Post #: 3
RE: ACE / TAO compile with SFU? - Oct. 24, '04, 10:06:56 PM   
sfrare

 

Posts: 28
Joined: Oct. 24, '04,
Status: offline
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

(in reply to sfrare)
Post #: 4
RE: ACE / TAO compile with SFU? - Sep. 19, '06, 7:19:47 PM   
steveh

 

Posts: 195
Joined: Jan. 23, '04,
Status: offline
Did you ever solve this? Im looking to get net-snmp working and have hit the same problem ifconf not being defined.

(in reply to sfrare)
Post #: 5
RE: ACE / TAO compile with SFU? - Sep. 19, '06, 9:12:05 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
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.

(in reply to steveh)
Post #: 6
RE: ACE / TAO compile with SFU? - Sep. 19, '06, 9:20:11 PM   
steveh

 

Posts: 195
Joined: Jan. 23, '04,
Status: offline
Thanks for that it fixed that error but the build continue to error later.
The new issue looks like nlist doesnt exist.

(in reply to Rodney)
Post #: 7
RE: ACE / TAO compile with SFU? - Sep. 19, '06, 10:13:23 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
Which "nlist"? Afraid I need some context (or sample code).

(in reply to steveh)
Post #: 8
RE: ACE / TAO compile with SFU? - Sep. 22, '06, 8:22:36 AM   
steveh

 

Posts: 195
Joined: Jan. 23, '04,
Status: offline
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.

(in reply to Rodney)
Post #: 9
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Interix Advanced Forum >> ACE / TAO compile with SFU? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.047