delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Originating-IP: | [81.49.122.189] |
In-Reply-To: | <1047852536.30136.ezmlm@cygwin.com> |
User-Agent: | CAMAS/1.2.3-FREEZE (CAudium Mail Access System) |
From: | Olivier Warin <daffy AT oav DOT net> |
To: | cygwin AT cygwin DOT com |
Date: | Sun, 16 Mar 2003 23:27:31 +0100 |
Subject: | mainCRTStartup issue during caudium compilation |
MIME-Version: | 1.0 |
Message-Id: | <20030316222731.A409715677@kaneda.oav.net> |
Hello ! I am working on a caudium port (http://caudium.net) I am meeting an issue with mainCRTStartup during the compilation process. ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000 I wonder why ld is claiming about such flags whereas caudium is a http server and has no need of a gui... Nevertheless, as describe in the cygwin user's guide, I add -e _mainCRTStartup flag in the link line of the Makefile and the -mwindows to the CFLAGS but the result is the same :/ daffy AT hash /home/daffy/caudium-1.3.13-20030213-cvs $ make make[1]: Entering directory `/home/daffy/caudium-1.3.13-20030213-cvs/src' ( cd cmods && make ) make[2]: Entering directory `/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods' Making Caudium make[3]: Entering directory `/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/C audium' /home/daffy/caudium-1.3.13-20030213-cvs/smartlink ld -R/usr/local/lib -L/usr/loc al/lib -R/usr/X11R6/lib -L/usr/X11R6/lib -e _mainCRTStartup -o Caudium.so caudiu m.o nb_send.o /usr/lib/gcc-lib/i686-pc-cygwin/3.2/libgcc.a -lc /usr/lib/gcc-l ib/i686-pc-cygwin/3.2/libgcc.a ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000 caudium.o(.text+0x82): In function `f_buf_append': /home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium/caudium.c:118: undefin ed reference to `Pike_interpreter' caudium.o(.text+0x99):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium/ caudium.c:123: undefined reference to `Pike_interpreter' caudium.o(.text+0xc7):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium/ caudium.c:124: undefined reference to `Pike_interpreter' caudium.o(.text+0xef):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium/ caudium.c:124: undefined reference to `Pike_interpreter' caudium.o(.text+0xfb):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium/ caudium.c:126: undefined reference to `Pike_interpreter' caudium.o(.text+0x10f):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:126: more undefined references to `Pike_interpreter' follow caudium.o(.text+0x11f): In function `f_buf_append': /home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium/caudium.c:255: undefin ed reference to `really_free_svalue' caudium.o(.text+0x149):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:131: undefined reference to `Pike_interpreter' caudium.o(.text+0x1b6):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:139: undefined reference to `Pike_interpreter' caudium.o(.text+0x1c7):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:139: undefined reference to `Pike_interpreter' caudium.o(.text+0x1f8):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:143: undefined reference to `Pike_interpreter' caudium.o(.text+0x223):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:149: undefined reference to `Pike_interpreter' caudium.o(.text+0x233):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:149: undefined reference to `debug_make_shared_binary_string' caudium.o(.text+0x23b):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:150: undefined reference to `Pike_interpreter' caudium.o(.text+0x255):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:150: undefined reference to `mapping_insert' caudium.o(.text+0x26a):/home/daffy/caudium-1.3.13-20030213-cvs/src/cmods/Caudium /caudium.c:153: undefined reference to `Pike_interpreter' etc, etc..... Maybee, I have missed something. What is the problem with the linker ? What is the procedure to follow to suceed this compilation ? Is the WARNING in relation with what appened next ? Sincerely /Olivier -- Begin Signature Warin Olivier Président de l'association Lille-Wireless "Ce n'est pas parceque les choses sont difficiles que nous n'osons pas, mais c'est parceque nous n'osons pas que les choses sont difficiles" Sénèque -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |