* More problems with asm
@ 1996-06-26 19:50 Lance Ware
1996-06-26 20:23 ` Jay Cotton
1996-06-26 21:08 ` Christian Daudt
0 siblings, 2 replies; 3+ messages in thread
From: Lance Ware @ 1996-06-26 19:50 UTC (permalink / raw)
Perhaps someone has seen this before, perhaps I am doing something stupid.
I continue to have problems compiling some fairly well behaved packages on
RedHat Linux 1.3.90 for Alpha.
Last time it was netatalk sources that wouldn't work (and still don't)
This time I am trying to compile Socks5.
When I go to compile the server I get:
/usr/include/string.h:126: warning: conflicting types for built-in function
`strlen'
proxy.c: In function `HandleStartup':
proxy.c:203: unknown register name `di' in `asm'
proxy.c:203: unknown register name `cx' in `asm'
proxy.c:203: inconsistent operand constraints in an `asm'
proxy.c:203: inconsistent operand constraints in an `asm'
proxy.c:203: inconsistent operand constraints in an `asm'
make: *** [proxy.o] Error 1
Which is similar to the messages:
/usr/include/asm/byteorder.h: In function `build_req_packet':
/usr/include/asm/byteorder.h:58: inconsistent operand constraints in an `asm'
/usr/include/asm/byteorder.h: In function `build_resp_packet':
/usr/include/asm/byteorder.h:58: inconsistent operand constraints in an `asm'
/usr/include/asm/byteorder.h: In function `recv_atp':
/usr/include/asm/byteorder.h:58: inconsistent operand constraints in an `asm'
I got with netatalk.
Lance
______________________________________________________________________________
Lance Ware
lware@voxel.com
Director of Computing & Communications
714-348-3200
VOXEL http://www.voxel.com/
Fax 714-348-8665
____________________________________________________________________________
__
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: More problems with asm
1996-06-26 19:50 More problems with asm Lance Ware
@ 1996-06-26 20:23 ` Jay Cotton
1996-06-26 21:08 ` Christian Daudt
1 sibling, 0 replies; 3+ messages in thread
From: Jay Cotton @ 1996-06-26 20:23 UTC (permalink / raw)
Just off hand, this looks like a problem with inline assembly. Take
a look at the c source, there may be a way to turn off the optimazations.
A wild guess
JC
>
> Perhaps someone has seen this before, perhaps I am doing something stupid.
>
> I continue to have problems compiling some fairly well behaved packages on
> RedHat Linux 1.3.90 for Alpha.
>
> Last time it was netatalk sources that wouldn't work (and still don't)
> This time I am trying to compile Socks5.
>
> When I go to compile the server I get:
>
>
> /usr/include/string.h:126: warning: conflicting types for built-in function
> `strlen'
> proxy.c: In function `HandleStartup':
> proxy.c:203: unknown register name `di' in `asm'
> proxy.c:203: unknown register name `cx' in `asm'
> proxy.c:203: inconsistent operand constraints in an `asm'
> proxy.c:203: inconsistent operand constraints in an `asm'
> proxy.c:203: inconsistent operand constraints in an `asm'
> make: *** [proxy.o] Error 1
>
> Which is similar to the messages:
>
> /usr/include/asm/byteorder.h: In function `build_req_packet':
> /usr/include/asm/byteorder.h:58: inconsistent operand constraints in an `asm'
> /usr/include/asm/byteorder.h: In function `build_resp_packet':
> /usr/include/asm/byteorder.h:58: inconsistent operand constraints in an `asm'
> /usr/include/asm/byteorder.h: In function `recv_atp':
> /usr/include/asm/byteorder.h:58: inconsistent operand constraints in an `asm'
>
> I got with netatalk.
>
>
> Lance
>
> ______________________________________________________________________________
> Lance Ware
> lware@voxel.com
> Director of Computing & Communications
> 714-348-3200
> VOXEL http://www.voxel.com/
> Fax 714-348-8665
> ____________________________________________________________________________
> __
>
>
> --
> To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: More problems with asm
1996-06-26 19:50 More problems with asm Lance Ware
1996-06-26 20:23 ` Jay Cotton
@ 1996-06-26 21:08 ` Christian Daudt
1 sibling, 0 replies; 3+ messages in thread
From: Christian Daudt @ 1996-06-26 21:08 UTC (permalink / raw)
This program is using intel specific assembly instructions. You can't use
this on non-x86 without changing the program to eliminate this (or adding
equivalent AXP asm instructions).
The best thing to do IMHO is contact the maintainer for this program and
ask him if he can do away with it in a future version or (even better) do
it and send him the patches.
Cheers,
Christian.
>
> Perhaps someone has seen this before, perhaps I am doing something stupid.
>
> I continue to have problems compiling some fairly well behaved packages on
> RedHat Linux 1.3.90 for Alpha.
>
> Last time it was netatalk sources that wouldn't work (and still don't)
> This time I am trying to compile Socks5.
>
> When I go to compile the server I get:
>
>
> /usr/include/string.h:126: warning: conflicting types for built-in function
> `strlen'
> proxy.c: In function `HandleStartup':
> proxy.c:203: unknown register name `di' in `asm'
> proxy.c:203: unknown register name `cx' in `asm'
[...]
> /usr/include/asm/byteorder.h: In function `recv_atp':
> /usr/include/asm/byteorder.h:58: inconsistent operand constraints in an `asm'
>
> I got with netatalk.
>
>
> Lance
--
----------------------------------------------------------------
Christian Daudt (csd@microplex.com) Software Engineer
Microplex Systems Ltd. URL: http://www.microplex.com/
"The surest sign that intelligent life exists elsewhere in the universe is
that it has never tried to contact us." Calvin and Hobbes (Bill Watterson)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1996-06-26 21:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-26 19:50 More problems with asm Lance Ware
1996-06-26 20:23 ` Jay Cotton
1996-06-26 21:08 ` Christian Daudt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox