DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=35414>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35414 Summary: Build issues on Cygwin/XP and Apache. Product: Apache httpd-1.3 Version: HEAD Platform: Other OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Build AssignedTo: bugs@httpd.apache.org ReportedBy: [EMAIL PROTECTED] I have been trying to compile Apache and PHP on my XP laptop. I have been using the instructions on http://httpd.apache.org/docs/cygwin.html. I have freshly re-installed my cygwin on XP as of 2005-06-17 which should be the latest Cygwin (from Kernel.org). My ld version is "GNU ld version 2.16.91 20050608". I have verified that it understands ' --enable-auto-import ' from the help section. The configure command I used is: LDFLAGS_SHLIB="--enable-auto-import" ./configure --enable-shared=max \ --enable-module=most --with-layout=Cygwin When I attempt to compile apache the make process throws the errors: <=== src/modules gcc -c -I./os/cygwin -I./include -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE `./apa ci` modules.c gcc -c -I./os/cygwin -I./include -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE `./apa ci` buildmark.c dllwrap --enable-auto-import -o libhttpd.dll buildmark.o modules.o modules/stand ard/libstandard.a main/libmain.a ./os/cygwin/libos.a ap/libap.a regex/libregex.a -lcrypt -lgdbm dllwrap: no export definition file provided. Creating one, but that may not be what you want Info: resolving _optarg by linking to __imp__optarg (auto-import) Info: resolving _optarg by linking to __imp__optarg (auto-import) Info: resolving _optarg by linking to __imp__optarg (auto-import) gcc -I./os/cygwin -I./include -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE `./apaci` \ -o libhttpd.ep -DSHARED_CORE_TIESTATIC main/http_main.c \ -L. -lhttpd -lcrypt -lgdbm -lexpat gcc -I./os/cygwin -I./include -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE `./apaci` \ -o httpd -DSHARED_CORE_BOOTSTRAP main/http_main.c \ ap/libap.a -lcrypt -lgdbm -lexpat libhttpd.dll and gcc -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE `../apaci` -o logresolve -L../os/cy gwin -L../ap logresolve.o -lm -lap -los -lcrypt -lgdbm -lexpat gcc -c -I../os/cygwin -I../include -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE `../ apaci` ab.c gcc -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE `../apaci` -o ab -L../os/cygwin -L. ./ap ab.o -lm -lap -los -lcrypt -lgdbm -lexpat Info: resolving _optind by linking to __imp__optind (auto-import) Info: resolving _optarg by linking to __imp__optarg (auto-import) sed <apxs.pl >apxs \ -e '[EMAIL PROTECTED]@%httpd%g' \ -e '[EMAIL PROTECTED]@%gcc%g' \ -e '[EMAIL PROTECTED]@% -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE `../apaci`%g' \ -e '[EMAIL PROTECTED]@%-DSHARED_MODULE%g' \ -e '[EMAIL PROTECTED]@%dllwrap%g' \ -e '[EMAIL PROTECTED]@%--export-all%g' \ -e '[EMAIL PROTECTED]@%%g' && chmod a+x apxs gcc -c -I../os/cygwin -I../include -DCYGWIN -DUSE_HSREGEX -DSHARED_CORE `../ apaci` checkgid.c Subsequent executions of make give these errors: ===> src/modules/standard gcc --shared -o mod_env.dll mod_env.lo ../../libhttpd.dll -lcrypt -lgdbm -lexpat mod_env.lo:mod_env.c:(.text+0x2e0): undefined reference to `_ap_pstrcat' collect2: ld returned 1 exit status make[4]: *** [mod_env.dll] Error 1 make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/home/foo/working/phpstuff/apache_1.3.33/s rc' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/home/foo/working/phpstuff/apache_1.3.33' make: *** [build] Error 2 Using google to search for this problem only gave me some answers from 2002 and 2004 about ld and auto import. No recent information is avalable (or at least indexed). I would appreciate any help in this matter. Thanks! -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]