# SANE-1.0.5/Linux-2.4.6/PowerPC

From: Mehul N. Sanghvi (mehul@kirsun.ne.mediaone.net)
Date: Mon Jul 16 2001 - 20:23:52 PDT

- Next message: stef: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"
  - Previous message: Fred Willingham: "Re: Need help building a new SANE driver (UMAX 1220U)"
  - Next in thread: stef: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"
  - Reply: stef: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"
  - Reply: Henning Meier-Geinitz: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  'allo,

  I just downloaded sane-backends-1.0.5 this afternoon and have run into
  a compilation problem with umax_pp. Here is the stuff from the make:

  gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 umax_pp.c
  gcc -o umax_pp umax_pp.o ../backend/umax_pp_low.o ../sanei/libsanei.a ../lib/liblib.a -lnsl -lm -ljpeg
  ../backend/umax_pp_low.o: In function `Outb':
  /usr/local/sources/BUILD/sane-backends-1.0.5/backend/umax_pp_low.c:658: undefined reference to `outb'
  /usr/local/sources/BUILD/sane-backends-1.0.5/backend/umax_pp_low.c:658: relocation truncated to fit: R_PPC_REL24 outb
  ../backend/umax_pp_low.o: In function `Inb':
  /usr/local/sources/BUILD/sane-backends-1.0.5/backend/umax_pp_low.c:675: undefined reference to `inb'
  /usr/local/sources/BUILD/sane-backends-1.0.5/backend/umax_pp_low.c:675: relocation truncated to fit: R_PPC_REL24 inb
  collect2: ld returned 1 exit status
  make[1]: *** [umax_pp] Error 1
  make[1]: Leaving directory `/usr/local/sources/BUILD/sane-backends-1.0.5/tools'
  make: *** [all-recursive] Error 1

  I am running Linux 2.4.6-pre3 on a PowerPC/nuBus based Macintosh. My toolchain
  is the following:

  make 3.78.1
  gcc 2.95.3
  ld 2.10.91

  any clues/ideas/pointers ?

  thanks in advance,

  mehul

      --
      Mehul N. Sanghvi                  email: mehul@kirsun.ne.mediaone.net
      Superior software is always free!   URL: http://kirsun.ne.mediaone.net/~mehul
      --
      Source code, list archive, and docs: http://www.mostang.com/sane/
      To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

  - Next message: stef: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"
  - Previous message: Fred Willingham: "Re: Need help building a new SANE driver (UMAX 1220U)"
  - Next in thread: stef: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"
  - Reply: stef: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"
  - Reply: Henning Meier-Geinitz: "Re: SANE-1.0.5/Linux-2.4.6/PowerPC"
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Mon Jul 16 2001 - 20:08:59 PDT