One sentence in Linux problem (program article)

xiaoxiao2021-03-06  39

--------------------------------------------- ------- 0001 Linux Under debug Core file (bjchenxi) GDB : Error generates an executable of Core Dump. : Core Dump file name, the default is "core" 0002 GCC ABC.C get a.out can't run (bjchenxu) ./a.out 0003 C compiles why error information says COUT is not defined (BJCHENXU) After the include header file, join using namespace std; 0004 new compilation generated GCC, use the standard connection library under / usr / local / lib, but how the default connection path used is / usr / lib added? (In addition to increasing -L / usr / local / lib) (Sakulagi, Hutueworm) (Sakulagi, Hutueworm) (Sakulagi, Hutueworm) (Sakulagi, Hutueworm) (Sakulagy_path = $ LD_LIBRARY_PATH: / USR / local / lib Write ~ / .bash_profile inside. Add a simple approach: add / usr / local / lib to /etc/ld.so.conf, then run the GCC installation of LDConfig 0005 RH9 (a day, hutueworm) Select one: (1 The CD-1: Compat-GCC-7.3-2.96.118.i386.2.96.118.i386.2.96.118.i386.2.96.118.i386.3-2.96.118.186.386.3-2.96.118.i386.rpm CD-1: LIBGCC-3.2. 2-5.i386.rpm CD-2: Compat-GCC-G77-7.3-2.96.118.I386.RPM CD-2: Compat-GCC-Java-7.3-2.96.118.i386.rpm CD-2: Compat -GCC-OBJC-7.3-2.96.118.i386. rpm CD-2: GCC-3.2.2-5.i386.RPM CD-2: GCC-C - 3.2.2-5.i386.rpm CD-2: GCC-G77-3.2.2-5.i386.rpm CD-2: GCC-GNAT-3.2.2-5.i386.rpm CD-2: GCC-Java-3.2.2-5.i386.rpm CD-2 : gcc-objc-3.2.2-5.i386.rpm, such as touched system tips: Warning: GCC-3.2.2-5.i386.rpm: V3 DSA Signature: MoKey Key ID DB42A60E Error: failed dependencies: binutils> = 2.13.90.0.18-9 IS NEEDED by GCC-3.2.2-5 Glibc-We> = 2.3.2-11.9 Is Needed by GCC-3.2.2-5 ... Just install the glibc-debc package, The better method is the better way to select the "Main Menu" -> "System Settings" -> "System Settings" ─> "Development Tool" in X-Window -> "Development Tool" ( 3) UP2DATE GCC automatically solves the Dependency problem 0006 shell script unable to run (god_father) first, script permissions should be the second and script where the script is located in the environment variable PATH, or directly Execute #. / Test.sh

转载请注明原文地址:https://www.9cbs.com/read-63431.html

New Post(0)