[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#907576. ITP: dream --A Software Digital Radio Mondiale (DRM) receiver



To: Christoph Berg

TNX Christoph,

As you suggested, I did 'dpkg-buildpackage -b', and it quieted the previous errors and warnings.

It now continues down through a long list where 'make' is the first word (I see no object files produced) to the compiler line, which is:

gcc  -g -02  -fdebug-prefix-map=/home/garie/1021/dream-2.2.0-svn1021=. -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro -o dream
/usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-gnu/Scrt1.o:  In function '_start':
(.text+0x20): undefined reference to 'main'
collect2: error: ld returned 1 exit status

I believe the 'ld' here refers to the linker. But there is nothing to link yet.

A bit later it also says the Makefile recipe for target all (and all-recursive) failed.

I am unsure how to interpret the first error. I am not a C++ programmer, but it is my understanding that 'main' can be in any subdirectory in C++. In the Dream source a  'main' file is in the GUI-QT subdirectory. This 'main' file includes two functions 'main',  if this is the 'main' referred above. One is for GUI and one for without. I checked a C textbook I found and it says 'one and only one main' . Why the error?  I do have 'main.cpp' listed in the Makefile.am. I can't believe it would be a bug in system file Scrt1.o. What am I missing?

I might also mention that from previous work it also looks like some of the variable definitions are broken, so I am expecting compiler errors later.

Just for information, Dream is being maintained at SourceForge and has a long history going back about two decades. Yes I read elsewhere that Dream works with RTL. I have an RTL but have not modified it for HF yet. That's on the to do list. My motivation is that this seems to be a generally useful (and mature) app, and it seems that if I don't try it for Debian, no one else will. I'm just learning. We will see if it turns out.

Oh yes. In the ITP I made a statement concerning pulseaudio support. On further review I am satisfied that the statement may be disregarded.

TNX AGN

Garie wb9awa






 


Take back your privacy. Switch to StartMail.com


Reply to: