Opened 15 years ago
Closed 15 years ago
#60 closed helpdesk (fixed)
First example fails
Reported by: | Owned by: | developers | |
---|---|---|---|
Priority: | N/A | Component: | soclib-cc |
Keywords: | error, stdarg.h, caba-vgmn-multi_timer-mipsel | Cc: |
Description
Hi.
I have the following error when I try to compile the first example caba-vgmn-multi_timer-mipsel :
make[1]: Entering directory `/home/gustavo/soclib/soclib/soclib/platform/topcells/caba-vgmn-multi_timer-mipsel/soft' /home/gustavo/soclib/soclib/soclib/platform/topcells/soft.mk:82: deps.mk: No such file or directory mipsel-unknown-elf-gcc -Wall -O2 -I. -mips2 -mno-branch-likely -gstabs+ -DSOCLIB_MIPS_R3000 -EL -nostdinc -ggdb -I/home/gustavo/soclib/soclib/soclib/platform/topcells/common -I/home/gustavo/soclib/soclib/soclib/module/internal_component/vci_timer/include -I/home/gustavo/soclib/soclib/soclib/module/connectivity_component/vci_multi_tty/include -I/home/gustavo/soclib/soclib/soclib/lib/include -M -MT stdlib.o -MF stdlib.deps /home/gustavo/soclib/soclib/soclib/platform/topcells/common/stdlib.c /home/gustavo/soclib/soclib/soclib/platform/topcells/common/stdlib.c:29:20: error: stdarg.h: No such file or directory make[1]: * [stdlib.deps] Error 1 make[1]: Leaving directory `/home/gustavo/soclib/soclib/soclib/platform/topcells/caba-vgmn-multi_timer-mipsel/soft' make: * [soft/bin.soft] Error 2
I have installed the environment for SocLib following the Installation Notes page. I'm using Ubuntu 9.10 with gcc version 4.4.1. I have installed SystemC 2.2.0, and my cross-compilers are based on binutils-2.20, gcc-4.4.2, and gdb-7.0. I also have installed Python2.5 and libsdl1.2-dev for SDL.
I would appreciate any help to solve this error.
Thanks,
Gustavo.
Change History (2)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Component: | platforms → soclib-cc |
---|---|
Priority: | major → N/A |
Resolution: | → fixed |
Status: | new → closed |
Type: | defect → helpdesk |
Please remove the "-nostdinc" part of ~/.soclib/soft_compilers.conf
in [Installation Notes#Cross-compilationtools], the "-nostdinc" part is only valid if you want to use a mips cross-compiler configured for Linux (GNU+Glibc), which seems not to be the case with your mipsel-unknown-elf-gcc