Re: Can't compile fsviewer 0.2.3 source deb on PowerPC
On Sun, Feb 13, 2000 at 03:23:15PM -0800, Renaud Dreyer wrote:
> I noticed that the version of fsviewer (0.2.2) available for
> PowerPC was fairly old, 0.2.3 has been available for more than 6
> months now. So I decided to compile the source deb myself by
> unfortunately I got the following error at the end:
>
> gcc -g -O2 -I/usr/X11R6/include -I/include -I/usr/X11R6/include -I/usr/X11R6/include -L/usr/X11R6/lib -L/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -o fsviewer FSViewer.o files.o FSFileBrowser.o list.o misc.o prop.o timestampWidget.o attribsInspector.o editInspector.o exeInspector.o extnInspector.o iconInspector.o viewInspector.o FSBrowser.o FSPanel.o FSUtils.o FSMenu.o FSFileView.o FSInspector.o magic.o DnD.o FSPathView.o xmodifier.o FSFinder.o FSFileButton.o FSMCList.o FSPrefs.o -Lregexp -lregx -lnsl -lPropList -lWINGs -lWMaker -lXmu -lwraster -ltiff -lXpm -lpng -lz -ljpeg -lungif -lXext -lX11 -lm
> FSUtils.o: In function `FSParseExecString':
> /home/rdreyer/fsviewer-0.2.3/src/FSUtils.c:489: undefined reference to `__va_arg_type_violation'
> /home/rdreyer/fsviewer-0.2.3/src/FSUtils.c:489: relocation truncated to fit: R_PPC_REL24 __va_arg_type_violation
> collect2: ld returned 1 exit status
> make[4]: *** [fsviewer] Error 1
> make[4]: Leaving directory `/home/rdreyer/fsviewer-0.2.3/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/rdreyer/fsviewer-0.2.3/src'
> make[2]: *** [all-recursive-am] Error 2
> make[2]: Leaving directory `/home/rdreyer/fsviewer-0.2.3/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rdreyer/fsviewer-0.2.3'
> make: *** [stamp-build] Error 2
> Build command 'cd fsviewer-0.2.3 && dpkg-buildpackage -b -uc' failed.
> E: Child process failed
>
>
> I remember reading the gcc 2.95 had problems with
> va_arg_type_violation before. Can I assume that the autobuilder
> choked on the same error, and that this is why we only have the old
> version of fsviewer? Any way to get around this? I'm running:
This means that fsviewer is calling va_arg on an unpromoted type
(usually short or char). Search the list archives for more
information; send a patch to the maintainer, please!
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| SCS Class of 2002 |
| Debian GNU/Linux Developer __ Carnegie Mellon University |
| dan@debian.org | | dmj+@andrew.cmu.edu |
\--------------------------------/ \--------------------------------/
Reply to: