Jun 19 2006, 11:33 AM
Post
#1
|
|
|
Group: Members Posts: 32 Joined: 29-October 04 Member No.: 5,265 |
I'm currently trying to compile teTeX on my 5500 Zaurus (with OpenZaurus 3.5.4 installed) using the gcc files available from the Opie feed: g++ 3.4.4-r5, g++-sympinks, g++-rc 0.1.9-r1, g77 and etc, gcc and etc, and gcov. I've followed everything according to the teTeX INSTALL instructions, and when I try compiling, I get:
CODE loading cache ./config.cache checking whether make sets ${MAKE}... no checking for gcc... arm-linux-gcc # or whatever I set CC to be checking whether the C compiler (arm-linux-gcc -O -g) works... no configure: error: installation or configuration problem: C compiler cannot create executables. I've tried setting CC to gcc, cc, arm-linux-gcc, and g++, and I get the same results every time. When I tried an even more basic program, hello.cpp, I received the following: CODE root@collie: /media/card/.../tetex-src-3.0 # gcc -O -g hello.cpp hello.cpp: 1: 22: iostream.h: No such file or directory hello.cpp: In function `int main()': hello.cpp: 5: error: `cout' undeclared (first use of this function) hello.cpp: 5: error: (Each undeclared identifier is reported only once for each function it appears in.) hello.cpp: 8: 2: no newline at end of file Since I get similar results when I try to compile hello.c, I'm certain that I need to set variables for certain paths; unfortunately, I have no idea what those varialbes would be, or what paths I need to set! What do I need to do in order to compile things successfully? |
|
|
|
![]() |
Jun 23 2006, 04:08 AM
Post
#2
|
|
![]() Group: Members Posts: 1,376 Joined: 11-January 04 From: Poznań, Poland Member No.: 1,413 |
3-4 weeks or more
|
|
|
|
Jun 23 2006, 04:31 AM
Post
#3
|
|
![]() Group: Members Posts: 2,808 Joined: 21-March 05 From: Sydney, Australia Member No.: 6,686 |
|
|
|
|
snowfarthing Opie-feed Gcc Compile Woes! Jun 19 2006, 11:33 AM
koen QUOTE(snowfarthing @ Jun 19 2006, 07:33 PM)CO... Jun 19 2006, 12:00 PM
snowfarthing This will certainly help! I've already be... Jun 20 2006, 06:32 AM
pgas I guess the minimum would be:
libc6-dev
and
binu... Jun 20 2006, 06:41 AM
snowfarthing I appreciate the information. Unfortunately, I ha... Jun 21 2006, 05:54 AM
asm-nai QUOTE(snowfarthing @ Jun 21 2006, 10:54 PM)I ... Jun 21 2006, 06:32 AM
snowfarthing Unfortunately, they don't work, since they use... Jun 22 2006, 05:40 PM
Hrw pxa2xx machines are arm5, sa11xx are arm4. arm5 ma... Jun 23 2006, 01:24 AM
Meanie QUOTE(Hrw @ Jun 23 2006, 07:24 PM)pxa2xx mach... Jun 23 2006, 02:44 AM
Hrw Have spare one? Jun 23 2006, 05:52 AM
Meanie QUOTE(Hrw @ Jun 23 2006, 11:52 PM)Have spare ... Jun 23 2006, 07:29 AM
snowfarthing Just yesterday I got a laptop (Pentium, 48 Meg, no... Jun 28 2006, 05:51 PM
snowfarthing Oops! The attachment didn't stick. Here ... Jun 28 2006, 05:53 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 21st May 2013 - 09:06 PM |