Hi!
I was wondering if you ever did resolve this problem because I'm getting the same error message : (
Thanx!
I'm tryng some C exercises in my 3.8.2 knpx, and the follow is an example:
When I try to compile it with "gcc namefile.c" I have the follow error message:/* Program to calculate the product of two numbers. */
#include <stdio.h>
int a,b,c;
int product(int x, int y);
main()
{
/* Input the first number */
printf("Enter a number betwen 1 and 100: ");
scanf("%d", &a);
/* Input the second number */
printf("Enter another number betwen 1 and 100: ");
scanf("%d", &b);
/* Calculate and display the product */
c = product(a, b);
printf ("%d times %d = %d\n", a, b, c);
return 0;
}
/* Function returns the product of its two arguments */
int product(int x, int y)
{
return (x * y);
}
Any suggest? Thanks!/tmp/cc0KOUWj.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
Hi!
I was wondering if you ever did resolve this problem because I'm getting the same error message : (
Thanx!
I can't figure out what appened at the time of this post. I've just tried it right now and it works!!!
I've reinstalled knoppix since that time and maybe there was some strange/wrong settings...
Hi!
I used the command g++ instead of gcc and everything worked! I'm very new to Linux so I'm just trying things out, seeing what happens basically. Thank you for your help![]()
You know, you never mentioned in your first post that you had "installed" Knoppix. Yes, this is the hddinstall forum, but it serves a few others uses too and people here are not always the greatest about using the best forum. You might have received better response if 1) you had spelled out that this was a hard disk "install" and 2) you had also tested the same thing booting from a CD or DVD and told us the result that way too.Originally Posted by maxIT
Sorry HK about that.
I was thinking that posting something in the "Hdd Install...." forum implied by itself that I was talking about an HDinstallation![]()

Lot of 10 Genuine OEM Apple 87W USB-C Power Adapter A1719 for Macbook Pro
$179.99
Genuine Apple Power Adapter Extension Cable 6FT White OEM MacBook MK122LL/A
$10.99
OEM Apple Data Migration Toolkit for A1706 A1707 MacBook Pro PN 076-00236
$549.99
Lot of 100 OEM Apple Magsafe 2 45W AC Adapter A1436 with Power Cable - Grade D
$339.99
Genuine OEM Apple MagSafe 2 45W AC Adapter Charger for Macbook Air 2015 11" 13"
$14.24
OEM 45w T-Tip Power Adapter charger for Apple macbook air 2012-2017 A1436 A1466
$19.99
Apple 40W Dynamic Power Adapter 60W Max for iPhone/iPad/AirPods/MacBooks OEM
$17.99
Genuine OEM 61W USB-C Power Adapter Charger For Apple MacBook PRO 13 inch A1718
$22.00
$6.99
Genuine OEM Apple 70W USB-C Power Adapter
$34.99