[Magic-dev] Problem in generating scmos.tech

David Fang fang at csl.cornell.edu
Thu Apr 24 23:31:39 EDT 2008


> The error while building the debianised package is as follows:
>
> --- installing executable to /tmp/buildd/magic-7.5.129/debian/magic/usr/bin
> --- installing runtime files to /tmp/buildd/magic-7.5.129/debian/magic/usr/lib
> i486-linux-gnu-gcc: scmos.tech.in: linker input file unused because
> linking not done
> i486-linux-gnu-gcc: scmos.tech.in: linker input file unused because
> linking not done
> i486-linux-gnu-gcc: scmos.tech.in: linker input file unused because
> linking not done
> i486-linux-gnu-gcc: scmos.tech.in: linker input file unused because
> linking not done
>
> This leads to a blank scmos.tech file generation. But if I build the
> magic package directly from the src tarball without debianising it, it
> works fine. It would be great if someone gives me a clue as to what is
> going wrong here. I will be more than happy to provide any further
> information that is necessary to resolve the issue.

Hi,
 	What I've done is replace the generating command for scmos.tech in 
scmos/Makefile (gcc ...) with "cpp -traditional -P", somehow the old 
options being passed to "gcc ..." were incorrect.  I don't remember if 
"gcc -E ..." (-E means preprocess-only) works, but I didn't see any 
reason to invoke gcc if only the preprocessor was used.  (This predates 
magic 7.1.)

HTH,

David Fang
Computer Systems Laboratory
Electrical & Computer Engineering
Cornell University
http://www.csl.cornell.edu/~fang/
 	-- (2400 baud? Netscape 3.0?? lynx??? No problem!)



More information about the magic-dev mailing list