/tmp write failed, filesystem is full

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Mar 27 15:27:43 UTC 2007


David J Brooks <daeg at houston.rr.com> writes:

> On Tuesday 27 March 2007 09:17:07 am Michele Endrici wrote:
>> Hi, can anyone help me find a solution to a make problem?? I'm trying
>> to build a kernel for FreeBSD 6.2 with a new driver but the make
>> fails. I tryed in both the old and new school ways but it didn't work
>> anyway. Here is the error i get:
>>
>> /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zlib created
>> for /usr/src/sys/modules/zlib
>>
>> --------------------------------------------------------------
>>
>> >>> stage 2.3: build tools
>>
>> --------------------------------------------------------------
>> cd /usr/obj/usr/src/sys/GENERIC;
>> MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm  make -DNO_CPU_CFLAGS -f
>> /usr/src/sys/dev/aic7xxx/aicasm/Makefile
>> Warning: Object directory not changed from original
>> /usr/obj/usr/src/sys/GENERIC yacc -b aicasm_gram  -d -o aicasm_gram.c
>> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y
>>
>> /tmp: write failed, filesystem is full
>> yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c
>> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y
>> cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I.
>> -I/usr/src/sys/dev/aic7xxx/aicasm  -c
>> /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c
>> cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I.
>> -I/usr/src/sys/dev/aic7xxx/aicasm  -c
>> /usr/src/sys/dev/aic7xxx/aicasm/aicasm_symbol.c
>> cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I.
>> -I/usr/src/sys/dev/aic7xxx/aicasm  -c aicasm_gram.c
>> aicasm_gram.c: In function `yyparse':
>> aicasm_gram.c:2146: error: `initialize_symb' undeclared (first use in
>> this function)
>> aicasm_gram.c:2146: error: (Each undeclared identifier is reported only
>> once aicasm_gram.c:2146: error: for each function it appears in.)
>> aicasm_gram.c:2146: error: syntax error before '}' token
>> aicasm_gram.c:2201: error: syntax error at end of input
>> *** Error code 1
>>
>> Stop in /usr/obj/usr/src/sys/GENERIC.
>> *** Error code 1
>>
>> Stop in /usr/src.
>> *** Error code 1
>>
>> Stop in /usr/src.
>>
>>
>>
>> First of all it tells me /tmp filesystem is full. I run "df -h" and
>> it's quite full.
>> Hence, I've created a symbolic link to another folder to gain more space
>>
>> ln -s /tmp /var/tmp_fake
>>
>> but i still get the same error. Any suggestion??
>>
>> Michele
>
> Perhaps /var is getting full also? Rather that soft-linking, I think I'd first 
> try to flush out the /tmp filesystem.

Not to mention that the command as shown would make the link in the
wrong direction, leaving the builds still using the "real" /tmp.


More information about the freebsd-questions mailing list