Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.
From: David Chappell <David.Chappell@trincoll.edu> Date: Thu, 31 Jul 2003 13:54:10 -0400 Subject: PPR: Re: Errors compiling ppr-1.51 > Date: Wed, 30 Jul 2003 18:31:17 -0400 (EDT) > Subject: Errors compiling ppr-1.51 > From: "Pete Geenhuizen" <pgeenhuizen@pobox.homeunix.net> > To: ppr-list@mail.cc.trincoll.edu > > Didn't have any problem compiling 1.50, unfortunately I can't say the same > for 1.51. > > This is Solaris 9 and gcc-3.0.2, any clues/suggestions on how to solve this? > > make[1]: Entering directory `/export/data/xfer/ppr-1.51/libscript' > gcc -o ppr_conf_query ppr_conf_query.o ../libppr.a ../libgu.a > Undefined first referenced > symbol in file > asprintf ../libgu.a(ini_section.o) > ld: fatal: Symbol referencing errors. No output written to ppr_conf_query > collect2: ld returned 1 exit status > make[1]: *** [ppr_conf_query] Error 1 > make[1]: Leaving directory `/export/data/xfer/ppr-1.51/libscript' > make: *** [all] Error 1 > > Thx > Pete Oops! It looks like maybe I should have done a beta release. The problem is that not all systems have asprintf() and vasprintf(). Linux does, so I didn't notice the problem. Because not all systems have these functions, PPR comes with versions of these functions, with names begining with gu_. If you change asprintf to gu_asprintf and vasprintf to gu_vasprintf, it should fix the problem. ================================================================ David Chappell David.Chappell@Mail.Trincoll.Edu Computing Center Postmaster@Mail.Trincoll.Edu Trinity College (860) 297-2114 Hartford, Connecticut 06106 U.S.A.