Monthly Archives: June 2023

xrdp on RHEL 7.9

compile error with xrdp version 0.9.18.1 on CentOS 7 #2156

C standard library functions and structures not available when using POSIX API

$ CFLAGS=-std=gnu99 ./configure --prefix=/app/xrdp

#define __USE_GNU
#define __USE_POSIX 

session.c:32:0: error: "__USE_GNU" redefined [-Werror]
 #define __USE_GNU
 ^
<command-line>:0:0: note: this is the location of the previous definition
session.c:33:0: error: "__USE_POSIX" redefined [-Werror]
 #define __USE_POSIX


# ifdef __USE_GNU
extern char *strptime_l (const char *__restrict __s,
                         const char *__restrict __fmt, struct tm *__tp,
                         __locale_t __loc) __THROW;
# endif

# if defined __USE_POSIX || defined __USE_MISC
/* Return the `struct tm' representation of *TIMER in UTC,
   using *TP to store the result.  */
extern struct tm *gmtime_r (const time_t *__restrict __timer,
                            struct tm *__restrict __tp) __THROW;

/* Return the `struct tm' representation of *TIMER in local time,
   using *TP to store the result.  */
extern struct tm *localtime_r (const time_t *__restrict __timer,
                               struct tm *__restrict __tp) __THROW;
# endif /* POSIX or misc */
make[2]: Entering directory `/home/andreas/xrdp-0.9.22.1/common'
  CC       base64.lo
  CC       fifo.lo
  CC       file.lo
  CC       guid.lo
guid.c: In function 'guid_new':
guid.c:36:12: error: missing braces around initializer [-Werror=missing-braces]
     struct guid guid = {0};
            ^
guid.c:36:12: error: (near initialization for 'guid.g') [-Werror=missing-braces]
cc1: all warnings being treated as errors
make[2]: *** [guid.lo] Error 1
make[2]: Leaving directory `/home/andreas/xrdp-0.9.22.1/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andreas/xrdp-0.9.22.1'
make: *** [all] Error 2


make[3]: Entering directory `/home/andreas/xrdp-0.9.22.1/sesman/chansrv'
  CC       chansrv.o
  CC       chansrv_common.o
  CC       chansrv_config.o
  CC       chansrv_fuse.o
  CC       chansrv_xfs.o
  CC       clipboard.o
  CC       clipboard_file.o
  CC       devredir.o
  CC       fifo.o
  CC       irp.o
  CC       rail.o
  CC       smartcard.o
  CC       smartcard_pcsc.o
  CC       sound.o
sound.c: In function ‘process_pcm_message’:
sound.c:1121:21: error: ‘for’ loop initial declarations are only allowed in C99 mode
                     for (int i = 0; i < send_silence_times; i++)
                     ^
sound.c:1121:21: note: use option -std=c99 or -std=gnu99 to compile your code
make[3]: *** [sound.o] Error 1
make[3]: Leaving directory `/home/andreas/xrdp-0.9.22.1/sesman/chansrv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andreas/xrdp-0.9.22.1/sesman'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andreas/xrdp-0.9.22.1'
make: *** [all] Error 2




make[3]: Entering directory `/home/andreas/xrdp-0.9.22.1/sesman'
  CC       access.o
  CC       config.o
  CC       env.o
  CC       scp.o
  CC       scp_v0.o
  CC       scp_v1.o
  CC       scp_v1_mng.o
  CC       sesman.o
  CC       session.o
session.c: In function ‘session_start_fork’:
session.c:981:9: error: implicit declaration of function ‘localtime_r’ [-Werror=implicit-function-declaration]
         localtime_r(&ltime, &stime);
         ^
cc1: all warnings being treated as errors
make[3]: *** [session.o] Error 1
make[3]: Leaving directory `/home/andreas/xrdp-0.9.22.1/sesman'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andreas/xrdp-0.9.22.1/sesman'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andreas/xrdp-0.9.22.1'
make: *** [all] Error 2

Eclipse TE/RSE/TCF

  • TE = Target Management
  • RSE = Remote System Explorer
  • TCF = Target Communication Framework

Root

TM

Target Management Home
TM Developer Documents

ECF

Eclipse Communication Framework (EFC) Project Home

Download

TCF

TCF Target Explorer

Projects

TM & RSE

Eclipse Target Management: Terminal and Remote System Explorer (RSE)

Wiki

TM and RSE FAQ

TM and RSE FAQ

TCF

TCF

EFS

EFS

Forum

TCF

TCF terminology or is it a dead technology for embedded development?

External

TCF

elinux.org/TCF

CORBA

CORBA Common Object Request Broker Architecture
IOP Inter-ORB Protocol
IIOP Internet Inter-ORB Protocol
GIOP General Inter-ORB Protocol
IOR Interoperable Object Reference
RMI Remote Method Invocation
DCOM Distributed Component Object Model
TCP Transmission Control Protocol
SNA Systems Network Architecture (IBM)
IPX (Novell)
OSI
CDR Common Data Representation
ORB Object Request Broker
OMG Object Management Group
UNO Universal Networked Object
DSI Dynamic Skeleton Interface
IDL Interface Definition Language

Java Tutorials

Java Standard: Corba
CORBA AND JAVA
idlj – The IDL-to-Java Compiler
Getting Started with Java IDL
Java IDL: IDL to Java Language Mapping
Java Interface Definition Language, or Java IDL
Getting Started: Hello World

J. M. Joller

CORBA – Heterogene Verteilte Systeme
joller-voss.ch
IEEE Xplore: J. M. Joller, Contraves AG, Glattbrugg, Switzerland

Adresse
Casa LaFoppa
App. 13
Via Alpsu 4
CH-7188 SEDRUN
(erstes Haus links bei
der Dorfeinfahrt talaufwärts)

Kontaktadresse
Fam. Joller-Voss
Sonnenbergstrasse 73
CH-8610 USTER
T : ++41 (0)44 940 60 70
F : ++41 (0)44 940 65 16
email: Heidi Joller-Voss

GitLab, Ansible, Chef, Puppet


GitLab

Tutorial: Create and run your first GitLab CI/CD pipeline

YouTube

GitLab CI/CD | GitLab Runner Introduction | 2022
Learn GitLab in 3 Hours | GitLab Complete Tutorial For Beginners
GitLab CI/CD Full Course released – CI/CD with Docker | K8s | Microservices!
GitLab CI CD Pipeline Tutorial | Introduction | 2022
GitLab CI CD Tutorial for Beginners [Crash Course]
DevOps with GitLab CI Course – Build Pipelines and Deploy to AWS

Documentation


Ansible

YouTube

CI/CD for Ansible Playbooks and Roles
Automated Java Application Deployment using Ansible
What is Ansible?
Ansible for beginners — Complete end-to-end tutorial video with practical solution #ansible #2hrs
Ansible, Rahul Wagh, Playlist
Ansible Roles and Tasks Exaplained – Part-10 – YouTube

Playlists

Ansible, Michael Crilly
Getting started with Ansible, Learn Linux TV

Documentation

Ansible Playbook

What is difference between running the commands ansible and ansible-playbook
Ansible playbooks
What is an Ansible Playbook?
How To Write Ansible Playbooks
How To Define Tasks in Ansible Playbooks

Ansible Tower / Galaxy

Ansible vs Ansible Tower: What are The Key Differences
Difference Between Ansible And Ansible Galaxy – Ansible vs Ansible Galaxy

become

Understanding privilege escalation: become

yum

ansible.builtin.yum module – Manages packages with the yum package manager
Ansible yum Module Tutorial + Examples

apt

ansible.builtin.apt module – Manages apt-packages
How to use the Ansible apt Module to Manage Linux Packages
Ansible apt module Examples – install packages with apt | Devops Junction


Jenkins

YouTube

Complete Real-time Deployment on Kubernetes cluster using jenkins CI/CD final Video | HandsOn Lab.


Comparison

Chef Vs Puppet Vs Ansible

Ansible vs Chef: What’s the Difference?