You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jan Rasche <xc...@web.de> on 2004/03/09 20:19:23 UTC

[users@httpd] Apache 2 will not compile on Solaris 9 Sparc 12/03

Hi All,

I have and fresh installed Solaris 9 Sparc 12/03 with gcc, autoconf and 
libtool from http://www.blastwave.org/packages.php I can not compile any 
Apache 2 banch I can
get successfully. Despite the special ./compile comands used I end up with
unresolved symbols:

make[1]: Leaving directory `/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules'
Making all in support
make[1]: Entering directory `/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
make[2]: Entering directory `/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/libtool --silent
--mode=compile gcc  -g -O2 -pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER  
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/include
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/include
-I/usr/local/include -I. -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/os/unix
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/server/mpm/experimental/leader
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/http
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/filters
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/proxy
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/include
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/generators
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/dav/main -prefer-non-pic
-static -c htpasswd.c && touch htpasswd.lo
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/libtool --silent --mode=link
gcc  -g -O2 -pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
-DAP_HAVE_DESIGNATED_INITIALIZER  
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/include
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/include
-I/usr/local/include -I. -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/os/unix
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/server/mpm/experimental/leader
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/http
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/filters
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/proxy
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/include
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/generators
-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/dav/main -export-dynamic
-L/usr/local/lib   -o htpasswd  htpasswd.lo   
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/pcre/libpcre.la
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/libaprutil-0.la -lexpat
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/libapr-0.la -lsendfile -lrt
-lm -lsocket -lnsl -lresolv -lpthread -ldl
Undefined                       first referenced
 symbol                             in file
libiconv_close                     
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/.libs/libaprutil-0.so
libiconv                           
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/.libs/libaprutil-0.so
libiconv_open                      
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/.libs/libaprutil-0.so
ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd
collect2: ld returned 1 exit status
make[2]: *** [htpasswd] Error 1
make[2]: Leaving directory `/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
make: *** [all-recursive] Error 1

Thank you in advance!


Regards, Jan


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 will not compile on Solaris 9 Sparc 12/03

Posted by Jan Rasche <xc...@web.de>.

Jonathan Mangin wrote:

>----- Original Message ----- 
>From: "Jan Rasche" <xc...@web.de>
>To: <us...@httpd.apache.org>
>Sent: Tuesday, March 09, 2004 2:19 PM
>Subject: [users@httpd] Apache 2 will not compile on Solaris 9 Sparc 12/03
>
>
>        
>
>>Hi All,
>>
>>I have and fresh installed Solaris 9 Sparc 12/03 with gcc, autoconf and
>>libtool from http://www.blastwave.org/packages.php I can not compile any
>>Apache 2 banch I can
>>get successfully. Despite the special ./compile comands used I end up with
>>unresolved symbols:
>>
>>make[1]: Leaving directory
>>          
>>
>`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules'
>        
>
>>Making all in support
>>make[1]: Entering directory
>>          
>>
>`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
>        
>
>>make[2]: Entering directory
>>          
>>
>`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
>        
>
>>/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/libtool --silent
>>--mode=compile
>>          
>>
>gcc  -g -O2 -pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS
>        
>
>>-D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/include
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/include
>>-I/usr/local/include -I. -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/os/unix
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/server/mpm/experimental/leader
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/http
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/filters
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/proxy
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/include
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/generators
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/dav/main -prefer-non-pic
>>-static -c htpasswd.c && touch htpasswd.lo
>>
>>          
>>
>/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/libtool --silent --mode=li
>nk
>        
>
>gcc  -g -O2 -pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRAN
>T
>        
>
>>-DAP_HAVE_DESIGNATED_INITIALIZER
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/include
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/include
>>-I/usr/local/include -I. -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/os/unix
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/server/mpm/experimental/leader
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/http
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/filters
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/proxy
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/include
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/generators
>>-I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/dav/main -export-dynamic
>>-L/usr/local/lib   -o htpasswd  htpasswd.lo
>>/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/pcre/libpcre.la
>>
>>          
>>
>/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/libaprutil-0.la -lexp
>at
>        
>
>/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/libapr-0.la -lsendfile -lr
>t
>        
>
>>-lm -lsocket -lnsl -lresolv -lpthread -ldl
>>Undefined                       first referenced
>> symbol                             in file
>>libiconv_close
>>
>>          
>>
>/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/.libs/libaprutil-0.so
>        
>
>>libiconv
>>
>>          
>>
>/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/.libs/libaprutil-0.so
>        
>
>>libiconv_open
>>
>>          
>>
>/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/.libs/libaprutil-0.so
>        
>
>>ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd
>>collect2: ld returned 1 exit status
>>make[2]: *** [htpasswd] Error 1
>>make[2]: Leaving directory
>>          
>>
>`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
>        
>
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory
>>          
>>
>`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
>        
>
>>make: *** [all-recursive] Error 1
>>
>>Thank you in advance!
>>
>>
>>Regards, Jan
>>
>>
>>          
>>
>Check config.log for _fatal_ errors and compare with configure itself.
>On Solaris 8, awk reported syntax errors on build/<can't remember>.awk
>so I installed gawk.
>-JM
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>        
>
Dear Jonathan,

Thank you very much for coming back to my nasty issue!
I solved it with some awesome and graceful help of Joe Orton (Redhat) 
due opening an Apache 2 bug. Please see his description:

/------- Additional Comments From Joe Orton <ma...@redhat.com> 
2004-03-09 23:50 -------/

If you temporarily rename iconv.h in /usr/local/include and "make clean && make"
does the issue go away?



/------- Additional Comments From Jan Rasche 
<ma...@xcommunycationz.com> 2004-03-10 00:48 -------/

Dear Joe,

Wow - I bow before you cause you are a legend!

It worked smooth without the iconv.h header in /usr/local/include.
What is wrong going if it it present?

Thanks and may the force be with you!

Regards, Jan
      



/------- Additional Comments From Joe Orton <ma...@redhat.com> 
2004-03-10 07:41 -------/

GNU libiconv.h does "#define iconv libiconv_open"; apr-util thinks it is using
the libc iconv() but actually it ends up using libiconv but without linking
against -liconv.

If -I/usr/local/include is getting picked up gratuitously then this is possible
to fix; if -I/usr/local/include is getting picked up for some good reason at
some point through the configure script, there's no chance of fixing this really.

...


Reference: http://issues.apache.org/bugzilla/show_bug.cgi?id=27535

Thank you very much!

Regards, Jan

home:   http://xcommunycationz.com/

"A good programming language should have features that make the kind of 
people who use the phrase `software engineering' shake their heads 
disapprovingly." --
-- Paul Graham
http://www.debian.org/ports/hurd/index
http://www.mozilla.org/    http://www.fsf.org/
   http://www.gnu.org/



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 2 will not compile on Solaris 9 Sparc 12/03

Posted by Jonathan Mangin <jo...@comcast.net>.
----- Original Message ----- 
From: "Jan Rasche" <xc...@web.de>
To: <us...@httpd.apache.org>
Sent: Tuesday, March 09, 2004 2:19 PM
Subject: [users@httpd] Apache 2 will not compile on Solaris 9 Sparc 12/03


> Hi All,
>
> I have and fresh installed Solaris 9 Sparc 12/03 with gcc, autoconf and
> libtool from http://www.blastwave.org/packages.php I can not compile any
> Apache 2 banch I can
> get successfully. Despite the special ./compile comands used I end up with
> unresolved symbols:
>
> make[1]: Leaving directory
`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules'
> Making all in support
> make[1]: Entering directory
`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
> make[2]: Entering directory
`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
> /usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/libtool --silent
> --mode=compile
gcc  -g -O2 -pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS
> -D_REENTRANT -DAP_HAVE_DESIGNATED_INITIALIZER
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/include
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/include
> -I/usr/local/include -I. -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/os/unix
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/server/mpm/experimental/leader
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/http
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/filters
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/proxy
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/include
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/generators
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/dav/main -prefer-non-pic
> -static -c htpasswd.c && touch htpasswd.lo
>
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/libtool --silent --mode=li
nk
>
gcc  -g -O2 -pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRAN
T
> -DAP_HAVE_DESIGNATED_INITIALIZER
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/include
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/include
> -I/usr/local/include -I. -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/os/unix
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/server/mpm/experimental/leader
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/http
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/filters
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/proxy
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/include
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/generators
> -I/usr/local/httpd-2.0-APACHE_2_0_BRANCH/modules/dav/main -export-dynamic
> -L/usr/local/lib   -o htpasswd  htpasswd.lo
> /usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/pcre/libpcre.la
>
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/libaprutil-0.la -lexp
at
>
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr/libapr-0.la -lsendfile -lr
t
> -lm -lsocket -lnsl -lresolv -lpthread -ldl
> Undefined                       first referenced
>  symbol                             in file
> libiconv_close
>
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/.libs/libaprutil-0.so
> libiconv
>
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/.libs/libaprutil-0.so
> libiconv_open
>
/usr/local/httpd-2.0-APACHE_2_0_BRANCH/srclib/apr-util/.libs/libaprutil-0.so
> ld: fatal: Symbol referencing errors. No output written to .libs/htpasswd
> collect2: ld returned 1 exit status
> make[2]: *** [htpasswd] Error 1
> make[2]: Leaving directory
`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
`/usr/local/httpd-2.0-APACHE_2_0_BRANCH/support'
> make: *** [all-recursive] Error 1
>
> Thank you in advance!
>
>
> Regards, Jan
>
>
Check config.log for _fatal_ errors and compare with configure itself.
On Solaris 8, awk reported syntax errors on build/<can't remember>.awk
so I installed gawk.
-JM


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org