home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.amiga
- Path: sparky!uunet!mcsun!sun4nl!fwi.uva.nl!solorzan
- From: solorzan@fwi.uva.nl (Valik Solorzano (I88))
- Subject: Help with Xlib port for the amiga
- Message-ID: <1992Dec18.125856.591@fwi.uva.nl>
- Keywords: Xlib
- Sender: news@fwi.uva.nl
- Nntp-Posting-Host: grab.fwi.uva.nl
- Organization: FWI, University of Amsterdam
- Date: Fri, 18 Dec 1992 12:58:56 GMT
- Lines: 48
-
- After making a program in a Sun Workstation using gcc(2.2.2) as compiler, and
- Xlib, I tried to compile the same program on my Amiga. While compiling nothing
- went wrong, but when I get to the link part I get the following errors:
-
- gcc:lib/libX11.a(obj.0060.793272): Undefined symbol _socket referenced from text
- segment
- gcc:lib/libX11.a(obj.0060.793272): Undefined symbol _connect referenced from tex
- t segment
- gcc:lib/libX11.a(obj.0060.793272): Undefined symbol _inet_addr referenced from t
- ext segment
- gcc:lib/libX11.a(obj.0060.793272): Undefined symbol _gethostbyname referenced fr
- om text segment
- gcc:lib/libX11.a(obj.0060.793272): Undefined symbol _socket referenced from text
- segment
- gcc:lib/libX11.a(obj.0060.793272): Undefined symbol _setsockopt referenced from
- text segment
- gcc:lib/libX11.a(obj.0060.793272): Undefined symbol _connect referenced from tex
- t segment
- gcc:lib/libX11.a(obj.0161.793272): Undefined symbol __iob referenced from text s
- egment
- gcc:lib/libX11.a(obj.0161.793272): Undefined symbol __iob referenced from text s
- egment
- gcc:lib/libX11.a(obj.0161.793272): Undefined symbol __iob referenced from text s
- egment
- gcc:lib/libX11.a(obj.0245.793272): Undefined symbol __iob referenced from text s
- egment
- gcc:lib/libX11.a(obj.0245.793272): Undefined symbol __iob referenced from text s
- egment
- gcc:lib/libX11.a(obj.0245.793272): Undefined symbol __iob referenced from text s
- egment
- gcc:lib/libX11.a(obj.0246.793272): Undefined symbol __flsbuf referenced from tex
- t segment
-
- Could someone tell me what is wrong or do I need other things to get my program
- linked correctly.
-
- I almost forgot to tell that I'm using the Xwindows libraries someone (I think
- from Mr. Getzinger) ported to the Amiga, this libraries were ported for the
- SASC compiler, but with the help of a friend I could traslate this libraries
- into gcc format using oml, ar and ranlib.
-
- Thanks in advance
-
- You can contact me at:
-
- solorzan@carol.fwi.uva.nl
-
- ----Valik----
-