[Samba] Problem building 3.4.0 from source

David Armstrong
Thu, 09 Jul 2009 19:42:45 -0000

I am attempting to build 3.4.0 from source on my Ubuntu 8.04 box.  I
have gcc installed.  When I run ./configure it returns "C compiler
cannot create executables".



I have been looking through the config.log file and I think I found the
error message.



configure:3304: gcc    conftest.c  >&5

/usr/bin/ld: crt1.o: No such file: No such file or directory

collect2: ld returned 1 exit status

configure:3307: $? = 1

configure:3345: result:

configure: failed program was:

| /* confdefs.h.  */

| #define PACKAGE_NAME "Samba"

| #define PACKAGE_TARNAME "samba"

| #define PACKAGE_VERSION "3"

| #define PACKAGE_STRING "Samba 3"

| #define PACKAGE_BUGREPORT "samba-technical@samba.org"

| #define CONFIG_H_IS_FROM_SAMBA 1

| /* end confdefs.h.  */

|



I checked and there is an "ld" file in /usr/bin.  It is about 430k in
size.





David Armstrong

Database Administrator

MOCA  THE MUSEUM OF CONTEMPORARY ART