* Problems building threaded perl 5.005 on OSF 4.0d
@ 1998-09-02 4:00 Jure Simsic
1998-09-02 4:00 ` Greg Bacon
1998-09-02 4:00 ` Charles M Richmond
0 siblings, 2 replies; 4+ messages in thread
From: Jure Simsic @ 1998-09-02 4:00 UTC (permalink / raw)
Has anybody gotten this to work. I tried perl 5.005 and 5.005_51 but
failed. I tried with just ./Configure --Dusethreads -des and with
adittional -pthread to ccflags, -pthread to ldflags, -lpthread -lc_r to
lddlflags and native malloc as described in README.threads but make
always breaks at utf8.c. Transcript:
CCCMD = cc -DPERL_CORE -c -pthread -std -fprm d -ieee
-D_INTRINSICS -
I/usr/local/include -D__LANGUAGE_C__ -O4
`sh cflags libperl.a utf8.o` utf8.c
CCCMD = cc -DPERL_CORE -c -pthread -std -fprm d -ieee
-D_INTRINSICS -
I/usr/local/include -D__LANGUAGE_C__ -O4
cc: Error: utf8.c, line 483: In this declaration, the type of
"Perl_to_utf8_uppe
r" is not compatible with the type of a previous declaration of
"Perl_to_utf8_up
per" at line number 644 in file proto.h.
to_utf8_upper(U8 *p)
^
cc: Error: utf8.c, line 494: In this declaration, the type of
"Perl_to_utf8_titl
e" is not compatible with the type of a previous declaration of
"Perl_to_utf8_ti
tle" at line number 645 in file proto.h.
to_utf8_title(U8 *p)
^
cc: Error: utf8.c, line 505: In this declaration, the type of
"Perl_to_utf8_lowe
r" is not compatible with the type of a previous declaration of
"Perl_to_utf8_lo
wer" at line number 643 in file proto.h.
to_utf8_lower(U8 *p)
^
*** Exit 1
Stop.
Any ideas?
Btw, it does build without threads..
Jure
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems building threaded perl 5.005 on OSF 4.0d
1998-09-02 4:00 Problems building threaded perl 5.005 on OSF 4.0d Jure Simsic
1998-09-02 4:00 ` Greg Bacon
@ 1998-09-02 4:00 ` Charles M Richmond
1998-09-06 4:00 ` Jure Simsic
1 sibling, 1 reply; 4+ messages in thread
From: Charles M Richmond @ 1998-09-02 4:00 UTC (permalink / raw)
It looks like the use of Perl_to_utf8_title is occuring before the
compiler sees a declaration. If that is the case, then explicitly
add in a declaration line at the top of the file that is getting
the error. The same goes for Perl_to_utf8_lower. An example of
what I mean is:
extern void tryit();
extern void tryit2();
main()
{
tryit(1);
}
void tryit(int jn)
{
int jnn = jn;
tryit2(jnn);
}
void tryit2(int kn)
{
printf("kn = %d\n",kn);
if(kn < 5)
tryit(++kn);
}
Without the 'extern's the following type of error would be generated:
cc: Error: jn.c, line 8: In this declaration, the type of "tryit" is not
compatible with the type of a previous declaration of "tryit" at line
number 5 in file jn.c.
void tryit(int jn)
-----^
Jure Simsic wrote:
>
> Has anybody gotten this to work. I tried perl 5.005 and 5.005_51 but
> failed. I tried with just ./Configure --Dusethreads -des and with
> adittional -pthread to ccflags, -pthread to ldflags, -lpthread -lc_r to
> lddlflags and native malloc as described in README.threads but make
> always breaks at utf8.c. Transcript:
>
> CCCMD = cc -DPERL_CORE -c -pthread -std -fprm d -ieee
> -D_INTRINSICS -
> I/usr/local/include -D__LANGUAGE_C__ -O4
> `sh cflags libperl.a utf8.o` utf8.c
> CCCMD = cc -DPERL_CORE -c -pthread -std -fprm d -ieee
> -D_INTRINSICS -
> I/usr/local/include -D__LANGUAGE_C__ -O4
> cc: Error: utf8.c, line 483: In this declaration, the type of
> "Perl_to_utf8_uppe
> r" is not compatible with the type of a previous declaration of
> "Perl_to_utf8_up
> per" at line number 644 in file proto.h.
> to_utf8_upper(U8 *p)
> ^
> cc: Error: utf8.c, line 494: In this declaration, the type of
> "Perl_to_utf8_titl
> e" is not compatible with the type of a previous declaration of
> "Perl_to_utf8_ti
> tle" at line number 645 in file proto.h.
> to_utf8_title(U8 *p)
> ^
> cc: Error: utf8.c, line 505: In this declaration, the type of
> "Perl_to_utf8_lowe
> r" is not compatible with the type of a previous declaration of
> "Perl_to_utf8_lo
> wer" at line number 643 in file proto.h.
> to_utf8_lower(U8 *p)
> ^
> *** Exit 1
> Stop.
>
> Any ideas?
>
> Btw, it does build without threads..
>
> Jure
--
***********************************************************************
* Charles Richmond Integrated International Systems Corporation *
* cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net *
* UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W *
* One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 *
* (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 *
***********************************************************************
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems building threaded perl 5.005 on OSF 4.0d
1998-09-02 4:00 Problems building threaded perl 5.005 on OSF 4.0d Jure Simsic
@ 1998-09-02 4:00 ` Greg Bacon
1998-09-02 4:00 ` Charles M Richmond
1 sibling, 0 replies; 4+ messages in thread
From: Greg Bacon @ 1998-09-02 4:00 UTC (permalink / raw)
In article <35EC9697.80A30007@uni-lj.si>,
Jure Simsic <jure.simsic@uni-lj.si> writes:
: Has anybody gotten this to work. I tried perl 5.005 and 5.005_51 but
: failed.
Check in <URL:http://www.itsc.uah.edu/perl/query>. Set the architecture
to alpha-dec_osf-thread.
Hope this helps,
Greg
--
When Primitive man screamed and beat sticks on the ground we called him a
Barbarian. When Modern man does the same we call him a golfer.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems building threaded perl 5.005 on OSF 4.0d
1998-09-02 4:00 ` Charles M Richmond
@ 1998-09-06 4:00 ` Jure Simsic
0 siblings, 0 replies; 4+ messages in thread
From: Jure Simsic @ 1998-09-06 4:00 UTC (permalink / raw)
Actually I got it. Had to comment strange U32 out (around line 480 in
utf8.c) and change it to UV. The code is returning UV and in proto.h you
have utf stuff declared as
VIRTUAL UV to_utf8_lower _((U8 *p));
//U32
UV
to_utf8_upper(U8 *p)
{
UV uv;
...
Charles M Richmond wrote:
>
> It looks like the use of Perl_to_utf8_title is occuring before the
> compiler sees a declaration. If that is the case, then explicitly
> add in a declaration line at the top of the file that is getting
> the error. The same goes for Perl_to_utf8_lower. An example of
> what I mean is:
>
[snap]
>
> Without the 'extern's the following type of error would be generated:
>
> cc: Error: jn.c, line 8: In this declaration, the type of "tryit" is not
> compatible with the type of a previous declaration of "tryit" at line
> number 5 in file jn.c.
> void tryit(int jn)
> -----^
>
> Jure Simsic wrote:
> >
> > Has anybody gotten this to work. I tried perl 5.005 and 5.005_51 but
> > failed. I tried with just ./Configure --Dusethreads -des and with
> > adittional -pthread to ccflags, -pthread to ldflags, -lpthread -lc_r to
> > lddlflags and native malloc as described in README.threads but make
> > always breaks at utf8.c. Transcript:
> >
> > CCCMD = cc -DPERL_CORE -c -pthread -std -fprm d -ieee
> > -D_INTRINSICS -
> > I/usr/local/include -D__LANGUAGE_C__ -O4
> > `sh cflags libperl.a utf8.o` utf8.c
> > CCCMD = cc -DPERL_CORE -c -pthread -std -fprm d -ieee
> > -D_INTRINSICS -
> > I/usr/local/include -D__LANGUAGE_C__ -O4
> > cc: Error: utf8.c, line 483: In this declaration, the type of
> > "Perl_to_utf8_uppe
> > r" is not compatible with the type of a previous declaration of
> > "Perl_to_utf8_up
> > per" at line number 644 in file proto.h.
> > to_utf8_upper(U8 *p)
> > ^
> > *** Exit 1
> > Stop.
> >
> > Any ideas?
> >
> > Btw, it does build without threads..
> >
> > Jure
>
> --
Sorry, I'm trying to post on some nutty server that keeps complining
about more included text than written so I have to generate some more..
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
BlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlahBlah
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-09-06 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-02 4:00 Problems building threaded perl 5.005 on OSF 4.0d Jure Simsic
1998-09-02 4:00 ` Greg Bacon
1998-09-02 4:00 ` Charles M Richmond
1998-09-06 4:00 ` Jure Simsic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox