[prog] gcc can't compile

Noir acknak_halflife at yahoo.co.uk
Sat Sep 25 09:38:10 EST 2004


I been trying to compile some files in gcc (g++) but
it's giving me error.

I have 3 files: main.cpp, customer.cpp and customer.h

Input: g++ -c customer.cpp
Output: customer.o

Input: g++ -c main.cpp
Output: main.o

Input: g++ main.o customer.o -o test1
Output: test1

Input: ./test1
Output [Error]: ./test1: /usr/lib/libgcc_s.so.1:
version 'GCC-3.3 not found (required by
/ysr/local/lib/libstdc++.so.6

GCC version: 3.4.0 (latest)
OS: Slackware 9.1
kernel: 2.4.22

The program works fine under OpenBSD 3.5 with GCC 2.9!




	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com


More information about the Programming mailing list