[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86
From: |
Bill Page |
Subject: |
RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86 |
Date: |
Sat, 7 Apr 2007 18:29:28 -0400 |
Gaby,
I consulted:
http://sourceware.org/ml/automake/2004-01/msg00162.html
which seems to include the necessary Autoconf magic.
Indeed adding -lsocket to
gcc session.o -o ../../target/i386-pc-solaris2.10/lib/session
-L/export/home0/wspage/axiom-test/src/lib -lspad -lsocket -o
../../target/i386-pc-solaris2.10/lib/session
seemed to do the trick.
Regards,
Bill Page.
On April 7, 2007 12:26 PM Bill Page wrote:
> ...
> gmake[2]: Entering directory
> `/export/home0/wspage/axiom-test/src/sman'
> ./../../build/scripts/document --tangle --output=session.c
> ../../../build-improvements/src/sman/session.c.pamphlet
> gcc -c -O2 -fno-strength-reduce -Wall -D_GNU_SOURCE
> -I../../../build-improvements/src/include -I../../config -I.
> -o session.o
> session.c
> session.c:92: warning: 'pr' defined but not used
> gcc session.o -o ../../target/i386-pc-solaris2.10/lib/session
> -L/export/home0/wspage/axiom-test/src/lib -lspad -o
> ../../target/i386-pc-solaris2.10/lib/session
> session.o: In function `main':
> session.c:(.text+0x3c1): undefined reference to `accept'
> /export/home0/wspage/axiom-test/src/lib/libspad.a(sockio-c.o):
> In function
> `open_server':
>
>
> sockio-c.c:(.text+0x1b9): undefined reference to `socket'
> sockio-c.c:(.text+0x205): undefined reference to `bind'
> sockio-c.c:(.text+0x23c): undefined reference to `listen'
> /export/home0/wspage/axiom-test/src/lib/libspad.a(sockio-c.o):
> In function
> `accept_connection':
> sockio-c.c:(.text+0x2d2): undefined reference to `accept'
> /export/home0/wspage/axiom-test/src/lib/libspad.a(sockio-c.o):
> In function
> `swrite':
> sockio-c.c:(.text+0x65d): undefined reference to `send'
> /export/home0/wspage/axiom-test/src/lib/libspad.a(sockio-c.o):
> In function
> `sread':
> sockio-c.c:(.text+0xcf3): undefined reference to `recv'
> /export/home0/wspage/axiom-test/src/lib/libspad.a(sockio-c.o):
> In function
> `connect_to_local_server':
> sockio-c.c:(.text+0x11a8): undefined reference to `socket'
> sockio-c.c:(.text+0x1200): undefined reference to `connect'
> /export/home0/wspage/axiom-test/src/lib/libspad.a(sockio-c.o):
> In function
> `connect_to_local_server_new':
> sockio-c.c:(.text+0x1312): undefined reference to `socket'
> sockio-c.c:(.text+0x136c): undefined reference to `connect'
> collect2: ld returned 1 exit status
> gmake[2]: *** [../../target/i386-pc-solaris2.10/lib/session] Error 1
> gmake[2]: Leaving directory `/export/home0/wspage/axiom-test/src/sman'
> gmake[1]: *** [all-sman] Error 2
> gmake[1]: Leaving directory `/export/home0/wspage/axiom-test/src'
> gmake: *** [all-src] Error 2
>
- [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Bill Page, 2007/04/07
- RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86,
Bill Page <=
- RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Bill Page, 2007/04/07
- Re: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Gabriel Dos Reis, 2007/04/08
- RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Bill Page, 2007/04/08
- Re: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Gabriel Dos Reis, 2007/04/08
- RE: [Axiom-developer] FW: Axiom on Solaris 10.2 x86, Bill Page, 2007/04/08
- [Axiom-developer] building wh-sandbox on Axiom on Solaris 10.2 x86, Bill Page, 2007/04/08
- Re: [Axiom-developer] building wh-sandbox on Axiom on Solaris 10.2 x86, Gabriel Dos Reis, 2007/04/08