Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #137

Re: Spice3f5 porting - Norcroft/GCC queries

Subject Re: Spice3f5 porting - Norcroft/GCC queries
Newsgroups comp.sys.acorn.programmer
From druck <news@druck.freeuk.com>
Date 2011-03-31 22:03 +0100
Message-ID <c6b2c5bc51.druck@druck.freeuk.net> (permalink)
References <na.d7abc951bc.a80520hsdawson@ormail.co.uk>
Organization druck

Show all headers | View raw


On 31 Mar 2011 Howard Dawson <hsdawson@ormail.co.uk> wrote:
> I eventually managed to get the library requirements down to just the
> straight clib stubs, but a previous attempt with both clib and TCPIPlibs
> always left two intractable linker errors, suggesting the functions 'ioctl'
> and 'read' were not found in the library - with the line reference of the
> library header file where these functions are defined, <dirent.h> I think.

You need to change source to use calls to socketioctl and socketread 
when using TCPIPlibs.

It's due to a name clash with the file versions of ioctl() and read() 
as RISC OS doesn't have a unified file/socket handle model.

---druck

-- 
The ARM Club Free Software - http://www.armclub.org.uk/free/
32 bit Conversions Page    - http://www.armclub.org.uk/32bit/

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Spice3f5 porting - Norcroft/GCC queries Howard Dawson <hsdawson@ormail.co.uk> - 2011-03-31 17:20 +0100
  Re: Spice3f5 porting - Norcroft/GCC queries Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-03-31 18:00 +0100
  Re: Spice3f5 porting - Norcroft/GCC queries druck <news@druck.freeuk.com> - 2011-03-31 22:03 +0100
    Re: Spice3f5 porting - Norcroft/GCC queries Howard Dawson <hsdawson@ormail.co.uk> - 2011-04-01 23:03 +0100

csiph-web