public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Trying to build Eterm - Need help
@ 2002-09-16 12:11 bob.cavanaugh
  0 siblings, 0 replies; 2+ messages in thread
From: bob.cavanaugh @ 2002-09-16 12:11 UTC (permalink / raw)
  To: cygwin

Hello,
I am running Win2K service pack2, I have downloaded the latest version of Cygwin
(as of 13-Sept-02). I have downloaded the following packages as well:
1) Imlib2-1.0.6.tar.gz
2)libAST-0.4.tar.gz
3)Eterm-0.9.1.tar.gz

I was able to build libAST, without imlib2 support. When I try to build Imlib2,
I get the following error running ./configure:

[FROM config.log]
configure:2769: checking for shmat
configure:2797: gcc -o conftest -g -O2   conftest.c  1>&5
/cygdrive/c/DOCUME~1/ROBERT~1/LOCALS~1/Temp/ccW7cN5X.o: In function `main':
/usr/local/imlib2-1.0.6/configure:2791: undefined reference to `shmat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2774 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char shmat(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shmat();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_shmat) || defined (__stub___shmat)
choke me
#else
shmat();
#endif

; return 0; }
configure:2818: checking for shmat in -lipc
configure:2837: gcc -o conftest -g -O2   conftest.c -lipc   1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lipc
collect2: ld returned 1 exit status
configure: failed program was:
#line 2826 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char shmat();

int main() {
shmat()
; return 0; }
configure:2870: checking for IceConnectionNumber in -lICE
configure:2889: gcc -o conftest -g -O2   -L/usr/X11R6/lib conftest.c -lICE   1>
&5
configure:2928: checking for XOpenDisplay in -lX11
configure:2947: gcc -o conftest -g -O2   conftest.c -lX11    -L/usr/X11R6/lib
1>&5
configure:2969: checking for XShmAttach in -lXext
configure:2988: gcc -o conftest -g -O2   conftest.c -lXext -lX11
-L/usr/X11R6/lib   1>&5
/cygdrive/c/DOCUME~1/ROBERT~1/LOCALS~1/Temp/cch4uq5F.o: In function `main':
/usr/local/imlib2-1.0.6/configure:2984: undefined reference to `XShmAttach'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2977 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XShmAttach();

int main() {
XShmAttach()
; return 0; }
configure:3007: checking for XShmAttach in -lXextSam
configure:3026: gcc -o conftest -g -O2   conftest.c -lXextSam -lX11
-L/usr/X11R6/lib   1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lXextSam
collect2: ld returned 1 exit status
configure: failed program was:
#line 3015 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XShmAttach();

int main() {
XShmAttach()
; return 0; }

[END FROM config.log]

I have read some other posts, indicating that I may have to re-build the X
libraries, but the most recent one is from 2001. Is this still the case? Do I
need to rebuild the Xfree86 sources? Is there anything else I need to know?

Thanks in advance for any help you can give me.


Robert Cavanaugh
Senior Firmware Engineer
Flextronics Design
Mountain States Engineering
Salt Lake City, Utah
(801)-685-9330


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Trying to build Eterm - Need help
@ 2002-09-17  3:22 J.Larsen
  0 siblings, 0 replies; 2+ messages in thread
From: J.Larsen @ 2002-09-17  3:22 UTC (permalink / raw)
  To: bob.cavanaugh; +Cc: cygwin

Hi,

install cygipc package, which is optional. Visit
cygwin.com and try to find the link to the package.

ipc package contains all shared memory (shmat())
and other IPC related funtionality. It runs as an
server, however you also can configure it as an
service.

Keep me informed about the errors you'll find after
installing cygipc :-)

-Jack


Date:  Mon, 16 Sep 2002 12:41:26 -0600 
From:  bob.cavanaugh@flextronicssemi.com 
Subject:  Trying to build Eterm - Need help 
To:  cygwin@cygwin.com 
   


Hello,
I am running Win2K service pack2, I have downloaded the latest version of Cygwin
(as of 13-Sept-02). I have downloaded the following packages as well:
1) Imlib2-1.0.6.tar.gz
2)libAST-0.4.tar.gz
3)Eterm-0.9.1.tar.gz

I was able to build libAST, without imlib2 support. When I try to build Imlib2,
I get the following error running ./configure:

[FROM config.log]
configure:2769: checking for shmat
configure:2797: gcc -o conftest -g -O2 conftest.c 1>&5
/cygdrive/c/DOCUME~1/ROBERT~1/LOCALS~1/Temp/ccW7cN5X.o: In function `main':
/usr/local/imlib2-1.0.6/configure:2791: undefined reference to `shmat'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2774 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shmat(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char shmat();

int main() {

/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_shmat) || defined (__stub___shmat)
choke me
#else
shmat();
#endif

; return 0; }
configure:2818: checking for shmat in -lipc
configure:2837: gcc -o conftest -g -O2 conftest.c -lipc 1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lipc
collect2: ld returned 1 exit status
configure: failed program was:
#line 2826 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char shmat();

int main() {
shmat()
; return 0; }
configure:2870: checking for IceConnectionNumber in -lICE
configure:2889: gcc -o conftest -g -O2 -L/usr/X11R6/lib conftest.c -lICE 1>
&5
configure:2928: checking for XOpenDisplay in -lX11
configure:2947: gcc -o conftest -g -O2 conftest.c -lX11 -L/usr/X11R6/lib
1>&5
configure:2969: checking for XShmAttach in -lXext
configure:2988: gcc -o conftest -g -O2 conftest.c -lXext -lX11
-L/usr/X11R6/lib 1>&5
/cygdrive/c/DOCUME~1/ROBERT~1/LOCALS~1/Temp/cch4uq5F.o: In function `main':
/usr/local/imlib2-1.0.6/configure:2984: undefined reference to `XShmAttach'
collect2: ld returned 1 exit status
configure: failed program was:
#line 2977 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XShmAttach();

int main() {
XShmAttach()
; return 0; }
configure:3007: checking for XShmAttach in -lXextSam
configure:3026: gcc -o conftest -g -O2 conftest.c -lXextSam -lX11
-L/usr/X11R6/lib 1>&5
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld:
cannot find -lXextSam
collect2: ld returned 1 exit status
configure: failed program was:
#line 3015 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char XShmAttach();

int main() {
XShmAttach()
; return 0; }

[END FROM config.log]

I have read some other posts, indicating that I may have to re-build the X
libraries, but the most recent one is from 2001. Is this still the case? Do I
need to rebuild the Xfree86 sources? Is there anything else I need to know?

Thanks in advance for any help you can give me.


Robert Cavanaugh
Senior Firmware Engineer
Flextronics Design
Mountain States Engineering
Salt Lake City, Utah
(801)-685-9330



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-17  9:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-16 12:11 Trying to build Eterm - Need help bob.cavanaugh
2002-09-17  3:22 J.Larsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).