Problems compiling mp4h

Françoise König-Jost <[email protected]> Fri, 28 Jan 2005 11:12:04 +0100
Newsgroups gmane.comp.web.wml
Message-ID <[email protected]>
Hi,

I'm trying to install wml 2.0.9 on a Sun Solaris 9 system and I get
in trouble when compiling mp4h :

---------------------------
Making all in modules
Making all in system
source='sh.c' object='sh.lo' libtool=yes depfile='.deps/sh.Plo' tmpdepfile='.deps/sh.TPlo' depmode=gcc3 /bin/bash ../../depcomp /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../lib  -I../../src -I../../intl
    -g -O2 -c -o sh.lo ./sh.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib -I../../src -I../../intl -g -O2 -c sh.c -MT sh.lo -MD -MP -MF .de
ps/sh.TPlo  -fPIC -DPIC -o sh.lo
/bin/bash ../../libtool --mode=link gcc  -g -O2   -no-undefined -module -avoid-version -rpath /FKtest/wml-2.0.9/l
ib/mp4h/1.3.0/system -export-dynamic -o sh.la -rpath /FKtest/wml-2.0.9/lib/mp4h/1.3.0/system -module sh.lo  -ldl
mkdir .libs
rm -fr .libs/sh.la .libs/sh.* .libs/sh.*
(cd . && ln -s sh.lo sh.o)
/usr/ccs/bin/ld -G -z defs -h sh.so -o .libs/sh.so  sh.lo  -ldl -lc 
Undefined                       first referenced
 symbol                             in file
error                               sh.lo
xfree                               sh.lo
module_load                         sh.lo
current_file                        sh.lo
current_line                        sh.lo
array_current_file                  sh.lo
array_current_line                  sh.lo
expansion_level                     sh.lo
read_file_verbatim                  sh.lo
predefined_attribute                sh.lo
remove_special_chars                sh.lo
push_file                           sh.lo
warning_status                      sh.lo
xstrdup                             sh.lo
ld: fatal: Symbol referencing errors. No output written to .libs/sh.so
*** Error code 1
make: Fatal error: Command failed for target all-recursive'
Current working directory /FKtest/wml-2.0.9-src/wml_backend/p2_mp4h/modules
*** Error code 1
make: Fatal error: Command failed for target all'
Current working directory /FKtest/wml-2.0.9-src/wml_backend/p2_mp4h
*** Error code 1
make: Fatal error: Command failed for target all'
-----------------------------------------

I have tried compiling with either gcc (rel 3.3.2) or a Sun compiler
(Sun ONE Studio 8) and linking with either /usr/ccs/bin/ld or
/usr/ucb/ld, it does not make any difference. 

Could someone help, please ?

Thanks in advance,

Francoise Koenig

-- 
Françoise König
ESRF - Computing Services - Web Group
http://www.esrf.fr/
_____________________________________________________________________
Website META Language (WML)                         http://thewml.org
User Support Mailing List                        [email protected]
Automated List Manager                            [email protected]