Re: [Php-tuxedo-development] Re: Re: Re: Hi about php-tuxedo in sol 8 (fwd)
Status: Pre-Alpha
Brought to you by:
cdog1977
From: Brian F. <bf...@vi...> - 2002-03-29 15:42:08
|
Asong, One additional thought... Have you checked the ORDER of these libraries in the config.m4? Do they exactly match the buildclient output. Even if a duplicate lib exists, it must be duplicated in config.m4 (don't ask me why cuz I don't know, but many times its needed). Brian On Fri, 29 Mar 2002, Brian Foddy wrote: > Does anyone have any other ideas about this link problem. > Brian Douglas... Ever seen these entrypoints? > It must be something unique to the Intel Solaris Tuxedo libraries. > I've not seen these on Solaris Sparc or Linux. And he has gotten > it working on Linux. > > Also, I did a Google search on these entry points, found no hits. > I don't have Tuxedo for Solaris Intel, any my machine is down for > upgrades for a couple weeks anyway. I'm running out of ideas . > Other than just start adding addition Tux libs one-by-one and hoping > to find it. > > Brian > > ---------- Forwarded message ---------- > Date: Fri, 29 Mar 2002 13:33:0 +0800 > From: as...@ma... <as...@ma...> > To: Brian Foddy <bf...@vi...> > Subject: Re: Re: Re: Hi about php-tuxedo in sol 8 > > > Hi Brian: > Thank u very much. > > my buildclient 's line is cc -I$TUXDIR/include -o a.out -L${TUXDIR}/lib servicetest.c -ltux -lbuft -ltux2 -lfml -lfml32 -lgp -lnsl -lsocket > and I added "nsl" in TUXLIBS and ADD_PHP_LIBS. > > > Still the problem. > ps:I have installed php-tuxedo successfully in Linux platform. > > ************************************************************************************* > -o httpd buildmark.o modules.o modules/php4/libphp4.a modules/extra/libextra.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a lib/expat-lite/libexpat.a -R/usr/ucblib -R/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.3 -R/u01/app/oracle/product/8.1.6/lib -R/home/tuxedo/lib -L/usr/ucblib -L/usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.3 -L/u01/app/oracle/product/8.1.6/lib -L/home/tuxedo/lib -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4 -lpam -ldl -lfml32 -lfml -lgp -lnws -lnwi -lbuft -lwsc -lm -lthread -laio -lelf -ldl -lgen -lnsl -lsocket -lm -lthread -laio -lelf -ldl -lgen -lnsl -lsocket -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc -lclntsh -lclntsh -lsocket -lnsl > Undefined first referenced > symbol in file > tmnwpoll /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwclose /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwconnect /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwrelease /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwsnd /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwopen /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwgetbuf /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwinitnet /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwhold /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmaddr_inet2bin /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwfreebuf /home/tuxedo/lib/libwsc.a(libwsc.so.60) > _tmtypeswaddr /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwcntl /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwsetsig /home/tuxedo/lib/libwsc.a(libwsc.so.60) > tmnwrcv /home/tuxedo/lib/libwsc.a(libwsc.so.60) > ld: fatal: Symbol referencing errors. No output written to httpd > collect2: ld returned 1 exit status > make[2]: *** [target_static] Error 1 > > ************************************************************************************ > > > > Best Regards > > > > >Unfortunately, my main development system is down for upgrades, but > >I will explain what you need to try... > > > >As I said before the config.m4 frequently needs changing from > >version to version (of Tuxedo/platform). > > > >Try this... > > > >Take your C program that compiles/builds fine. I assume > >you are using buildclient to build it. Run the same > >command line with -v (buildclient -v ...). > > > >The output it produces will include the -l(libraries) that > >are needed for your platform. Copy these lines > >into the TUXLIBS line on config.m4, and if any libs > >are new add them to the ADD_PHP_LIBS lines following the > >same format that is there. > > > >Rebuild everything from scratch (rm config.cache, buildconf, > >config, make) and see if that doesn't help, or at least > >reduce the link errors. > > > >I know it builds find on normal Solaris 2.8 and 6.5, > >Intel Solaris may have a few different libraries it needs. > > > >The fact that it can resolve most of the basic entry points > >tells me you've made a lot of progress. > > > >Sorry its such a pain to link, I do hope to improve > >this but its not easy and my machine is down right now. > > > >Write back if you have more problems. > > > >Brian > > > > > >On Wed, 27 Mar 2002 as...@ma... wrote: > > > >> Hi Brian: > >> I have build a c program in my server.and it works fine. > >> but again,when compile php-tuxedo. > >> I encounter such a error,looks different from the last onle. > >> > >> > >> > >> *********************************************************************** > >> Undefined first referenced > >> symbol in file > >> tmnwpoll /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwclose /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwconnect /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwrelease /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwsnd /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwopen /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwgetbuf /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwinitnet /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwhold /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmaddr_inet2bin /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwfreebuf /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> _tmtypeswaddr /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwcntl /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwsetsig /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> tmnwrcv /home/tuxedo/lib/libwsc.a(libwsc.so.60) > >> ld: fatal: Symbol referencing errors. No output written to httpd > >> ********************************************************************** > >> > >> > >> I am using the last config.m4.php-4.1.2 + apache 1.3.24 + solaris8(intel) + tuxedo6.5 > >> > >> Could u give me some advice? > >> > >> > >> Best Regards > >> > >> > >> Frank > >> > >> > >> > >> ÔÚ 2002-03-20 00:17:00 > >> >Looks like the build process can't find ANY of the > >> >tuxedo libraries. All these calls are the basic Tuxedo > >> >API calls called from the program. > >> > > >> >One of the items needing work is the auto config > >> >(buildconf) for this project. Tuxedo changes the linking > >> >with each release, so its impossible to effectively hardcode. > >> > > >> >You can try and grab the latest config.m4 file in the CVS tree, > >> >I know it works properly on Solaris Sparc 2.8 and Tux 6.5 as > >> >that is one of the test combos. > >> > > >> >However, because you have missed sooo many basic entry points, > >> >you really have something more fundamental wrong with your build > >> >and link environment. Recheck all your lib paths and such. > >> >Try to build a example standard C tux client to make sure > >> >everything is working. > >> > > >> >Brian > >> > > >> > > >> > > >> >On Wed, 20 Mar 2002 13:27:40 +0800, as...@ma... wrote: > >> > > >> >>Hi Bfoddy: > >> >>Now I am installing php-tuxedo 0.41(or 0.3.5) in my Solaris 8 (intel platform) with tuxedo 6.5, php4.1.1 and > >> >apache-1.3.20. > >> >>but when compling the apache,I encounter such error: > >> >> > >> >> > >> >>*****************BEGAIN********************************* > >> >>Undefined first referenced > >> >> symbol in file > >> >>Fchksum modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Ffprint32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fget modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fdel32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fcpy32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>tpclose modules/php4/libphp4.a(php_tuxedo.o) > >> >>tpcommit modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fchg modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fnum modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fldid32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fldtype modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>tx_close modules/php4/libphp4.a(php_tuxedo.o) > >> >>Funused modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Ftype modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fused32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Funindex32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Findex32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>tpfree modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fcmp modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fname32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fldno32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Flen32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fmkfldid32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Findex modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Ffind modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fnmid_unload32 modules/php4/libphp4.a(php_tuxedo.o) > >> >>Ferror32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fldid modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>tpalloc modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fneeded modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fcpy modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fdelall32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Foccur modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fmove modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fidxused32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fdel modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fldno modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>tuxreadenv modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fsizeof32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Frstrindex32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Flen modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Ferror modules/php4/libphp4.a(php_tuxedo.o) > >> >>tpbegin modules/php4/libphp4.a(php_tuxedo.o) > >> >>tpinit modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fidxused modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fldtype32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fnext32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fused modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>tuxgetenv modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fojoin modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fnmid_unload modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fconcat modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fielded modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Ftype32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Foccur32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fupdate32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>tpabort modules/php4/libphp4.a(php_tuxedo.o) > >> >>tprealloc modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fcmp32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fconcat32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fmkfldid modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fname modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fjoin32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fielded32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fupdate modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fsizeof modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Funused32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>tuxputenv modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fneeded32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fchksum32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fdelall modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fnum32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Funindex modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>tpcall modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fmove32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Ffind32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fojoin32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fnext modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fpres32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fjoin modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Frstrindex modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>tpterm modules/php4/libphp4.a(php_tuxedo.o) > >> >>tpstrerror modules/php4/libphp4.a(php_tuxedo.o) > >> >>tperrno modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fpres modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>tpacall modules/php4/libphp4.a(php_tuxedo.o) > >> >>Fget32 modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fstrerror32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Ffprint modules/php4/libphp4.a(php_tuxedo_fml_api.o) > >> >>Fstrerror modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>Fchg32 modules/php4/libphp4.a(php_tuxedo_arrayfml.o) > >> >>tpgetrply modules/php4/libphp4.a(php_tuxedo.o) > >> >>ld: fatal: Symbol referencing errors. No output written to httpd > >> >>collect2: ld returned 1 exit status > >> >>make[2]: *** [target_static] Error 1 > >> >>make[2]: Leaving directory `/home/kai/apache_1.3.20/src' > >> >>make[1]: *** [build-std] Error 2 > >> >>make[1]: Leaving directory `/home/kai/apache_1.3.20' > >> >>make: *** [build] Error 2 > >> >> > >> >>**********************************END******************************************************* > >> >> > >> >> > >> >>I need your help very vexedly. > >> >> > >> >> > >> >>Best Reards > >> >> > >> >> > >> >> > >> >>Frank > >> >> > >> >> > >> > >> > > Ö > Àñ£¡ > > asong > as...@ma... > > > > _______________________________________________ > Php-tuxedo-development mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/php-tuxedo-development > > |