Conflicting 'typedef' error - Which gcc switch to use?


 
Thread Tools Search this Thread
Operating Systems Solaris Conflicting 'typedef' error - Which gcc switch to use?
# 1  
Old 09-18-2006
Conflicting 'typedef' error - Which gcc switch to use?

I am using gcc3.3.5 on solaris2.7. Its a 64 bit compilation

I am compiling a file 'plugin.cpp'. It includes mach.h and the complation gives the following error.
-----------------------------------------------------------------
mach.h error: conflicting
types for `typedef vx_u32_t off32_t'

/usr/include/sys/types32.h:30: error: previous declaration as `typedef int32_t
off32_t'

------------------------------------------------------------
I cant remove mach.h, neither i can edit the file mach.h
Is there any particular switch/flag which can resolve the conflicting 'typedef' error

The flags i am using are -
/usr/local/gcc/3.3.5/bin/gcc -c -fpermissive -fno-gnu-keywords -DXTFUNCPROTO -Usun -xildoff -fPIC -m64 -xchip=ultra -xarch=v9 -xnone -DLGTO_LP64 -g -DIDENT -DALT_ORIGIN=\"../lib/nsr\" -DDM_SOLARIS -D_POSIX_PTHREAD_SEMANTICS -DASYNC_IO -DNSR_POSIX4_ASYNC_IO -Dsolaris -DRELEASE_27 -DDM_BUILD=\"tmp\" -DHSM_SERVER -D__lgto
ndmp__ -DSNMP_SUPPORT -DENABLERS -DSTL_SUPPORT -DSTL_CLIENT_SUPPORT -DOPENVAULT_SUPPORT -Dsolaris64
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Egrep: conflicting matchers specified

This bit of code works fine: egrep -i '^rmcat' /etc/oratab |\ awk -F\: '{print $1}'|\ while read ORACLE_SID do But when I modified it, thus: egrep -v '^#' /etc/oratab |egrep -v '^$' | egrep -v '^listener' \ awk -F\: '{print $1}'|\ while read ORACLE_SID do (3 Replies)
Discussion started by: edstevens
3 Replies

2. Shell Programming and Scripting

Parallel RM and FIND commands conflicting

Hi all. Long time!! Hope you're doing well.. I've stumbled on a peculiar siutaion here, and would expect help from this forum on a clean resolution. We are running an rm and find command simultaneously from two different Unix sessions of the same user(let's say USER01) and on the same... (3 Replies)
Discussion started by: kumarjt
3 Replies

3. Programming

Typedef does not work to name a type

Hello, This is related to the closed post in the forum for the installation of the same software called arachne, but with different error message: In file included from ueberal/MiniSuperizer.cc:5:0: ./random/GnuRandom.h:54:5: error: ‘_G_uint32_t’ does not name a type _G_uint32_t u; ^... (11 Replies)
Discussion started by: yifangt
11 Replies

4. UNIX for Dummies Questions & Answers

Conflicting GID in group and passwd files.

Hi guys, I have a question. In the passwd file, user johndoe has a GID of 100 which is the group named users in the group file. But if you check the group file, johndoe is not listed under GID 100, but under GID 33, which is the group named videos. Under what group does johndoe really belong,... (1 Reply)
Discussion started by: goldenlight1814
1 Replies

5. Programming

Compilation problem with typedef

I am getting confused compiling a program that gives me the following error ../../../tomso/algeb/vector.hpp:19:9: error: ‘Vector' does not name a type typedef Vector<float> Vecflt; (1 Reply)
Discussion started by: kristinu
1 Replies

6. Programming

typedef help

Hi! This is part of my my code : typedef struct{ int x; char na; char sur; } Stu; typedef struct{ Stu *arr; int size; int sort; } Stus; I want to ask how can i free() the matrix arr. I tried free(arr), free(Stus.arr) and i get errors with gcc. My problem, in... (3 Replies)
Discussion started by: giampoul
3 Replies

7. Programming

typedef struct forward declaration

I've google a bit about this and couldn't find an answer. Actually I read that it can't be done. Basically I've defined the following structure and typedef it as follows. stuct Name { }; typdef struct Name Name. and right after it, defined some API that use it. void blabla(Name*... (6 Replies)
Discussion started by: emitrax
6 Replies

8. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

9. Programming

How to typedef

I want to declare char ch as ch_9 with the help of the typedef statement. Thanks (1 Reply)
Discussion started by: krishna_sicsr
1 Replies

10. HP-UX

why does my program runs in conflicting mode?

my pragram runs with 3 threads, 2 work threads, one main thread. the 2 work threads run with the same mode and the same code. but now, one of the work thread can't work, and it uses the cpu more than 80%, sometimes uses 100% cpu resource. the another work thread work well. when I viewed the HP... (2 Replies)
Discussion started by: happylife365
2 Replies
Login or Register to Ask a Question
Moose::Meta::Role::Method::Conflicting(3pm)		User Contributed Perl Documentation	       Moose::Meta::Role::Method::Conflicting(3pm)

NAME
Moose::Meta::Role::Method::Conflicting - A Moose metaclass for conflicting methods in Roles VERSION
version 2.0603 DESCRIPTION
INHERITANCE
"Moose::Meta::Role::Method::Conflicting" is a subclass of Moose::Meta::Role::Method::Required. METHODS
Moose::Meta::Role::Method::Conflicting->new(%options) This creates a new type constraint based on the provided %options: o name The method name. This is required. o roles The list of role names that generated the conflict. This is required. $method->name Returns the conflicting method's name, as provided to the constructor. $method->roles Returns the roles that generated this conflicting method, as provided to the constructor. $method->roles_as_english_list Returns the roles that generated this conflicting method as an English list. BUGS
See "BUGS" in Moose for details on reporting bugs. AUTHOR
Moose is maintained by the Moose Cabal, along with the help of many contributors. See "CABAL" in Moose and "CONTRIBUTORS" in Moose for details. COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Infinity Interactive, Inc.. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-28 Moose::Meta::Role::Method::Conflicting(3pm)