Professional Web Applications Themes

COMPILE - SCO

I would like to compile No-ip.com utility. I would like to know what do I have to install on my SCO OpenServer 5.0.7 , wich pakages ? Once pakages are installed , do I have to setup something? And finaly, How can I compile noip2.c file ? -- Patrice Brien ca...

  1. #1

    Default COMPILE

    I would like to compile No-ip.com utility.

    I would like to know what do I have to install on my SCO OpenServer 5.0.7 ,
    wich pakages ?

    Once pakages are installed , do I have to setup something?

    And finaly, How can I compile noip2.c file ?

    --
    Patrice Brien
    ca


    Patrice Guest

  2. #2

    Default Re: COMPILE

    Patrice Brien typed (on Wed, Oct 22, 2003 at 07:17:14PM -0400):
    | I would like to compile No-ip.com utility.
    |
    | I would like to know what do I have to install on my SCO OpenServer 5.0.7 ,
    | wich pakages ?

    The GNU Development tools.

    | Once pakages are installed , do I have to setup something?

    Your PATH has to include /usr/gnu/bin.

    | And finaly, How can I compile noip2.c file ?

    Well, gcc noip2c would do it, unless particular libararies are needed for
    that particlar source file.

    --
    JP
    Jean-Pierre Guest

  3. #3

    Default Re: COMPILE

    Jean-Pierre Radley typed (on Wed, Oct 22, 2003 at 11:35:36PM -0400):
    | Patrice Brien typed (on Wed, Oct 22, 2003 at 07:17:14PM -0400):
    | | I would like to compile No-ip.com utility.
    | |
    | | I would like to know what do I have to install on my SCO OpenServer 5.0.7 ,
    | | wich pakages ?
    |
    | The GNU Development tools.
    |
    | | Once pakages are installed , do I have to setup something?
    |
    | Your PATH has to include /usr/gnu/bin.
    |
    | | And finaly, How can I compile noip2.c file ?
    |
    | Well, gcc noip2c would do it, unless particular libararies are needed for
    | that particlar source file.

    Sorry, make that
    gcc -o noip2 noip2.c

    --
    JP
    Jean-Pierre Guest

  4. #4

    Default Re: COMPILE

    Now , the GNU is installed, the server as been rebooted !
    I always get these errors, what is the problem ?


    # pwd
    /pkg/unzip/noip-2.0.12
    # l
    total 200
    -rw-r--r-- 1 500 500 18092 Dec 14 2002 COPYING
    -rw-r--r-- 1 500 500 859 May 8 17:13 Makefile
    -rw-r--r-- 1 500 500 11789 May 13 10:44 README.FIRST
    drwxr-xr-x 2 500 500 512 Oct 18 18:31 binaries
    -rw-r--r-- 1 root root 63254 May 23 18:55 noip2.c
    -rw-r--r-- 1 500 500 1288 Mar 31 2003 redhat.noip.sh

    # gcc -o noip noip2.c
    noip2.c:81: stdio.h: No such file or directory
    noip2.c:88: string.h: No such file or directory
    noip2.c:89: ctype.h: No such file or directory
    noip2.c:90: errno.h: No such file or directory
    noip2.c:91: signal.h: No such file or directory
    noip2.c:93: termios.h: No such file or directory
    noip2.c:95: netinet/in.h: No such file or directory
    noip2.c:96: netdb.h: No such file or directory
    noip2.c:97: syslog.h: No such file or directory
    noip2.c:98: fcntl.h: No such file or directory
    noip2.c:100: netdb.h: No such file or directory
    noip2.c:101: arpa/inet.h: No such file or directory
    noip2.c:102: net/if.h: No such file or directory
    noip2.c:105: pwd.h: No such file or directory
    noip2.c:131: warning: `MAX' redefined
    /usr/include/sys/socket.h:405: warning: this is the location of the previous
    de
    inition
    #

    WHAT DO I DO NOW ?

    "Jean-Pierre Radley" <com> wrote in message
    news:jpr.com... 
    5.0.7 , 
    for 


    Patrice Guest

  5. #5

    Default Re: COMPILE

    Patrice Brien typed (on Fri, Oct 24, 2003 at 09:25:37PM -0400):
    |
    | "Jean-Pierre Radley" <com> wrote in message
    | news:jpr.com...
    | > Jean-Pierre Radley typed (on Wed, Oct 22, 2003 at 11:35:36PM -0400):
    | > | Patrice Brien typed (on Wed, Oct 22, 2003 at 07:17:14PM -0400):
    | > | | I would like to compile No-ip.com utility.
    | > | |
    | > | | I would like to know what do I have to install on my SCO OpenServer
    | 5.0.7 ,
    | > | | wich pakages ?
    | > |
    | > | The GNU Development tools.
    | > |
    | > | | Once pakages are installed , do I have to setup something?
    | > |
    | > | Your PATH has to include /usr/gnu/bin.
    | > |
    | > | | And finaly, How can I compile noip2.c file ?
    | > |
    | > | Well, gcc noip2c would do it, unless particular libararies are needed
    | for
    | > | that particlar source file.
    | >
    | > Sorry, make that
    | > gcc -o noip2 noip2.c
    | >

    If you top-post one more time, I will ignore you. Please just don;t do
    it.

    | Now , the GNU is installed, the server as been rebooted !
    | I always get these errors, what is the problem ?

    The "GNU" is not installed. GNU tools are installed.

    | # gcc -o noip noip2.c
    | noip2.c:81: stdio.h: No such file or directory
    | noip2.c:88: string.h: No such file or directory
    | noip2.c:89: ctype.h: No such file or directory
    | noip2.c:90: errno.h: No such file or directory
    | noip2.c:91: signal.h: No such file or directory
    | noip2.c:93: termios.h: No such file or directory
    | noip2.c:95: netinet/in.h: No such file or directory
    | noip2.c:96: netdb.h: No such file or directory
    | noip2.c:97: syslog.h: No such file or directory
    | noip2.c:98: fcntl.h: No such file or directory
    | noip2.c:100: netdb.h: No such file or directory
    | noip2.c:101: arpa/inet.h: No such file or directory
    | noip2.c:102: net/if.h: No such file or directory
    | noip2.c:105: pwd.h: No such file or directory
    | noip2.c:131: warning: `MAX' redefined
    | /usr/include/sys/socket.h:405: warning: this is the location of the previous definition
    | #
    |
    | WHAT DO I DO NOW ?

    Install the OSR 5 libraries and header files.

    --
    JP
    Jean-Pierre Guest

  6. #6

    Default Re: COMPILE

    Jean-Pierre Radley typed (on Fri, Oct 24, 2003 at 09:58:09PM -0400):
    | Patrice Brien typed (on Fri, Oct 24, 2003 at 09:25:37PM -0400):
    | |
    | | "Jean-Pierre Radley" <com> wrote in message
    | | news:jpr.com...
    | | > Jean-Pierre Radley typed (on Wed, Oct 22, 2003 at 11:35:36PM -0400):
    | | > | Patrice Brien typed (on Wed, Oct 22, 2003 at 07:17:14PM -0400):
    | | > | | I would like to compile No-ip.com utility.
    | | > | |
    | | > | | I would like to know what do I have to install on my SCO OpenServer
    | | 5.0.7 ,
    | | > | | wich pakages ?
    | | > |
    | | > | The GNU Development tools.
    | | > |
    | | > | | Once pakages are installed , do I have to setup something?
    | | > |
    | | > | Your PATH has to include /usr/gnu/bin.
    | | > |
    | | > | | And finaly, How can I compile noip2.c file ?
    | | > |
    | | > | Well, gcc noip2c would do it, unless particular libararies are needed
    | | for
    | | > | that particlar source file.
    | | >
    | | > Sorry, make that
    | | > gcc -o noip2 noip2.c
    | | >
    |
    | If you top-post one more time, I will ignore you. Please just don;t do
    | it.
    |
    | | Now , the GNU is installed, the server as been rebooted !
    | | I always get these errors, what is the problem ?
    |
    | The "GNU" is not installed. GNU tools are installed.
    |
    | | # gcc -o noip noip2.c
    | | noip2.c:81: stdio.h: No such file or directory
    | | noip2.c:88: string.h: No such file or directory
    | | noip2.c:89: ctype.h: No such file or directory
    | | noip2.c:90: errno.h: No such file or directory
    | | noip2.c:91: signal.h: No such file or directory
    | | noip2.c:93: termios.h: No such file or directory
    | | noip2.c:95: netinet/in.h: No such file or directory
    | | noip2.c:96: netdb.h: No such file or directory
    | | noip2.c:97: syslog.h: No such file or directory
    | | noip2.c:98: fcntl.h: No such file or directory
    | | noip2.c:100: netdb.h: No such file or directory
    | | noip2.c:101: arpa/inet.h: No such file or directory
    | | noip2.c:102: net/if.h: No such file or directory
    | | noip2.c:105: pwd.h: No such file or directory
    | | noip2.c:131: warning: `MAX' redefined
    | | /usr/include/sys/socket.h:405: warning: this is the location of the previous definition
    | | #
    | |
    | | WHAT DO I DO NOW ?
    |
    | Install the OSR 5 libraries and header files.

    Sorry, I should have been more precise. Those are in the
    Linker and Application Development Libraries entry on your base CD.

    --
    JP
    Jean-Pierre Guest

  7. #7

    Default Re: COMPILE

    Sa ne semble toujours pas fonctionner , voici maintenant l'erreur que j'ai à
    mon écran lorsque :

    # gcc -o noip2 noip2.c

    noip2.c:131: warning: `MAX' redefined
    /usr/include/sys/socket.h:405: warning: this is the location of the previous
    definition

    Undefined first referenced
    symbol in file
    openlog /usr/tmp/cchKmYE5.o
    connect /usr/tmp/cchKmYE5.o
    std_syslog /usr/tmp/cchKmYE5.o
    inet_ntoa /usr/tmp/cchKmYE5.o
    socket /usr/tmp/cchKmYE5.o
    gethostbyname /usr/tmp/cchKmYE5.o
    htons /usr/tmp/cchKmYE5.o
    ERROR: Symbol referencing errors. No output written to noip2
    collect2: ld returned 1 exit status

    SI VOUS AVEZ UNE VERSION DE NOIP DÉJÀ COMPILÉ , POUVEZ-VOUS ME L'ENVOYER À :
    ca
    ----------------------------------------------------------------------------
    ------------------------------------------------------

    "Patrice Brien" <ca> wrote in message
    news:_dElb.4041$bellglobal.com... 



    Patrice Guest

  8. #8

    Default Re: COMPILE

    >Subject: Re: COMPILE 

    Add -lsocket to the end of your compile command.

    Jonathan Schilling
    Scaldera96 Guest

  9. #9

    Default Re: COMPILE

    NOW IT WORKS !

    THANKS FOR EVERYBODY WHO HELP ME !

    "Patrice Brien" <ca> wrote in message
    news:_dElb.4041$bellglobal.com... 



    Patrice Guest

Similar Threads

  1. e4x and (&&) won't compile
    By maxrahder in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: April 14th, 06:22 PM
  2. compile to CGI
    By Owen Cook in forum PERL Beginners
    Replies: 1
    Last Post: December 25th, 06:06 PM
  3. Compile and Run
    By Shane in forum UNIX Programming
    Replies: 3
    Last Post: December 6th, 02:38 PM
  4. Compile help...
    By Scott V Nipp in forum PERL Beginners
    Replies: 2
    Last Post: December 4th, 03:40 PM
  5. compile php 4.3.3 with gd
    By kecebong in forum PHP Development
    Replies: 7
    Last Post: October 28th, 12:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139