|
|
Choosing A Webhost: |
Axis2C: compile error - 'struct' type redefinition: msg#00171apache.webservices.axis-c.user
I am getting some compile errors that I cannot resolve. I'm wondering if this is a known issue or if I'm doing something wrong. Here is the scenario: I have a C++ class that includes <axiom.h>, <axis2_util.h>, and <axis2_stub.h>. It also includes sys/types.h When I compile it's complaining about these struct redefinitions. I'm wondering if these structs are defined properly or am I missing some flag when I build? Here are the actual errors: c:\axis2c-src-1.1.0\build\deploy\include\platforms\windows\axutil_dir_windows.h(30) : error C2011: 'dirent' : 'struct' type redefinition \atria\nt\include\dirent.h(16) : see declaration of 'dirent' c:\axis2c-src-1.1.0\build\deploy\include\platforms\windows\axutil_dir_windows.h(48) : error C2371: 'DIR' : red efinition; different basic types \atria\nt\include\dirent.h(27) : see declaration of 'DIR' c:\axis2c-src-1.1.0\build\deploy\include\platforms\windows\axutil_dir_windows.h(56) : error C2373: 'opendir' : redefinition; different type modifiers \atria\nt\include\dirent.h(29) : see declaration of 'opendir' c:\axis2c-src-1.1.0\build\deploy\include\platforms\windows\axutil_dir_windows.h(62) : error C2373: 'closedir' : redefinition; different type modifiers \atria\nt\include\dirent.h(32) : see declaration of 'closedir' c:\axis2c-src-1.1.0\build\deploy\include\platforms\windows\axutil_dir_windows.h(69) : error C2373: 'readdir' : redefinition; different type modifiers \atria\nt\include\dirent.h(30) : see declaration of 'readdir' c:\axis2c-src-1.1.0\build\deploy\include\platforms\windows\axutil_dir_windows.h(80) : error C2556: 'int rewind dir(DIR *)' : overloaded function differs only by return type from 'void rewinddir(DIR *)' \atria\nt\include\dirent.h(31) : see declaration of 'rewinddir' c:\axis2c-src-1.1.0\build\deploy\include\platforms\windows\axutil_dir_windows.h(80) : error C2373: 'rewinddir' : redefinition; different type modifiers \atria\nt\include\dirent.h(31) : see declaration of 'rewinddir' Thanks, Mike Michael J Molé Software Engineer IBM Software Group - Rational (781)676-2710
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: how to set the username & password dynamically using Rampart, Murali Konnipati |
|---|---|
| Next by Date: | Re: Axis2C: compile error - 'struct' type redefinition, Samisa Abeysinghe |
| Previous by Thread: | Client crashed while recieving response, Sathya Raghunathan |
| Next by Thread: | Re: Axis2C: compile error - 'struct' type redefinition, Samisa Abeysinghe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |