-
Hello,
It looks like that Knoppix 6.7.1 is missing the header files in the /usr/include/[bits,gnu,sys] folders.
Copying these folders from Knoppix 6.7.0 fixes it. Gcc/ld may also be missing something in order to
compile 64 bits binaries (the pi benchmark as an example: http://h2np.net/pi/pi_record_e.html)
First the 64 bits libraries need to be installed: "sudo apt-get -y --reinstall install amd64-libs-dev"
and downgrade gcc from 4.6 to 4.4: "pushd /usr/bin; sudo mv gcc gcc.old; sudo ln -s gcc-4.4 gcc; popd".
FYI, trying to use gcc 4.6 (the default) instead of gcc 4.4 (downgrade) provides the following error:
gcc -O2 -pedantic -m64 conftest.c
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.6.1/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.6.1/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
What is the best way to fix gcc/ld 4.6 ?
Best Regards,
Gilles
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Yealink T48S VoIP/SIP Phone, 2 x Gigabit Ports PoE 7" Color SIP-T48S | TESTED
$34.95

Grandstream VoIP Phone Adapter ATA 1-Line Black Ethernet (RJ-45) Micro USB
$27.07

Yealink MP54 - VoIP Phone - Black Teams phone Android POE WIFI Bluetooth
$49.95

Grandstream WP810 Portable Cordless Wi-Fi IP Phone
$49.28

Yealink SIP-T33G IP Phone 4-LineSpeakerphone VoIP Desk Phone Black w/ Power Sply
$25.00

Ubiquiti UniFi Talk UVP-Touch VoIP IP Phone PoE Touchscreen Tested Reset
$64.99

Grandstream HT701 1-Port FXS Analog Telephone Adapter ATA VoIP Gateway -Free S/H
$19.99

Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)
$17.99

Cisco CP-8841 IP Phone Charcoal Handset And Stand Included
$27.99

Poly CCX 400 Desktop Business Media Phone VoIP 2200-49700-019
$49.99