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

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



Re: GMiller 2019-01-18 <[🔎] c20aa30233fc536c10aafba518a49ae6.startmail@startmail.com>
> 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.

Hi Garie,

maybe you could put the source package somewhere online so we can have
a closer look. (If it doesn't build, put a tarball of the debian
directory somehere.) Also, include the full build output. Arguing
about short snippets doesn't make much sense because the error might
as well be elsewhere.

If ld complains that "main" is missing, it means that you are trying
to link an executable from a set of .o files that doesn't have a
main() function. In this case, it seems that "set" is empty.

> 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.

Does it compile from the command line, without any dpkg/debian tools?

Christoph


Reply to: