|
Bugzilla – Full Text Bug Listing |
| Summary: | gcc-4.4 build problem for nsc | ||
|---|---|---|---|
| Product: | nsc | Reporter: | Tom Henderson <tomh> |
| Component: | Linux | Assignee: | Sam Jansen <sam.jansen> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | fw-ns3, hristo.s.asenov |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Tom Henderson
2009-08-11 00:29:41 UTC
does it work when you add #include <inttypes.h> globaliser/handle_global.cc ? (if not, please paste remaining compiler errors, as I do not have access to a fc11 box) (In reply to comment #1) > does it work when you add > #include <inttypes.h> > > globaliser/handle_global.cc ? > > (if not, please paste remaining compiler errors, as I do > not have access to a fc11 box) > Hello, I have the same error. I put an "#include <inttypes.h>" inside globalizer/handle_global.cc and it compiled fine. However, I get an error at the very end when it tries to link it. [ecks@myhost ns-allinone-3.5]$ ./build.py # Build NSC Entering directory `nsc-0.5.0' => python scons.py linux-2.6.18 scons: Reading SConscript files ... Checking target architecure...(cached) x86 scons: done reading SConscript files. scons: Building targets ... gcc " " " " - D _ _ A S S E M B L Y _ _ -Ilinux-2.6.18/include -Ilinux-2.6.18/include/asm/mach-default -Isim -Ilinux-2.6.18/nsc -Ilinux-2.6.18/override -c -o linux-2.6.18/arch/i386/lib/checksum.o linux-2.6.18/arch/i386/lib/checksum.S gcc: : No such file or directory gcc: : No such file or directory gcc: D: No such file or directory gcc: _: No such file or directory gcc: _: No such file or directory gcc: A: No such file or directory gcc: S: No such file or directory gcc: S: No such file or directory gcc: E: No such file or directory gcc: M: No such file or directory gcc: B: No such file or directory gcc: L: No such file or directory gcc: Y: No such file or directory gcc: _: No such file or directory gcc: _: No such file or directory gcc: cannot specify -o with -c or -S with multiple files scons: *** [linux-2.6.18/arch/i386/lib/checksum.o] Error 1 scons: building terminated because of errors. # Build NSC: failure (ignoring NSC) Fixed now, thanks to Tom Henderson for providing a test machine. You'll need this patch: https://secure.wand.net.nz/mercurial/nsc/rev/9960b330705d Also, if you want to use free/openbsd stacks, you'll want https://secure.wand.net.nz/mercurial/nsc/rev/7a7accc78e3e if you use gcc 4.4+. Furthermore, test/net.cc forgot to include <cstdio>. With those changes nsc should build, link and work on FC11. Please re-open if you encounter more issues, thanks a lot! |