I don't think any libraries are being built, just .i and .o files.
Any other ideas?
Thanks 8) Mike
From: "Raymond Jennings" <raymondjennings32@xxxxxxxxxxx> Reply-To: xfree86@xxxxxxxxxxx To: xfree86@xxxxxxxxxxx Subject: Re: [XFree86] 4.3.0 mesa build errors Date: Fri, 31 Oct 2003 21:55:36 +0000
You should double-check and make sure you have all the files. It sounds like a main.c or main.cpp is missing. The main function is where execution begins after some minor setup work. If you're building a library, there isn't usually a main function (I could be wrong).
If this IS a library, you shouldn't be including the crt.o "library." That module is only for executables, not libraries (I could be wrong again).
From: "Michael Balzanya" <balzanya300@xxxxxxxxxxx> Reply-To: xfree86@xxxxxxxxxxx To: xfree86@xxxxxxxxxxx Subject: [XFree86] 4.3.0 mesa build errors Date: Fri, 31 Oct 2003 06:14:25 -0500
Hello! I am trying to build XFree 4.3.0, but keep getting the following compile/link errors while building mesa:
Error 1: --------
make[6]: Entering directory `build/lib/GL/mesa/src/X86'
...snip...
/usr/bin/g++ -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D__ELF__ -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DUSE_X86_ASM -DUSE_MMX_ASM -I../../../../../exports/include -I../../../../../include/extensions -I../../../../../extras/Mesa/src -I../../../../../extras/Mesa/src/X86 -I../../../include common_x86_asm.S | \
grep -v '^\#' > common_x86_asm.i
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[6]: *** [common_x86_asm.o] Error 1
I am getting an error similar to this for all .S files in build/lib/GL/mesa/src/X86 and have no idea what's causing it or how to fix it. Any ideas?
Error 2: --------
make[5]: Entering directory `build/lib/GL/mesa/src/OSmesa'
...snip...
gcc -m32 -c -o ../../../../../lib/GL/mesa/src/X86/common_x86_asm.o ../../../../../lib/GL/mesa/src/X86/common_x86_asm.S
In file included from ../../../../../lib/GL/mesa/src/X86/common_x86_asm.S:43:
../../../../../lib/GL/mesa/src/X86/matypes.h:9:22: assyntax.h: No such file or directory
I am getting this type of error whenever one of the .S files from the first error includes the following headers:
assyntax.h common_x86_features.h clip_args.h xform_args.h
All of these are located in build/extras/Mesa/src/X86, however I think the .S files assume they will be in build/lib/GL/mesa/src/X86. I'm guessing this is a side effect of error 1, but am not positive.
I am not a ld wizard so I am quite lost. Any help would be greatly appreciated 8)
Thanks! Mike
_________________________________________________________________
Want to check if your PC is virus-infected? Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86
_________________________________________________________________
Fretting that your Hotmail account may expire because you forgot to sign in enough? Get Hotmail Extra Storage today! http://join.msn.com/?PAGE=features/es
_______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86
_________________________________________________________________
Frustrated with dial-up? Get high-speed for as low as $26.95. https://broadband.msn.com (Prices may vary by service area.)
_______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86