Issue compiling software using Xfce terminal

Hello,

I have a lot of problems doing compilations with the default ‘prompt’ type in Manjaro Xfce4 terminal:

[won@won-hpprobook455156inchg10notebookpc ~]$ cat ~/.bashrc | grep PS1
# Set colorful PS1 only on colorful terminals.
		PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '
		PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] '
		PS1='\u@'\W \' '
		PS1='\u@won-hppro '
[won@won@won-hpprobook455156inchg10notebookpc ~]$

These brackets paralyze the process at some point diring compilation giving me errors and I’m not an experienced user, so I need help to change it to the ‘normal’ or simple form that it had before, without those brackets.
In other times it would have looked like this:

won@won-hpprobook455156inchg10notebookpc ~$

and I could do the compilations without any problem.

Thanks for any help!

[won@won-hpprobook455156inchg10notebookpc ~]$ inxi -v7azy
System:
  Kernel: 6.10.13-3-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.10-x86_64
    root=UUID=37d3c7e4-92bd-4f92-88d6-cd241a1969da rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
    with: xfce4-panel tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0
    Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP ProBook 455 15.6 inch G10 Notebook PC
    v: SBKPF serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: HP model: 8B5C v: KBC Version 53.24.00 serial: <superuser required>
    part-nu: 7P3B4UT#ABA uuid: <superuser required> UEFI: HP v: 78 Ver. 01.04.01
    date: 11/10/2023
Battery:
  ID-1: BAT0 charge: 34.4 Wh (79.3%) condition: 43.4/42.8 Wh (101.4%)
    volts: 12.2 min: 11.4 model: Hewlett-Packard Primary type: Li-ion
    serial: <filter> status: not charging cycles: 1
Memory:
  System RAM: total: 16 GiB available: 14.94 GiB used: 2.42 GiB (16.2%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB slots: 2 modules: 1 EC: None
    max-module-size: 32 GiB note: est.
  Device-1: Bottom-Slot 1(left) type: no module installed
  Device-2: Bottom-Slot 2(right) type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: Samsung
    part-no: M471A2G43CB2-CWE serial: <filter>
CPU:
  Info: model: AMD Ryzen 7 7730U with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 3 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000F
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
    desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 400 min/max: 400/4546 scaling: driver: amd-pstate-epp
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400
    8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400 15: 400 16: 400
    bogomips: 63918
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de debug_swap decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
    pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
    skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
    svm svm_lock syscall tce topoext tsc tsc_scale umip user_shstk v_spec_ctrl
    v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
    xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves xtopology
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; IBRS_FW;
    STIBP: always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not
    affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Barcelo vendor: Hewlett-Packard
    driver: amdgpu v: kernel arch: GCN-5 code: Vega process: GF 14nm
    built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s ports: active: eDP-1 empty: DP-1,DP-2,HDMI-A-1
    bus-ID: 04:00.0 chip-ID: 1002:15e7 class-ID: 0300 temp: 57.0 C
  Device-2: Quanta HP HD Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4:3 chip-ID: 0408:5483
    class-ID: fe01 serial: <filter>
  Display: x11 server: X.org v: 1.21.1.13 compositor: xfwm4 v: 4.18.0 driver:
    X: loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0.0 note: <missing: xdpyinfo/xrandr>
  Monitor-1: eDP-1 model: ChiMei InnoLux 0x1512 built: 2019 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6") diag: 394mm (15.5")
    ratio: 16:9 modes: max: 1920x1080 min: 640x480
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.4-arch1.0.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir
    LLVM 18.1.8 DRM 3.57 6.10.13-3-MANJARO) device-ID: 1002:15e7
    memory: 500 MiB unified: no
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition
    Audio driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] ACP/ACP3X/ACP6x Audio Coprocessor
    vendor: Hewlett-Packard driver: N/A alternate: snd_pci_acp3x,
    snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci,
    snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt,
    snd_sof_amd_vangogh, snd_sof_amd_acp63 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.5 chip-ID: 1022:15e2
    class-ID: 0480
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h HD Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 04:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.10.13-3-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 2000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp1s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter
    driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 02:00.0
    chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp2s0 state: down mac: <filter>
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-3:2 chip-ID: 0e8d:223c
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: not found
    rfk-block: hardware: no software: no address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 16 GiB (3.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: WD PC
    SN740 SDDPNQD-512G-2006 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: HPS1 temp: 30.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 39.06 GiB size: 38.15 GiB (97.67%) used: 15.9 GiB (41.7%)
    fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6 label: MANJARO
    uuid: 37d3c7e4-92bd-4f92-88d6-cd241a1969da
  ID-2: /boot/efi raw-size: 1.49 GiB size: 1.48 GiB (99.80%)
    used: 108.4 MiB (7.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: D275-92B4
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 1.37 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: 9351e9e9-3160-4ce3-90e8-cc29b04704bc
Unmounted:
  ID-1: /dev/nvme0n1p3 maj-min: 259:3 size: 39.06 GiB fs: ext4 label: FEDORA
    uuid: 8ec3c9f2-5f25-4bd7-87cc-304b50d0064a
  ID-2: /dev/nvme0n1p4 maj-min: 259:4 size: 35.64 GiB fs: ext4 label: N/A
    uuid: 5b30b3df-70da-4a8f-b83e-b5cdac6b1211
  ID-3: /dev/nvme0n1p5 maj-min: 259:5 size: 39.06 GiB fs: ext4
    label: TUMBLEWEED uuid: 11ed9a1f-63f6-4033-bec1-f6ea396e938a
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:2 info: MediaTek Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 0e8d:223c class-ID: e001 serial: <filter>
  Device-2: 1-4:3 info: Synaptics type: <vendor specific> driver: N/A
    interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1
    power: 100mA chip-ID: 06cb:00f0 class-ID: ff00 serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-1:2 info: Areson Corp 2.4G Receiver type: keyboard,mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 25a7:fa67 class-ID: 0301
  Device-2: 3-4:3 info: Quanta HP HD Camera type: video driver: uvcvideo
    interfaces: 3 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 500mA chip-ID: 0408:5483 class-ID: fe01 serial: <filter>
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 65.4 C mobo: 36.0 C gpu: amdgpu temp: 57.0 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 328 Power: uptime: 3h 7m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 5.96 GiB services: upowerd,xfce4-power-manager Init: systemd v: 256
    default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1169 libs: 350 tools: octopi,pamac,yay
    pm: flatpak pkgs: 0 Compilers: gcc: 14.2.1 Shell: Bash v: 5.2.37
    running-in: xfce4-terminal inxi: 3.3.36
[won@won-hpprobook455156inchg10notebookpc ~]$

That’s not how you do it.
You simply did put your stuff in the wrong place - right after the beginning of that comment.

That’s not how it is done.

Read a bit further down.
You’ll find this part:

 if [[ ${EUID} == 0 ]] ; then
                PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '
        else
                PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] '
fi

There you can change it - first PS1 is when you are root
( if [[ ${EUID} == 0 ]]) - the color is different - its red instead of green

the second PS1 is your normal prompt in green

but it’s not the best place to do this.

Comment out what you changed
(put a # in front of the lines you inserted) -
or remove them.

You may not like the look of the default prompt as it is defined there -
but there are zero problems with it anywhere any time.

What you have created here is simply not the default prompt anymore. :man_shrugging:

You broke the script … by inserting your stuff at … a random place.
No wonder if there are “problems”.

1 Like

I just put the command in the terminal in order to give some information:

$ cat ~/.bashrc | grep PS1

Believe me I haven’t done anything to change anything, so I assumed this was the ‘default’ way …

– as I say I’m not an experienced user and before I do anything …

I would like you please confirm if what I put in the screenshot bellow is correct.

Is this the change you indicate I must to do in this case?:

Thank you for your patience.

but you said / you wrote
that you did this:

Now I’m confused.

Did you put those lines in there or not?

If you did:
undo it!

What did you do (or not)?

re your picture:
yes - that is the place where you could actually define a different prompt


I have not looked up how to properly adapt PS1 without messing about with ~/.bashrc
There are ways to do it without needing to edit that file
and still changing the PS1

I have played with it years ago - and forgot in the mean time what I did.

Bash is well documented …

Sorry, it is probably my “Inglish” no i did not changed anything, I just put that command at the terminal with the intention of describing the issue but did nothing.

yes - that is the place where you could actually define a different prompt.

Well i will change the prompt … and I will comeback later to let you know if everything is fine, thanks.

keep in mind - and look it up:

I can only hint at it at the moment -
I know there are easy ways to change the $PS1, but I could not tell you without researching it myself
and then telling you the result.

I’d rather not do that - since I myself don’t actually want to know right now -
but you do.

I’d rather have you do that research. :sunglasses:

Of course adapting the ~/.bashrc script directly will work, too

It just may not be the most elegant thing … :man_shrugging:

I already did the change, there is a problem:

bash: /home/won/.bashrc: línea 75: error sintáctico cerca del elemento inesperado `else'
bash: /home/won/.bashrc: línea 75: `	else'
[won@won-hpprobook455156inchg10notebookpc ~]$

No, I don’t have any idea of how to do any “research” for myself …

revert your change :man_shrugging:
what else can I say? -
undo what you did to get back to where you started - then try again …

that is a problem I cannot and will not help you with

it would impede or stifle your actual learning process
if I where to research for you and get you the result

I’m not going to do it. :man_shrugging:

It would take about two minutes (for me) -
and another ten on top of it to document it here … so you could follow it

but that is by drawing on my experience and memory.

You need to build your own knowledge base.

There is no problem at all with the default PS1 in any Manjaro edition. :man_shrugging:

1 Like

OK, I’m back at the beginig of all this …

Maybe then I should open a thread to show how inconvenient it is when compiling …

Where should I open a new thread about the compilation problem and the new prompt, is it fine here in the xfce4 subforum?.

Thanks

No idea.
Pick one that you deem right - the moderators will move it or tell you about it.

Why being so vague?
What compilation?
What problems?

What has compilation to do with the command line prompt?
(that was a rhetorical question - the answer is: nothing)

Have you heard of a XY problem?

… google the term …

I guess the real question is:

What is it that you want to achieve in the end?

Looking at your original post, this line

PS1='\u@'\W \' '

looks very odd with mis-matched quotes, and is probably meant to look more like

PS1='\u@\W '

But as @Nachlese says, start with a clear description of what you want to do, rather then the currently failed attempt to do… something.

2 Likes

All what I need to do is to be able to compile … but these brackets …

[won@won-hpprobook455156inchg10notebookpc ~]$ cd Descargas
[won@won-hpprobook455156inchg10notebookpc Descargas]$ ls
CHESS-DOWNLOADS                     peshkasetup.exe
Flat-Remix-GTK-Brown-Darkest-Solid  pexels-photo-2055389.jpeg
midori                              scid_vs_pc-4.25
midori-11.3.3.linux-x86_64.tar.bz2  STARTDICT
[won@won-hpprobook455156inchg10notebookpc Descargas]$ cd CHESS-DOWNLOADS
[won@won-hpprobook455156inchg10notebookpc CHESS-DOWNLOADS]$ ls
Caissabase_2022_12_24  phalanx-XXIII-win32      ShashChess-36
Fischer.pgn            phalanx-XXIII-win32.zip  stockfish
Obsidian-13.0          scid_vs_pc-4.25
[won@won-hpprobook455156inchg10notebookpc CHESS-DOWNLOADS]$ cd stockfish
[won@won-hpprobook455156inchg10notebookpc stockfish]$ make -j profile-build ARCH=x86-64-avx2
make: *** No hay ninguna regla para construir el objetivo 'profile-build'.  Alto.
[won@won-hpprobook455156inchg10notebookpc stockfish]$ LANG=C make -j profile-build ARCH=x86-64-avx2
make: *** No rule to make target 'profile-build'.  Stop.
[won@won-hpprobook455156inchg10notebookpc stockfish]$

EDIT:

I forgot ‘cd src’

Sorry I made a mistake

Thanks

Does that mean there is no longer any problem? If so, then that is good news.

What are you trying to do that apparently isn’t working as you expect?

stockfish is a chess engine - easy to install … via AUR

It has got absolutely nothing to do with the default prompt PS1.

In this case, with stockfish i made a mistake – let me check if it is the same with the rest of the others motors, I will let you know later.

Yes I know there are some of them at AUR but I prefer to do it by myself …

… not ideal when you have the AUR option
but then again:
you are free to do whatever you want to do

still:
What are you trying to do?

compile yourself somehow, probably

Why?

AUR is doing the same thing - but better …
People have done that before you - and have created recipes (PKGBUILD) on how to do it.

You are still free to do it all for yourself.

Don’t wonder or complain when the result doesn’t integrate with the system …

Well I must to apologize for saying that it had something to do with ‘prompt’, nothing to do with …

Unbelievable that for two days I have been dealing with this issue and I have been omitting a step in the compilation without realizing it (src), I am already 71 years old I hope you will excuse me …

Don’t wonder or complain when the result doesn’t integrate with the system …'.

There is no problem with that, it’s just that sometimes they are late in making the new updates and curiosity drives me to hurry and see what are the new changes in the chess engines …

Thank you again for your patience and I hope you will excuse me,

Best regards!

It’s all good my slightly older friend.
58 years here - people, when asked, say: about 45 :sunglasses:
but that is just the apparent looks …

Cheers!

ps:

perhaps I’ll get you the method to change the PS1
may take me a few days to get to do the research and then summarize the result
(I need to verify that what I say is actually going to do what I say it will be doing)

but:
the PS1 … just isn’t / wasn’t your problem here :man_shrugging:

How you where trying to do what you where trying to do … was the problem.

The -j option is for multiple jobs for parallel compliation, are you sure you are calling make properly for this?

The man page for make says

If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously.

so that part of the command is probably fine - make probably makes sensible choices about what to run simultaneously.