[Orca-users] orca make error gcc KPIC

Anwar Khan anwarkhan11 at hotmail.com
Wed Feb 15 06:52:19 PST 2006


Hi All,

I download orca-snapshot-r525 and I am getting the same error gcc: 
unrecognized option `-KPIC', can some one help

# make
making all in packages
make[1]: Entering directory `/home/akhan22/orca-snapshot-r525/packages'
make[1]: *** Warning: File `Digest-MD5-2.33/Makefile' has modification time 
in the future (2006-02-14 10:28:36.885334 > 2006-02-14 10:27:48.912819546) 
cd Digest-MD5-2.33 && make CC='gcc' OPTIMIZE='-g -O2'
make[2]: Entering directory 
`/home/akhan22/orca-snapshot-r525/packages/Digest-MD5-2.33'
make[2]: *** Warning: File `Makefile' has modification time in the future 
(2006-02-14 10:28:36.885334 > 2006-02-14 10:27:48.982368221)
gcc -c  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2   
-DVERSION=\"2.33\" -DXS_VERSION=\"2.33\" -KPIC 
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE -DU32_ALIGNMENT_REQUIRED 
MD5.c
gcc: unrecognized option `-KPIC'
In file included from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:488,
                 from MD5.xs:42:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/sys/param.h:185: 
warning: `NBBY' redefined
/usr/include/sys/select.h:59: warning: this is the location of the previous 
definition In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/time.h:90,
                 from /usr/include/sys/time.h:419,
                 from /usr/include/sys/select.h:20,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/sys/types.h:278,
                 from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:426,
                 from MD5.xs:42:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or 
union
/usr/include/sys/siginfo.h:76: parse error before `}'
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/time.h:90,
                 from /usr/include/sys/time.h:419,
                 from /usr/include/sys/select.h:20,
                 from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/sys/types.h:278,
                 from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:426,
                 from MD5.xs:42:
/usr/include/sys/siginfo.h:284: parse error before `int32_t'
/usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or 
union
/usr/include/sys/siginfo.h:284: warning: no semicolon at end of struct or 
union
/usr/include/sys/siginfo.h:286: parse error before `}'
/usr/include/sys/siginfo.h:286: warning: data definition has no type or 
storage class
/usr/include/sys/siginfo.h:288: parse error before `}'
/usr/include/sys/siginfo.h:288: warning: data definition has no type or 
storage class
/usr/include/sys/siginfo.h:415: parse error before `int32_t'
/usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or 
union
/usr/include/sys/siginfo.h:415: warning: no semicolon at end of struct or 
union
/usr/include/sys/siginfo.h:416: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:285: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:418: parse error before `}'
/usr/include/sys/siginfo.h:418: warning: data definition has no type or 
storage class
/usr/include/sys/siginfo.h:420: parse error before `}'
/usr/include/sys/siginfo.h:420: warning: data definition has no type or 
storage class
/usr/include/sys/rwstlock.h:61: parse error before `*'
In file included from /usr/include/sys/vnode.h:45,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:41,
                 from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:649,
                 from MD5.xs:42:
/usr/include/sys/resource.h:217: warning: `struct rlimit64' declared inside 
parameter list
/usr/include/sys/resource.h:217: warning: its scope is only this definition 
or declaration,
/usr/include/sys/resource.h:217: warning: which is probably not what you 
want.
/usr/include/sys/resource.h:218: warning: `struct rlimit64' declared inside 
parameter list In file included from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:41,
                 from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:649,
                 from MD5.xs:42:
/usr/include/sys/vnode.h:126: parse error before `rwstlock_t'
/usr/include/sys/vnode.h:126: warning: no semicolon at end of struct or 
union
/usr/include/sys/vnode.h:129: parse error before `ve_refcnt'
/usr/include/sys/vnode.h:129: warning: data definition has no type or 
storage class
/usr/include/sys/vnode.h:130: `uint32_t' undeclared here (not in a function)
/usr/include/sys/vnode.h:132: parse error before `}'
/usr/include/sys/vnode.h:132: warning: data definition has no type or 
storage class
/usr/include/sys/vnode.h:200: parse error before `u_offset_t'
/usr/include/sys/vnode.h:200: warning: no semicolon at end of struct or 
union
/usr/include/sys/vnode.h:208: parse error before `}'
/usr/include/sys/vnode.h:208: warning: data definition has no type or 
storage class
/usr/include/sys/vnode.h:235: parse error before `vattr32_t'
/usr/include/sys/vnode.h:235: warning: data definition has no type or 
storage class
/usr/include/sys/vnode.h:348: parse error before `intptr_t'
/usr/include/sys/vnode.h:416: parse error before `u_offset_t'
In file included from /usr/include/netinet/in.h:41,
                 from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:649,
                 from MD5.xs:42:
/usr/include/sys/stream.h:307: parse error before `projid_t'
/usr/include/sys/stream.h:307: warning: no semicolon at end of struct or 
union
/usr/include/sys/stream.h:308: warning: data definition has no type or 
storage class In file included from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:649,
                 from MD5.xs:42:
/usr/include/netinet/in.h:53: parse error before `in_port_t'
/usr/include/netinet/in.h:53: warning: data definition has no type or 
storage class
/usr/include/netinet/in.h:69: parse error before `in_addr_t'
/usr/include/sys/socket.h:297: parse error before `socklen_t'
/usr/include/sys/socket.h:297: warning: no semicolon at end of struct or 
union
/usr/include/sys/socket.h:309: parse error before `}'
/usr/include/sys/socket.h:375: parse error before `socklen_t'
/usr/include/sys/socket.h:375: warning: no semicolon at end of struct or 
union
/usr/include/sys/socket.h:378: parse error before `}'
/usr/include/sys/socket.h:451: parse error before `socklen_t'
/usr/include/sys/socket.h:452: parse error before `socklen_t'
/usr/include/sys/socket.h:465: parse error before `socklen_t'
/usr/include/sys/socket.h:466: parse error before `socklen_t'
In file included from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:740,
                 from MD5.xs:42:
/usr/include/netdb.h:191: parse error before `in_addr_t'
/usr/include/netdb.h:191: warning: no semicolon at end of struct or union
/usr/include/netdb.h:243: parse error before `int'
/usr/include/netdb.h:312: parse error before `socklen_t'
In file included from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/signal.h:15,
                 from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/unixish.h:93,
                 from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:1665,
                 from MD5.xs:42:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/sys/signal.h:134: 
parse error before `siginfo_t'
In file included from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/unixish.h:93,
                 from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:1665,
                 from MD5.xs:42:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/signal.h:89: parse 
error before `siginfo_t'
/usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.0/include/signal.h:90: parse 
error before `siginfo_t'
In file included from 
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/perl.h:2820,
                 from MD5.xs:42:
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:247: parse error before 
`off64_t'
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:249: parse error before 
`Perl_do_sysseek'
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:249: parse error before 
`off64_t'
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:249: warning: data 
definition has no type or storage class
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:250: parse error before 
`Perl_do_tell'
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:250: warning: data 
definition has no type or storage class
/usr/include/netinet/in.h:304: storage size of `sin_addr' isn't known
/usr/include/netinet/in.h:320: storage size of `sin6_addr' isn't known
make[2]: *** [MD5.o] Error 1
make[2]: Leaving directory 
`/home/akhan22/orca-snapshot-r525/packages/Digest-MD5-2.33'
make[1]: *** [make_digest_md5] Error 2
make[1]: Leaving directory `/home/akhan22/orca-snapshot-r525/packages'
make: *** [all] Error 1



Thanks
Anwar


>From: Blair Zajac <blair at orcaware.com>
>To: Anwar Khan <anwarkhan11 at hotmail.com>
>CC: orca-users at orcaware.com
>Subject: Re: [Orca-users] orca make error
>Date: Sat, 11 Feb 2006 07:49:05 -0800
>
>
>On Feb 10, 2006, at 1:06 PM, Anwar Khan wrote:
>
>>Hi,
>>
>>I am new to orca when I run make command got the following error  about 
>>MD5, any suggestion how to fix it.
>>
>>
>>In file included from /usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/ 
>>perl.h:2820,
>>                 from MD5.xs:41:
>>/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:247: parse  error 
>>before `off64_t'
>>/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:249: parse  error 
>>before `Perl_do_sysseek'
>>/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:249: parse  error 
>>before `off64_t'
>>/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:249: warning:  data 
>>definition has no type or storage class
>>/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:250: parse  error 
>>before `Perl_do_tell'
>>/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE/proto.h:250: warning:  data 
>>definition has no type or storage class
>>/usr/include/netinet/in.h:304: storage size of `sin_addr' isn't known
>>/usr/include/netinet/in.h:320: storage size of `sin6_addr' isn't known
>>*** Error code 1
>>make: Fatal error: Command failed for target `MD5.o'
>>Current working directory /home/akhan22/orca-0.27/packages/Digest- 
>>MD5-2.20
>>*** Error code 1
>>make: Fatal error: Command failed for target `make_digest_md5'
>>Current working directory /home/akhan22/orca-0.27/packages
>>*** Error code 1
>>make: Fatal error: Command failed for target `all'
>
>I would try the latest version of Orca, which includes a newer  version of 
>the Digest::MD5 package.  You can download it from
>
>http://www.orcaware.com/orca/pub/snapshots/
>
>Hopefully, that'll build fine against your version of Perl.
>
>Regards,
>Blair
>
>--
>Blair Zajac, Ph.D.
>CTO, OrcaWare Technologies
><blair at orcaware.com>
>Subversion training, consulting and support
>http://www.orcaware.com/svn/
>
>
>_______________________________________________
>Orca-users mailing list
>Orca-users at orcaware.com
>http://www.orcaware.com/mailman/listinfo/orca-users





More information about the Orca-users mailing list