Article 5N4PC need to compile program that accesses parallel port on 64-bit kernel

need to compile program that accesses parallel port on 64-bit kernel

by
jon Elson
from LinuxQuestions.org on (#5N4PC)
I have a program that was compiled on an old 32-bit kernel, and was run with libc6-i386 library. I can't figure out what I need to change to get it to compile on Ubuntu 20.04. I have attached the entire c program source.

Thanks in advance for any hints. (I compile with cc -o progsst progsst.c) Attached file is progsst.txt

Jon
Attached Files
txt.gifprogsst.txt (8.6 KB)
latest?d=yIl2AUoC8zA latest?i=m7qPbTZcXJI:TCzt6NuDBU4:F7zBnMy latest?i=m7qPbTZcXJI:TCzt6NuDBU4:V_sGLiP latest?d=qj6IDK7rITs latest?i=m7qPbTZcXJI:TCzt6NuDBU4:gIN9vFwm7qPbTZcXJI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments