Xilinx / Xilinx/embeddedsw

Makefile does not work

Open
#85 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

THIS Makefile does not work. After assigning the C compiler (petalinux-v2018.3/tools/linux-i386/aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc) make does this:

echo "Compiling axidma"
Compiling axidma
aarch64-linux-gnu-gcc -I../../../include *.c
In file included from xaxidma_bd.h:114:0,
from xaxidma_bd.c:61:
xaxidma_hw.h:64:10: fatal error: xil_types.h: No such file or directory
#include "xil_types.h"
^~~~~~~~~~~~~

etc. etc...

Pain in the rear here...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Makefile and the axidma sources referenced in the error; reproduce the command after assigning the aarch64 compiler and inspect how xil_types.h is expected to be provided. Done means make completes the axidma compilation without the reported missing-header error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.