Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: unistd.h  (Read 8201 times)

0 Members and 1 Guest are viewing this topic.

FloodServ

  • Guest
unistd.h
« on: May 26, 2006, 10:19:42 PM »

hi everybody, i'm trying to compile these files:

cs_nounregistered
cs_operonly_register

But in the process, i'm receiving this error:

Cannot open include file "unistd.h"

I've the Anope source, but unistd.h isn't there.

Where i can download this file? Thanks
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #1 on: May 26, 2006, 11:02:27 PM »

what operating system? this is a file that should be included with the os
Logged
my God my tourniquet, return to me salvation

FloodServ

  • Guest
(No subject)
« Reply #2 on: May 26, 2006, 11:24:56 PM »

Windows XP Professional, Service Pack 2 (5.1 - 2600)

I'm compiling with Pacific C and anope-1.7.14 source
Logged

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #3 on: May 26, 2006, 11:32:35 PM »

Never tried to compile the source with that compiler.. anope source is made to compile with the Microsoft compiler and headers
Logged
my God my tourniquet, return to me salvation

FloodServ

  • Guest
(No subject)
« Reply #4 on: May 26, 2006, 11:34:20 PM »

I downloaded some unistd.h from internet, but these files doesn't work :'(
Logged

Tom65789

  • Anope User
  • Offline Offline
  • Posts: 343
    • www.t65789.co.uk
(No subject)
« Reply #5 on: May 26, 2006, 11:36:05 PM »

Use Microsoft Visual C++ Compiler. that should work because i have not used that compiler myself either.

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #6 on: May 27, 2006, 12:03:55 AM »

This compiler is a bit strange, I took a quick look at what they offer is really misisng alot of headers, libraries.. really seems cheesey

Highly recommend getting the MS VC compiler items mentioned in win32.txt which tells you more about
Logged
my God my tourniquet, return to me salvation
Pages: [1]   Go Up