gcc does not compile under ubuntu 10.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-defaults (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
No way to compile almost anything when the source file to compile is stored on a NTFS drive or partition. This bug is new in this version of Ubuntu, in previous versions that problem did not occur. When compiling from the linux partition, where Ubuntu is installed (ext4), no problem at all.
Architecture: amd64
OS: Ubuntu 10.04 LTS
When I was compiling:
$ gcc -Wall -g gestor_paquetes.c -o gestor_paquetes
This was the output:
/usr/bin/ld: final link failed: Operation not supported
collect2: ld returned 1 exit status
More data:
This command line:
$ gcc -Wall -g -c gestor_paquetes.c
Gives this output:
/tmp/ccnw021s.s: Assembler messages:
/tmp/ccnw021s.
/tmp/ccnw021s.
And I am the owner of /tmp folder and the folder where the source code is stored.
What is happening?
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gcc 4:4.4.3-1ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sun May 9 17:33:41 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
LANG=es_ES.utf8
SHELL=/bin/bash
SourcePackage: gcc-defaults
Changed in gcc-defaults (Ubuntu): | |
status: | New → Confirmed |
Changed in gcc-defaults (Ubuntu): | |
status: | Expired → Confirmed |
Happens also on Ubuntu 10.04 LTS i386, installed using Wubi, on Windows 7.
ubuntu@ubuntu:~$ gcc -Wall -g -fPIC -c libhello.c s:269: Fatal error: can't write libhello.o: Operation not supported s:269: Fatal error: can't close libhello.o: Operation not supported
libhello.c:2: warning: return type of ‘main’ is not ‘int’
/tmp/ccxW7LKl.s: Assembler messages:
/tmp/ccxW7LKl.
/tmp/ccxW7LKl.